Linux Common Command List-Quick Search manual __linux

Source: Internet
Author: User
Tags create directory

This article sorted out the most commonly used Linux commands to facilitate the quick search of common commands

Command Description
Ls Listing directories
Ls-al Use formatting to list hidden files
CD dir Enter Directory dir
Cd Enter Home directory
Pwd Show current directory
mkdir dir Create Directory Dir
RM file Delete file
Rm-r dir Delete directory Dir
Rm-f file Force Delete File
Rm-rf dir Force Delete Directory Dir
CP file1 File2 Copy File1 to File2
Cp-r Dir1 Dir2 Copy the Dir1 to the DIR2; Create the Dir2 if it does not exist
MV File1 File2 Rename or move the file1 to the file2; If File2 is an existing directory, move file1 to the directory File2
Ln-s File Link Create a symbol connection link for file
Touch file Create a file with the name file
Cat > File Add standard input to file
More file View the contents of the file
Tail-f file View the contents of file from the first 10 lines
Mans command Show Instructions Manual for command
Ps Displays the current active process
Top Show all running processes
Kill PID Kill process ID PID
Killall proc Kill all the processes named Proc.
chmod octal file Change permissions for file
grep pattern Files Search the files for matching pattern content
Df Show disk occupancy
Du Show Directory space occupancy
Tar xzf file.tar.gz Extract the tar file using Gzip
Tar xjf file.tar.bz2 Extract the tar file using BZIP2
Ping Host Ping the host and output the result
wget file Download file

Original link: http://tinyxiong.com/linux_common_cmds/
about the author: Tiny bear: Simple and simple block chain Bo main

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.