The simplest command learning in Linux

Source: Internet
Author: User
The simplest command in Linux-general Linux technology-Linux technology and application information. For more information, see the following. From the simplest learning, learning Linux commands is like learning 26 letters, and learning it can exert the infinite charm of the Linux system.

# Useradd *** Add a user

# Passwd *** set the password

Pwd: view the current directory

Ls displays the files and directories in the current directory

Ls-a shows the hidden files in the current directory

Touchu create a file

Mkdir: create a directory. You can create one or more directories.

Mv source destination mobile File

Mv ______. Move ____ files to the local device

Rm delete file

Cp copies the file, which is used in the same way as (mv ).

Cat displays the content of a file

The less function is the same as that of the sub-screen display.

The head and tail functions are the same as above. Only the first (last) n rows are displayed (10 by default)

Ctrl + alt + F1 f1 -- switch among six f6 Terminals

Su switching user

Usermod-e date username is invalid on a certain day

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.