LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-26-2006, 01:19 AM   #1
sathish80
Member
 
Registered: Jan 2006
Posts: 44

Rep: Reputation: 15
How to quit mail from cmd windows


Hi,

I am login as root user and created a new user, i want to send mail to user1 after i typed the messgae in command window how should i quit
 
Old 03-26-2006, 03:55 AM   #2
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,125

Rep: Reputation: 164Reputation: 164
If you mean that you started an email with the mail command, typed your message and then wanted to exit the mail command, try typing a '.' by itself on a line and pressing the return key. The mail should respond with an EOT and exit. Here's an example:
Code:
$ mail -s 'Test message' oracle
Here's a test message
.
EOT
 
Old 03-26-2006, 05:55 AM   #3
jacobselvin
Member
 
Registered: May 2005
Location: Australia
Distribution: SUSE 10.1
Posts: 62

Rep: Reputation: 15
Type q in the mail prompt.
Cheers.
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
equivalent Linux command for windows start cmd alix123 Programming 4 11-16-2008 07:06 PM
Help please - "#exec cmd" stops working after downloading to Windows crabjoe Linux - Newbie 3 02-15-2006 02:08 PM
How to quit Windows and switch to Linux or OS X webvandals Linux - News 6 12-22-2004 06:18 AM
Using Sed under CMD.exe (windows) Burgin Programming 5 11-26-2004 03:17 PM
Ximian has quit sending mail... help? Trogdor Linux - Software 0 12-31-2003 06:28 PM


All times are GMT -5. The time now is 07:02 PM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration