Basic Linux commands and Linux commands

Source: Internet
Author: User

Basic Linux commands and Linux commands

Cd-> transform path // file usually exists under/var/path, var can be modified storage disk

Ls-> list all properties of hidden and Related Files # ls-al

# Ls-al

-Rwxrwxrwx 1 root 293 2016-02-23 test

File property connection count file owner file user group size time file name

-Rwxrwxrwx 1 root 293 2016-02-23 test

 

Date-> current time cal-> calendar

Bc-> Calculator

Man-x-> menu (-x indicates the command)

Key: Tab-> command, file completion, or list commands and files with the same prefix in the same path

/Etc/passward-> SYSTEM account

/Shadow-> Password

/Group-> User group Name

 

  • -A:-pdr
  • -D: copy the file attributes instead of the file itself.
  • -F: mandatory operations such as forced replication and forced Deletion
  • -I: whether to perform the operation
  • -L:
  • -P: Copy (delete) operations with file attributes

 

# Chmod U user + Join R: read File or directory
G User Group -Remove W: write
O others = Settings X: exe
A All    

 

 

 

 

Directory:...-> directory on the previous Layer

--> Previous working directory

~ -> Home Directory of the current identity

 

Pwd-> display path

Mkdir-> create a directory

Cp-> copy rm-> Delete mv-> move

Compress-> compression and decompression (the compressed file is *. Z)

  • Which: Find the execution File
  • Whereis: Find a specific file
  • Find: # find/-name passwd

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.