Process to List files and directories in Linux



Hello linux user in this example i will discuss about ls command. In linux when we first login, our current working directory is your home directory. In unix and linux ls command lists the contents of your current working directory.

See the image to understand clearly

linux-unix-ls-command-example

This command will only show the files not hidden file. If you want to show all the files including hidden file then type the below command and run. Remember in linux all the hidden file start with (.) dot.

ls -a

 

If you see the file with details of the file like date of creation and permission etc then run below command

ls -l

 

Then you will see the below output.

linux-ls-command-example

Hope it can help you.

 

Facebook Github
A web enthusiastic, self-motivated Full-Stack Web Developer from Dhaka, Bangladesh with experience in developing applications using Laravel Vue and React Js Application.