Hello,
I have a suggestion, what if I make the shell prompt a little bit
pretty?
My shell prompt is like this (colorful):
Today is Fri Jan 12 at 01:14:20. Computer is serving
piranha@securefirewall.
[~]$
with /etc/bashrc lines:
PS1="\n\[\033[1;34m\]Today is \[\033[1;33m\]\d \[\033[1;34m\]at
\[\033[1;33m\\t. \[\033[1;34m\]Computer is serving
\[\033[01;37m\]\u@\h\\[\033[0m\].\
\[\033[01;36m\]\n[\w]\\$ \[\033[0m\]"
I attached /etc/bashrc in the attachment (since Netscape will likely
break the line if it's more than 70 characters per line). Let me know if
it's useful or not.
Thank you,
Prana
--
Prana <[EMAIL PROTECTED]>
http://www.cyest.org
My GnuPG Key ID: 0x33343FD3 (2000-07-21)
Key fingerprint = F1FB 1F76 8866 0F40 A801 D9DA 6BED 6641 3334 3FD3
http://blackhole.pca.dfn.de:11371/pks/lookup?op=get&search=0x33343FD3
# /etc/bashrc
# System wide functions and aliases
# Environment stuff goes in /etc/profile
if [ -z "$PROFILE_LOADED" -a -e /etc/profile ]; then
. /etc/profile
fi
unset PROFILE_LOADED
# For some unknown reason bash refuses to inherit
# PS1 in some circumstances that I can't figure out.
# Putting PS1 here ensures that it gets loaded every time.
PS1="\n\[\033[1;34m\]Today is \[\033[1;33m\]\d \[\033[1;34m\]at \[\033[1;33m\\t.
\[\033[1;34m\]Computer is serving \[\033[01;37m\]\u@\h\\[\033[0m\].\
\[\033[01;36m\]\n[\w]\\$ \[\033[0m\]"