Modify Your Command Prompt You may find that you want to modify
the prompt. This can help you create visibility for special
features or just modify it to something more useful. You can
view the default settings for the prompt by using this command:
As stated above it will show user, hostname, location and
definition whether it is a normal user or root. Create a single
character The space behind the $ is enforced by placing the
quotes so it does not run into your text. The $ is typically
used to show that it is a normal user not the root user
indicated by the “#”. Change options for the prompt \d : the
date Weekday Month Date format \h : the hostname up to the first
‘.’ \A : the current time in 24-hour HH:MM format \u : the
username of the current user \w : the current working directory,
with $HOME abbreviated with a tilde \$ : if the effective UID is
0, a #, otherwise a $ Create a colored prompt You may want to
create a color prompt that you can use for visibility. In this
example the hostname has been droppe