diff options
author | ahriman <ahriman@falte.red> | 2019-01-02 05:24:28 +0000 |
---|---|---|
committer | ahriman <ahriman@falte.red> | 2019-01-02 05:24:28 +0000 |
commit | 58acc5db72e23188cbf0166eb543ae699b66d2ff (patch) | |
tree | 591f4574b914ff4675602ed4eb7094ffcb14151d /wikipages/unixprotips.wiki | |
parent | 6f3926683e55d61f4325e25dd7fc849127fb835a (diff) | |
download | site-58acc5db72e23188cbf0166eb543ae699b66d2ff.tar.gz |
wiki structure completed
Diffstat (limited to 'wikipages/unixprotips.wiki')
-rw-r--r-- | wikipages/unixprotips.wiki | 24 |
1 files changed, 24 insertions, 0 deletions
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 @@ +<h2>UNIX ProTips</h2> +<p>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:</p> +<p>To get the shell to tell you when you have new mail, after command +executions, add this to your <code>.profile</code></p> + +<p><code>export MAILCHECK=0</code></p> + +<p>And, if you want, you can have a persistent notification when you +have un-incorporated mail, or more specifically, when your +<code>/var/mail/<username></code> isn't empty.</p> + +<p><code>PS1="\$([-s /var/mail/`whoami` ] && echo '* ')$PS1"</code></p> + +<p>This works in /bin/ksh, I can't speak for other shells.</p> + +<p>If anybody else has some quick tips they would like to share, I +encorage them to edit this page.</p> + +<p>Happy Unixing!</p> +<p>~xvetrd</p> + +<a href="/wiki">Back to Wiki</a> |