Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 03-26-2006, 12:19 AM   #1
Registered: Jan 2006
Posts: 44

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


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, 02:55 AM   #2
Senior Member
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,138

Rep: Reputation: 166Reputation: 166
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:
$ mail -s 'Test message' oracle
Here's a test message
Old 03-26-2006, 04:55 AM   #3
Registered: May 2005
Location: Australia
Distribution: SUSE 10.1
Posts: 62

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


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 06:06 PM
Help please - "#exec cmd" stops working after downloading to Windows crabjoe Linux - Newbie 3 02-15-2006 01:08 PM
How to quit Windows and switch to Linux or OS X webvandals Linux - News 6 12-22-2004 05:18 AM
Using Sed under CMD.exe (windows) Burgin Programming 5 11-26-2004 02:17 PM
Ximian has quit sending mail... help? Trogdor Linux - Software 0 12-31-2003 05:28 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:13 PM.

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