List directory contents
Missions: Using command line shell
- About this mission
- Files and directories
- List directory contents
- Changing directories
- Creating and removing
- Copying and moving
- More about shell

Using ls for listing directory contentsls: List directory contents1. List files using ls with no options:
ls command with no option will list files and 2. List files using -l option:
The ls command with option -l (i.e. drwxr-xr-x 2 root root 4096 Oct 11 00:20 bin 3. View hidden files:
The ls command with option -a There are many other options available. For more options, type |