Main Options
Select various options that make up the `ls` command below. Combine options to experience different output formats.
1. Basic Output Options
2. Sorting and Output Control
3. Specifying Files and Extensions
Generated command:
Try combining the commands.
Description:
`ls` Executes the command.
Combine the above options to virtually execute commands with AI.
How to Use the ls Command
This section introduces useful examples of ls command combinations that can be effectively utilized in a real terminal environment.
Detailed View Including Hidden Files
ls -al
The `ls -al` command outputs detailed information of all files, including hidden ones.
List Sorted by Most Recent Files
ls -lt
Outputs files sorted by the most recent modification time.
Show Only Directories in a Specific Directory
ls -d */
Can be used when you want to filter and output only directories.