Examples of the most common commands used by Linux (10 with graphs)

Source: Internet
Author: User
Tags linux mint

A friend of mine wanted me to teach the use of Linux, so I did an entry-level tutorial based on the relevance of the command.

as follows: (if you want to download Word file save, please download)

----------------------------------- I'm a naughty up and down split line -----------------------------------------

1. How to Open the terminal (the system I am demonstrating is Linux Mint)

A. Click the terminal icon

B. Right-click on the desktop and select Terminal in the right-click menu

C. ctrl+alt+t

2. pwd command: View current path


"/" stands for the root directory, similar to Windows C disk.


3. CD command: Change the current directory


".." represents the top level directory, "." Represents the current directory.


4. ls command: View the list of files under the current path


Ls-a: Show all files, including hidden files (in Linux, hide file names with '. ') Beginning

Ls-l: Displays all information about the file, including permissions, user, size, access time, etc.


5. Touch command: New file

6. mkdir Command: Create a new Folder


In Linux, the suffix name of the file does not have the size of Windows, only as the identity.


7. gedit Command: Edit text file



8. Touch Command: View the contents of a text file in a terminal



9. CP command: Copy files


CP <src><dest>

'-R ': Copy Folder


Ten. mv Command: Move files (equivalent to copy after cut)



RM command: Delete files


-F parameter: Force delete file, do not prompt whether delete

-R parameter: Recursive Delete to delete the folder and all files in it

-RF parameters: The combination of-R and-F


Tab key

You can use the TAB key to auto-complete when you enter commands and subsequent arguments

Examples of the most common commands used by Linux (10 with graphs)

Related Article

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.