Linux_001 _ basic CentOS operations open the folder Edit-& gt; Preferences-& gt; Behavior-& gt; AlwaysopeninbrowserwindowsShell in the same window. There are two GUI types: CLI and GUI: GNOMECLI: BASH1. user $: common user #: root user su-, switch to root use Linux_001 _ the most basic operation CentOS open the folder in the same window
Edit-> Preferences-> Behavior-> Always open in browser windows Shell is divided into CLI and GUI: GNOMECLI: BASH 1. user $: common user #: root user su-, switch to root user sudo run command id to display current user information passwd change current user password 2. system Information hostname: displays the current host name uname, displays the current operating system name uname-r, version number uname-a, all information uname -- all, all information 3. the basic command ls is used to display files in the current directory, such as windows's dirclear, clear screen, and windows cls 4. job management firefox, open firefox Ctrl + C, end the current command firefox &, Open firefox in the background, the command line can continue to use pause a program, Ctrl + Zjobs after displaying the job bg symbol Run the fg symbol on the platform. 5. the wildcard * matches zero or multiple? Match any character [0-9] match a number range [abc] match list any character [^ abc] match list other than character 6. automatic completion Tab: the command or file name is automatically completed twice. Tab: displays possible commands or file names. 7. history !! Repeat the previous command! Repeat the previous command starting with "character! Num executes the command according to the sequence number of the history record !? Abc commands that contain abc are repeated! -N: the command Ctrl + R used to repeat n commands to search for historical records (this is more common than history) 8. get help -- help (easy to use) or-h man ls to view the ls manual. then, Press/-a to search for-a info, which is more detailed than man. the usage is similar to man.
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.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service