Skip to main content

Command Palette

Search for a command to run...

Basic Linux List Commands 🐧💻

Updated
1 min read
Basic Linux List Commands 🐧💻
A

"I'm a 3rd-year Computer Engineering student at Marwadi University with skills in C++, web development (MERN stack), and DevOps tools like Kubernetes. I contribute to open-source projects and share tech knowledge on GitHub and LinkedIn. I'm learning cloud technologies and app deployment. As an Internshala Student Partner, I help others find jobs and courses." now currently focusing on #90DaysOfDevops

• list the sub directories and files avaiable in the present directory

ls

• list the files and directories in long list format with extra information

ls -l

• list all including hidden files and directory

ls -a

• list all the files having .sh extension.

ls *.sh

Note :- whenever you want somethign specific file use * and then write format of file

• list the files and directories with index numbers inodes

ls -i

• list only directories.(we can also specify a pattern)

 ls -d */

© 2024 Anand Raval. All rights reserved.

More from this blog

A

Anand Raval

118 posts

Hello I am Anand Raval , i contributed my work in robotics(arduino uno) , fronted web devloper,competitive programming, now currently focusing on #90DaysOfDevops