Linux_001 _ basic CentOS operation open a 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.