Linux prompt
时间: 2023-10-28 13:39:37 浏览: 82
Linux命令
The Linux prompt is the text that appears in the terminal indicating that the system is ready to receive commands. By default, the prompt in Linux usually displays the current username, the hostname of the system, and the current working directory. The prompt can be customized by changing the value of the PS1 environment variable. Some examples of Linux prompts are:
- [username@hostname current_directory]$
- username@hostname:~$
- [username@hostname /path/to/current/directory]#
In general, the Linux prompt provides a quick and efficient way for users to interact with the system and execute commands.
阅读全文