How can I send an email from the command line?

Dennis Kaarsemaker dennis at kaarsemaker.net
Sun Feb 13 20:52:55 UTC 2005


On Sun, 2005-02-13 at 18:34 +0000, Neil Woolford wrote:
> PPS  Yes, I know I could make that grep work harder to extract just
> the 
> numbers, and I should pass
> a parameter to ifconfig so that it only returns the dialup section.
> Maybe 
> later tonight?

$(ifconfig ppp0 | grep 'inet addr' | cut -d: -f2 | cut -d' ' -f2)
-- 
Dennis K.
  And that's the way the cookie crumbles!





More information about the ubuntu-users mailing list