ls : list contents present in directory in linux

Video is ready, Click Here to View ×

ls :
It will list contents present in directory.
Lets open the terminal and see what it does.

ls, these are the list of folder and files.
There are also hidden file here but those are not listed here.
To list that we have to use option.

ls -a
Now these are the hidden files which we are able to see after this this -a option.

We can also list the contents in different ways and with more information.

ls -l
These are the list with more information

We can combine this -l with -a and list…

Be the first to comment

Leave a Reply

Your email address will not be published.