Developing Common Linux commands

Source: Internet
Author: User

1,man help Eg:man LS view command assistance

2,ls--help Help for easy access

3,help CD view Linux built-in commands

File and Directory Operations commands

4,ls view current directory and specified directory ll ll-a

5,CD Switching directories

6,pwd View your current location

7,CP Assignment Command Cp-r recursive assignment

8,find Lookup Command Find/-name "Yum.log" Find/-name "*.log" find/ar/log/-name "Xx.log"

9,touch Creating a file

10,mkdir Create a directory mkdir-p a/b/c create a directory recursively

11,MV Moving files

12,tree View directory Structure tree var

13,RM deleting files rm-rf recursive removal use caution

View file and content processing

14,cat viewing the contents of a file

15,grep Match View file contents grep-n ipw200 App.log

16,tar Package tar ZCVF demo.tar.gz./Package The file in the current directory is demo.tar.gz

, sz download the content on the server note Xsheel specify the location to download to

18,df-h viewing the current disk capacity

19,du-sh View the total size of the current directory

20,free-m viewing the server's memory in units of M

21,top view current server which program accounts for more memory

22,ip A View IP address

23,useradd XXX Add User

24,chown xxx.xxx xxxx change user, user group

25,chomd-r755 XXX Change Permissions

-----to add

Developing Common Linux 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.