Home > What Does '-' Mean In Terminal Commands?
Question

What does '-' mean in terminal commands?

Answers
03/24/2022
Emmalee

The middle script is used to modify the behaviour of the command in some operating system interpreters such as BASH on Linux /UNIX.

So, the ls command gives a simple listing

but if you run ls -laS for example, it will give a listing of the contents of the directory you are in showing hidden files and subdirectories and sort them by size.

Examples:

Reply
In Windows 10, what does the 'RPC server is unavailable' notification mean and how do I fix it? :: I can't log in to Kali Linux after installing it, how can I log in?
Useful Links