Basic commands common to Linux

Source: Internet
Author: User
Tags clear screen echo command touch command

1 man command: View Help information

Man command

NAME: A simple description of the command

Synopsis: Instructions for using formats for commands

DESCRIPTION: Detailed instruction information for the command

Opetions: Description of the command options

2 Date command: Show time

3 hostname command: Host name

4 Clear command: Clear screen

5 Exit Command: Exit

6 History Command: Historical commands (can be used with pipe characters)

7 pwd Command: current directory

8 CD command: Switch directories

9 ls command: List directories and files (Ls-al Common)

Cat command: Display file contents

One Touch command: Create a file or modify a file's modified time

DF Command: View file system (df-m using MB)

Alias and Unalias commands: command aliases

echo Command: Display information (equivalent to print)

Export command: Output variable (set variable, environment variable)

ENV command: Show environment variables

PS Command: View process status (PS aux view all processes)

WhoAmI and who command: View current user and all logged-in system location users

SU command: Switch User (su user, no user default switch to root)

grep command: Filtering information (intercepting some information)

WC command: Statistics

The more and less commands: Pagination shows, more cannot page up, less can

23 Pipes | The output of one command as input to another command

Basic commands common to Linux

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.