9 Linux Simple and practical instruction introduction

Source: Internet
Author: User

9 Linux Simple and practical instruction introduction

Today, we share with you the experience of learning Linux, write it down and share it with you.

1, instructions: LS

Description: LS is often used in the console interface to view the current directory of files, including documents, scripts, software packages, and so on. Similar to Windows Explorer, you can view it quickly and easily.

2, Instructions: CD

Description: Under the Linux system, often need to switch different paths, view, add or run scripts and so on. The CD command allows you to quickly switch to the current working directory.

As shown below, with the help of the CD, the path is switched to the/desktop directory, with LS to view the desktop path files.

3, Instructions: CP

Description: Copy (copy) files, which are frequently operated. With the CP directive, you can quickly copy files from the source address to the target path.

4, Instructions: MV

Note: In addition to copying files, often move (cut) files to the specified path (directory), with the help of MV command can quickly achieve file movement.

5, Instructions: RM

Note: In addition to copying and moving files, it is sometimes necessary to delete files. The RM directive enables you to quickly and easily delete files.

6, Instructions: chmod

Description: Easy to change file access permissions to obtain execution, modification, or read permissions for a specific user.

7, Instructions: find

Description: You can quickly find files in a specific path and perform specific actions. Find all picture files with the suffix named PNG under the current path, as shown below.

8, Instructions: mkdir

Description: You can use this directive to create a specific directory to achieve collation management. For example, create a new directory under the current path: Pics

9, Instructions: rename

Description: Can use this instruction batch to rename the file. Useful when renaming, to avoid duplicate file names.

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.