Linux File system basic structure

Source: Internet
Author: User

1, the Linux file system for an inverted single tree-like structure

2, the root of the file system is "/"

3. File system is strictly case-sensitive

4, the path uses "/", and Windows use "\" different

The tree-like structure is as follows:

file name Specification

1, file name case sensitive;

2, the name can be a maximum of 255 characters;

3, except forward slash "\" are valid characters;

4, through the touch command can create a blank file or update a file time;

5. To "." The file at the beginning is a hidden file

Listing Directory Contents

1. Ls-a display all files, including hidden files

2, ls-l display details, including permissions

3, Ls-r recursive display sub-directory structure

4, ls-ld display directory and link information

Copy a file or directory

1. copy files or directories using the CP command

CP Source File Destination file

Common parameters:

-R recursively replicate entire directory tree

-V Show More information

Linux File system basic structure

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.