< Zurück | Inhalt | Weiter >

1.3.2 The ls Command

The ls command is so basic, showing the names of files in a directory. Be sure that you know how to use these options:

ls lists the files in a directory.

ls -l is the long form, showing permissions, ownership, and size.

ls -ld doesn’t look inside the directory, so you can see the directory’s permissions.

ls -lrt shows the most recently modified files last, so you can see what you’ve just changed.