You can combine ls options by simply adding them together in a single command. For example:
ls -la
In this command:
-lprovides a long listing format.-aincludes hidden files.
You can also combine more options, like this:
ls -lhS
Here:
-lgives detailed information.-hmakes file sizes human-readable.-Ssorts files by size, largest first.
Just ensure there are no spaces between the options. If you have any more questions, feel free to ask!
