•Arnošt Havelka
LS Options - Command Flags
Learn how to use --help to discover command flags
Start Interactive LessonLS Options - Command Flags
Every Bash command supports options (or flags) that change its behaviour. You can discover these options by appending the --help switch to any command.
For example, running ls --help shows options like -l for long listing format, and -a to show hidden files.
Knowledge Check
1 / 1Which flag displays files in a long listing format?
References
These Microsoft Learn and Windows documentation links provide authoritative details for the commands used in this article.