Linux basic Operation 2 Linux file system basic structure

Source: Internet
Author: User
Tags file system touch command

File system architecture for Linux

Linux file system for an inverted single root tree structure

The root of the file system is "/"

File systems are strictly case-sensitive

The path uses "/" to split, in Windows using the "\"

Current working directory

1 each shell or system process has a current working directory

2 Use the PWD command to display the current working directory

3. File name

File name Case Sensitive

The name has a maximum of 255 characters

is a valid character except for a forward slash

You can create a file by using the Touch command, or update the time of an existing file

With the "." Files that start with are hidden files

4. Listing the contents of the catalog

1 ls-a display all files (including hidden files)

2 ls-l Show details of all files

In Ubuntu you can use LL instead

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.