Linux Command Initial contact

Source: Internet
Author: User

Ls:

List current Folder contents

-A lists all content, including hidden

-l list all content in lists

Pwd:

Show current Path

Cd:

Change Path command

Mkdir:

Create one or more folders or files

-P If the intermediate file plus does not exist, create all the folders step by step

Eg:mkdir A/B/C/D

RMDIR:

Delete one or more directories (provided that there are no files in the folder)

-P Even delete folder

Eg:rmdir A/B/C/D

TOUCH:

1. If the file does not exist, create an empty file

2. If present, update it with the system time

Rm:

Delete command

-R recursively delete files and folders inside files

-I give prompt whether delete before delete (y= Delete, n= not delete)

-F Force Delete

Mans:

View the Help documentation for the command

Eg:man CD

TAB key:

Auto-complete path

History:

List the previously typed commands

Cp:

Copy

-a copy folder, along with file attributes copy

-R Copy Folder

Linux Command Initial contact

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.