Linux system Su,passwd,ls,timestamp,cd,type and hash commands

Source: Internet
Author: User
Tags hash parent directory socket

SU's usage: Switch user

The usage # SU [l] User name [] can be abbreviated or not written.

Change Password

# passwd hit the return ligatures two times new password on the line, pay attention to the complexity of the degree of

Command command options option (option can also have arguments with parameters) arguments parameters

The LS list list is listed. List the files under the development path

PWD Printing working derectory shows that the current working directory is basically displaying the files in the current directory or showing you which path you are currently under.

Ls

-L: Long format

File type

-: Ordinary document (f)

D: Catalog Files

B: Block device files (blocks)

C: Character device file (character)

L: Symbolic Link files (sysbolic link file)

P: Command pipe file (pipe)

S: Socket file (socket)

Time stamp Timestamp

Access: Access

Modification: Modify

Changes: Change metadata, meta data

-H: Do unit conversion, as LS inside byte size changes if you can write Ls-l-h

-A: A hidden file that displays a. Beginning.

. Represents the current directory. Represents the parent directory of the current directory

-A: Displays all hidden files but does not include.

-D: Displaying directory self properties

-I: Code for displaying files such as 5645*** file index Node,inode

-r: Display in reverse order

-R: Recursive (Recursive) display

CD Change Directory

Family Directory, home directory

CD ~username: Enter the specified home directory x

cs-: Switch to and fro the TAB key

Type: Shows the type that the designation belongs to

Hash cache means how many times clear you can show how many times you have LS.

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.