345K Subscribers . 355K Views
Welcome to the video - "How to check directory list on CentOS | Linux Full Tutorial 2020"
In this video i'll teach How to check directory list
To check the list of directories in a CentOS Linux system, you can use the ls command. Here are the steps to follow:
Open a terminal window or log in to the system using SSH.
Navigate to the directory you want to check. For example, to navigate to the root directory, type:
bash
Copy code
cd /
Type the following command to display the list of directories in the current directory:
bash
Copy code
ls -l
This will display the list of directories in a long format, including permissions, owner, size, and modification time.
If you only want to display the names of the directories, you can use the following command:
bash
Copy code
ls -d */
This will display only the names of the directories in the current directory.
That's it! You have successfully checked the list of directories on your CentOS Linux system using the ls command.
This video is for beginners keep watching..
Please Subscribe and click the notification bell so you never miss a video
Thank You For Watching
#LinuxFullTutorial2020
#LinuxTipsandTricks2020 #LinuxServer #LinuxTeachingHouse