Linux_001 _ basic operations

Source: Internet
Author: User

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.

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.