Summary of Linux Common command and System management commands

Source: Internet
Author: User
Tags create directory parent directory

Linux Common directives:

LS display file or directory ls-l list file details ls-a lists all files or directories in the current directory, including hidden

Ls-al display detailed file information, including hidden files mkdir creating a directory

MKDIR-P Create directory, if no parent directory, create parent directory CD switch directory touch create empty file echo Create file with content

Cat View file contents CP Copy MV Move or rename rm Delete file Rm-r Recursive Delete, can delete subdirectories and files

Rm-f Force Delete

RM-RF Force recursive Delete Find in file system search for a file the number of lines in the WC statistic text, word count, number of characters grep finds a string in a text file

RM dir Delete empty directory (dir refers to a directory name) ln creates a linked file More/less page displays the contents of the text file head/tail display the file header, tail content

System administration Commands:

Stat display specifies file details, more detailed than LS. Who shows online login user WhoAmI display the current operation user hostname display host name

Uname Display System Information top view process information PS Display instantaneous entry status

Du view directory size du-h/home with units display directory information DF view disk size Df-h view with unit display disk information

Ifconfig viewing network conditions Ping Testing network connection kill-9 process number forcing the process to terminate

Summary of Linux Common command and System management commands

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.