The command prompt indicates the status of the current terminal [email protected]:~ $book: The user name of the current login www.100ask.org means: hostname ~ means: The current directory ~ means: Home directory $ means: User prompt if the root administrator, display If it is a normal user, the display $@ is a connector, used before and after: is also a connector, the connection before and after the command prompt display: 1. User name of the currently logged on 2. The user's current path the composition of the Linux command command options parameter parameters Command (MUST) option (not required) parameter (not required) lsls-lls-l/home option and parameter depends on how many commands you can see with the man by man, such as the man LS entry stage, the-l,-a,-h of the LS command;
This article from "Van Gogh said my brain is sick" blog, declined reprint!
Linux command prompt