PS1 = '[/[/033 [01; 32 m/]/h:/[/033 [01; 34 m/]/W/[/033 [00 m/]/$'A brief explanation:The useful information is as follows:PS1 = '[/h:/W]/$'/H display the current host name/W display the current directory/$ Prompt[] For beautyThe result is as
PS1 & amp; #39; [/[/033 [01; 32 m/]/h:/[/033 [01; 34 m/]/W/[/033 [00 m/]/$ & amp; #39; a simple explanation: the useful information in the question is: PS1 = & amp; #39; [/h:/W]/$ & amp; #39; /h display the current host name/W display the current
On the first, straight hit Linux:12 asked 1. What is Linux? Linux is an exotic operating system that is born on the web, growing up on the web, and ripe for networking. In the 1991, Finnish college student Linus Torvalds The idea of developing a
1. PS1: (set the prompt character)
This is interesting. You can customize your own prompt;
Every time we press the [enter] key to execute a command, the prompt character will appear again, and we will take the initiative to read the variable
Basics of Linux Learning
1, what is Linux?
To be exact, the Linux kernel (the core program of the system), whose kernel copyright belongs to Linus Torvalds, is issued under the GPL (GNU general public License) Copyright Agreement, and anyone can
We use the Linux system when the most contact is its command-line window, many times we need to enter commands on the command line, before the input command will have a prompt, the general system default prompt form is:
[[Email protected]
When you open a Shell terminal in a Linux environment, you will see a Bash prompt similar to the following in the command line: [[email protected] $host ~]$ do you know that the command line prompt can actually be set to add many very useful
Install and use the next-generation Input Method ibus Deb package in Ubuntu 8.10 To download _ Ubuntu, Linux, ibus input method, Pinyin, five pens, and sogou
Common Input Methods in Linux include fcitx and scim. Fcitx, full name: "Free Chinese Input
How to make FTP settings under Linux
How ECS Linux servers configure Web sites and bind domain names
Ubuntu installation Vncserver to achieve graphical access
Aliyun Docker Mirror Library
Add FTP users to ECS Linux and set appropriate
Linux Learning Basics1. What is Linux?Accurately speaking, refers to the Linux kernel (core program of the system), its core copyright belongs to Linus Torvalds, under the GPL (GNU general public License) under the Copyright agreement, anyone can
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.