SIMPLE PS1
############

# Setting PS1 to this (these are the defaults for distros like Red Hat):
[\u@\h \W]\$

# To set it:
echo PS1='[\u@\h \W]\$'

# Example:
[user@hostname workingdir]#

# So if your on a system called "server1" as user "user1" in a folder called /etc/samba

# Then your prompt will be:

[user1@server1 samba]$

# or:

[user1@localhost samba]$

 

Leave a Reply

Your email address will not be published. Required fields are marked *