Get the App
SLTechnology News&Howtos  ›  Servers  › 

How to use the linux command to view the contents of a directory

Shulou Source: shulou.com Published: 2022-06-01 12:08:59 09月30日 Update

The main content of this article is "how to use the linux command to view the contents of a directory", interested friends may wish to take a look. The method introduced in this paper is simple, fast and practical. Let the editor take you to learn "how to use the linux command to view the contents of a directory"!

1. Right-click in the blank space of the desktop and open the terminal, as shown in the figure

2. Check the contents of the specified directory / root/, such as / bin,/sbin and other directories (long list-l and short list) to learn about the types of files. Use cd / bin/ to change to the / bin directory as shown, and then use ls-l to view the contents of / bin in the specified directory as shown in the figure.

3. Of course, you can also use ls / bin/-l, as shown in the figure, and view the contents of / bin in the specified directory as shown in the figure.

4. You can also use ls / bin/ to view the contents of / bin in the specified directory as shown in the figure.

At this point, I believe you have a deeper understanding of "how to use the linux command to view the contents of a directory". You might as well do it in practice. Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!

Tags: Content directories such as pictures commands learning practical deeper interest practicality practical simple operation files methods more friends desktops blanks types terminals websites Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Microsoft Shulou Information macOS Xiaomi Linux