LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 11-30-2001, 11:49 PM   #1
Sathe
Member
 
Registered: Sep 2001
Location: Bryan, Ohio USA (Home of the Etch-A Sketch)
Distribution: RedHat 7.1, 7.2, and 7.3
Posts: 76

Rep: Reputation: 15
sending an attachment


i'm trying to make a cron job that will email me my dynamic ip address daily.
I've found that if i do this : IFCONFIG>MYIP.TXT
i can make it into a text file, is there a way i can send that out as an attachment?

or does anyone know of a way i can do this in one line??
 
Old 12-02-2001, 03:39 PM   #2
Sathe
Member
 
Registered: Sep 2001
Location: Bryan, Ohio USA (Home of the Etch-A Sketch)
Distribution: RedHat 7.1, 7.2, and 7.3
Posts: 76

Original Poster
Rep: Reputation: 15
nevermind, i got it to do what i wanted

ifconfig eth0 | mail username@localdomain.localhost

Thanks to everyone for their replies!

Just kidding, i've gotten a lot of really great help here!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Sending an attachment from a command line RonnyNussbaum Linux - Software 12 06-04-2007 11:47 AM
command-line for sending email with attachment? enemorales Linux - Software 3 10-06-2004 08:04 AM
Sending file attachment with Sendmail aurelio26 Linux - Newbie 2 09-17-2004 12:36 AM
mail with attachment joseph Linux - Networking 1 08-31-2003 10:01 PM
qmail attachment size? IceNineJon Linux - Software 3 08-25-2002 02:55 PM


All times are GMT -5. The time now is 03:50 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration