Environment:
ubuntu18.10
Modified ~ / .bashrc
and smaller near the PS1 w all into the inside of the upper case W
PS1 is the variable effect setting command prompt, there are three positions in the value set PS1 ~ / .bashrc in the following figure:
Briefly explain the meaning of each parameter:
\ u current user name
\ h current computer name (such as Ubuntu)
\ H domain throughout the current computer, such as ( ubuntu.ubuntu.com )
\ w the full path to the current directory
\ W current directory
$ for the average user $, root user is>