LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (http://www.linuxquestions.org/questions/linux-general-1/)
-   -   sanding mail from the command line (http://www.linuxquestions.org/questions/linux-general-1/sanding-mail-from-the-command-line-44303/)

juanb 02-06-2003 06:05 AM

sanding mail from the command line
 
Hi everyone

I work with RH 7.3. I want to know how I can make dns querys from the command line ?

also how can I sand mail from the command line to any one In the world?

thanks

Noerr 02-06-2003 06:17 AM

for dns use
dig yourserver.com

for mail you can use pine which isn't really comandline but it's nice and usefull for console

acid_kewpie 02-06-2003 11:52 AM

of just use the "mail" command:

echo hello i am an email | mail -s "test email" someone@somwhere.com


All times are GMT -5. The time now is 11:00 AM.