ls

ls command is used to list files in linux. It is same as dir on windows.

List all files in long format (l), a is to show hidden files

ls -la

Show only file names

ls -b

Show only file names. One file per line

ls -1

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *