January 14, 2003
Standard Solaris .profile [ Software ]
What's a good standard Solaris root .profile? If you administer or build a lot of machines, this is something handy to keep around. Here's an example - I use this as a starting point for my boxes.
# /root/.profile for root@hostname
# Report what the terminal's set at, let the user change if necessary
eval ` tset -s -Q -r -m :?${TERM} `
# Set up VISUAL, EDITOR for crontab editing
VISUAL=/bin/vi
EDITOR=${VISUAL}
# Set up a prompt
PS1="root@`/usr/bin/hostname`# "
# Export all the above
export VISUAL EDITOR PS1
# eof
Posted by edobbs at January 14, 2003 11:49 AM
Original content copyright ©1995-2006 Eric Dobbs, except where otherwise noted.
