From 58acc5db72e23188cbf0166eb543ae699b66d2ff Mon Sep 17 00:00:00 2001 From: ahriman Date: Wed, 2 Jan 2019 05:24:28 +0000 Subject: wiki structure completed --- wikipages/unixprotips.wiki | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 wikipages/unixprotips.wiki (limited to 'wikipages') diff --git a/wikipages/unixprotips.wiki b/wikipages/unixprotips.wiki new file mode 100644 index 0000000..81e8972 --- /dev/null +++ b/wikipages/unixprotips.wiki @@ -0,0 +1,24 @@ +

UNIX ProTips

+

I realized today I wasn't getting mail notifications, and I hadn't +set them up on this shell. So here are some things I do on my +local machine that work here:

+

To get the shell to tell you when you have new mail, after command +executions, add this to your .profile

+ +

export MAILCHECK=0

+ +

And, if you want, you can have a persistent notification when you +have un-incorporated mail, or more specifically, when your +/var/mail/<username> isn't empty.

+ +

PS1="\$([-s /var/mail/`whoami` ] && echo '* ')$PS1"

+ +

This works in /bin/ksh, I can't speak for other shells.

+ +

If anybody else has some quick tips they would like to share, I +encorage them to edit this page.

+ +

Happy Unixing!

+

~xvetrd

+ +Back to Wiki -- cgit 1.4.1-2-gfad0