Linux entry level common commands 20-piece finishing _linux

Source: Internet
Author: User
1. Man provides help for commands you are familiar with or unfamiliar with. Eg:man LS allows you to view LS-related usage

2. LS View directory or file

3. CP Copy File

4. RM Delete files and directories

5. MV Remove the catalogue or change the filename

6. CD Change current directory PWD view current directory full path

7. The Cat,more command displays the contents of a file.

8.chmod Command Permission Modification usage: chmod a 8 binary number filename.

9. Clear,date command: Clear: screen, quite with DOS under the Cls;date: Display the current time.

Mount load a hardware device

Mr Su switches to another person's identity without exiting the landing.

12.who am I,where Is,which,id

WHOAMI: Confirm your identity

Whereis: The directory where the query commands reside and the directory where the Help documents reside

Which: Query the directory where the command is located (similar to Whereis)

ID: Print out your UID and GID. (UID: A unique identity for a user. GID: The user group identity is uniquely identified. Each user can only have a unique UID and GID)

Grep,find

grep: text content search; find: File or directory name and permission owner matching search

EG:GREP Success */* Find files containing success characters in all files below the current directory

Kill kills a process that is in progress or is already a dest state

passwd can set a password

Orders used by history users

17.!! Perform the most recent command

mkdir command

Tar extract command

Finger allows users to search for information about other users

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.