Back to Blog
Arnošt Havelka

LS Options - Command Flags

Learn how to use --help to discover command flags

Start Interactive Lesson
LS Options - Command Flags

LS 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 / 1

Which 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.

Up Next

ECHO - Display Messages

Learn to display text with ECHO