Linux file System related commands

Source: Internet
Author: User

LINUX File System related commands:

1. To view the file directory command: ls

Parameters: -A : list all files, including hidden files

- H: display files in a way that is easier for humans to read

- L: List Farm data strings, including properties and permissions for files   = " ll

- R: together with subdirectories listed together

2 , copy files or directories: CP ( Note:copy shorthand )

parameter: - F: Force replication (do not prompt)

- I.: prompt when overwriting

- P: copied along with the attribute.

- R: recursive replication (along with all content in subdirectories)

- D: Copy the linked file properties.

-A : equivalent to –pdr

3 , deleting files or directories : RM

Parameters: - F Force Delete, do not prompt

- R recursively Delete subdirectories and directories under directory content

- I. Interactive Inquiry, whether to delete

4 , moving files or directories ( rename ) : MV

- F Force Delete, do not prompt

- R recursively Delete subdirectories and directories under directory content

5 , create a directory command: mkdir

6 , delete directory : RmDir


This article is from the "Bean Daddy Blog" blog, please make sure to keep this source http://imlearner.blog.51cto.com/9615100/1969724

Linux file system-related commands

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.