root: ~$ uname -a Linux workstation4 2.0.34 #1 Tue Jun 23 02:10:50 EDT 1998 i686 unknown # /etc/bashrc # System wide functions and aliases # Environment stuff goes in /etc/profile # 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="[\u@\h \W]\\$ " PS1="\u@\h \w:\# > " # 10/2/98 '\w' shows current working directory alias which="type -path" alias ls="ls -F" alias ll="ls -alF" alias la="ls -aF" =================================================== root: ~$ more .bashrc # .bashrc # User specific aliases and functions alias rm='rm -i' alias cp='cp -i' alias mv='mv -i' alias ll= 'ls -alF' # Source global definitions if [ -f /etc/bashrc ]; then . /etc/bashrc fi =================================================== [root@workstation5 /]# more /etc/bashrc # /etc/bashrc # System wide functions and aliases # Environment stuff goes in /etc/profile # 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="[\u@\h \W]\\$ " ============== [root@workstation5 /]# more /etc/bashrc # /etc/bashrc # System wide functions and aliases # Environment stuff goes in /etc/profile # 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="[\u@\h \W]\\$ " =================================================== =================================================== ===================================================================== john meister sr CAD sys admin, Clearview Consulting http://www.wagoneers.com/ john@wagoneers.com http://www.wagoneers.com/UNIX/Courses.html ===================================================================== ...be thou neither a sender nor receiver of attachments... ...if thou usest a microsoft operating system or email program... =====================================================================