Very hard to accept the terminal name is too long

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:
Here Insert Picture Description

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>

Guess you like

Origin blog.csdn.net/appleyuchi/article/details/91344645