Logo
Web01
Ch4os1@web01:~/commands/ls
← View all bash commands

ls

List directory contents.

Examples

ls -l
              

List files in long format.

ls -a
              

List all files, including hidden files.

Notes

This command affects only the current shell session.