Common commands for File and folder operations under Linux

Source: Internet
Author: User

File and folder operations

1. Create folder "MkDir folder name" This will create a folder in the current directory.

2. copy file CP

3. Cutting MV

Edit File Contents

VI or VIM generally VI is the basic function, VIM is more powerful than the VI function.

Some of the basic operations are

Open or new file VI file path

Open is read-only mode, to write the editor first enter an I this is the insertion mode

You can enter the information you want to record.

When the recording is finished, you can save the exit by pressing "ESC" to exit the insert mode, and then entering: Wq and then enter to save the exit.

You can also not save the exit by pressing ESC to exit Insert mode, and then enter: Q and then return.

Common commands for File and folder operations under 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.