Linux Learning notes Basic bash shell commands

Source: Internet
Author: User

Linux File System

Linux speaking files are stored in a single directory structure (virtual directory), and the virtual directory contains the file paths of all the storage devices installed on the PC.

The more complex part of the Linux virtual directory is how it coordinates the management of each storage device. The first hard drive installed on a Linux PC is the root drive, creating some special directories on the root drive that we call mount points. Mount points are directories in the virtual directory that are used to allocate additional storage devices.

Virtual directories cause files and directories to appear in these mount point directories, but in fact they are stored in a different drive.

ADB command

The relative file path does not begin with a forward slash (/) that represents the root directory.

The Linux shell command multiple single broken polylines can be combined into a string followed by a single broken polyline.

ls command

Common parameter-sail

(A: List all files I: List index nodes for each file L: Generate a long list s: Lists the block size of the file)

The LS command supports filters (simple text-matched strings, question marks representing one character, asterisks representing 0 or more characters)

Touch

Create an empty file

can also be used to change the access time and modification time of an existing file

(You can change the access time or the modified time only, you can specify the time to change)

Linux Learning notes Basic bash shell commands

Related Article

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.