Linux-Common command line (i)

Source: Internet
Author: User
Tags clear screen touch command

Today we share some of the most basic common command lines: Also as a novice should know the master

ls command: Used to display the contents of the specified working directory

DIR command: Consistent with ls command

CD command: Change working directory

PWD command: Displays the user's current working path, showing the full current Active Directory name

Clear command: Clear Screen command

Man command: View specified commands help information

mkdir command: Used to create a new directory

rmdir command: Used to delete an established directory

RM command: Delete documents and directories

Touch command: Create a blank file or change the timestamp of a file

CP command: Copy files (or directories)

MV Command: Move files (or directories)

Cat commands: can view text files

More command: Can view text file (more than one page of file) can turn the page display (page turn can only page back)

Less command: Display file contents can be displayed up and down the page

Head command: Displays the first n rows of the file

Tail Command: Displays the file after n rows of information

Find command: Search under the specified path to a file or directory (non-recursive search)

SU command: In the case of no logoff, switch to the root user

passwd command: Modify user login Password

Date command: Displays the current time

Cal Command: Display calendar

Shutdown command: Shut down the machine

Reboot command: Restart

Linux-Common command line (i)

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.