List files one per line:
    ls -1

  List all files, including hidden files:
    ls -a

   List all files, with trailing `/` added to directory names:
    ls -F

  Long format list (permissions, ownership, size, and modification date) of all files:
    ls -la

  -Long format list with size displayed using human-readable units (KiB, MiB, GiB):
    ls -lh

  Long format list sorted by size (descending):
    ls -lS

  Long format list of all files, sorted by modification date (oldest first):
    ls -ltr

  Only list directories:
    ls -d */

You should also read:


How would I redirect the standard output of a command (useradd) to a file named useradd_output.txt? How would I redirect stderr of the…

Stderr 2

Describe all of the inputs ans outputs, incluing stderr, and show examples of how they can be used on a RHEL system. In…


What is stderr, and please show an example of saving stderr to a file on a RHEL system. In Linux and Unix systems,…


What is PAM and what are the most important tasks I should have memorized to pass the PAM portions of a task-based exam…