Dave's Brain

Browse - computer tips - user friendly prompt in mailx

Date: 2009mar20
OS: Linux

Q.  How get I get a better indication that I am in the Linux mail program?

A.  The very basic command line mail program (Mailx) is useful because its
always there.  But it has no prompt by default.  Adding:

	set prompt='mail> '

to the config file /etc/mail.rc
or your personal config file ~/.mailrc

Makes it a bit more user friendly.

By the way here's a crash course on how to use it:


	. <enter>	will display the current message
	h <enter>	will display a page of headers
	<number> <enter> 	will display message <number>
	q <enter>	will get you out

What this info useful to you? You can donate to say thanks

Add a comment

Sign in to add a comment
Copyright © 2008-2012, dave - Code samples on Dave's Brain is licensed under the Creative Commons Attribution 2.5 License. However other material, including English text has all rights reserved.
Advertisements: