Study Notes for Linux _ Day2 and Study Notes _ day2

Source: Internet
Author: User

Study Notes for Linux _ Day2 and Study Notes _ day2

The next day, continue to learn Linux commands...

 

I. Command for viewing the file and directory list

Ls: displays files and directories in the current directory, but does not show hidden files and directories.

Ls-a: displays all files and directories in the current directory.

Ls-l: displays detailed information about the files and directories in the current directory, including:

File Type: such as Directory (d), file (-), character file (c), or block device (d );

File permissions;

Total number of hard links of files;

User name of the file owner;

File size (in bytes );

Last modification time of the file;

File Name or directory name.

Ls-l dest: displays the details of a specified file or directory.

Next, display each of the preceding commands:

Ls command, 2-1

Figure 2-1

Ls-a command, 2-2

Figure 2-2

Ls-l command, 2-3

Figure 2-3

Ls-l dest command, 2-4

Figure 2-4

 

Happy Day2 !!!!!

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.