Linux Common Commands Daquan 3

Source: Internet
Author: User

Linux commands
1, Shutdown shutdown-h now
2,init 0 shutting down the system
3,shutdown-h Hours:minutes & Shutdown system at scheduled times
4,shutdown-c Cancel the system at a predetermined time
5,shutdown-r now restart
6,reboot restart
7,logout logoff
8,cd/home Enter '/home ' directory
9,CD. Return to the top level directory
10,CD. /.. Return to the top level two directory
11,CD into the personal home directory
12,cd ' User1 into the personal home directory
13,CD-Return to the last directory
14,pwd Show Work Path
15,ls viewing files in a directory
Ls-f view the files in the directory
17,LS-L displays detailed information about files and directories.
18,mkdir Dir1 Create a directory called Dir1
19,mkdir dir1 DIR2 Create two directories at a time
20,rm-f file1 Delete a file called File1
21,rmdir Dir1 Delete a directory called Dir1
22,RM-RF dir1 DIR2 Delete two directories and their contents at the same time
23,MV Dir1 new_dir Renaming/Moving a directory
24,CP file1 file2 Copy a file
25,CP dir/* Copy all files from a directory to the current working directory
26,cp-a/tmp/dir1 copy a directory to the current working directory
27,cp-a dir1 dir2 Copy a directory
28,ln-s file1 lnk1 Create a soft link to a file or directory
29,ln file1 Lnk1 creates a physical link to a file or directory.
30,find/-name File1 Enter the root file system to search for files and directories from '/'
31,find/-user User1 search for files and directories belonging to user ' User1 '

Linux Common Commands Daquan 3

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.