Comparaison des versions

Légende

  • Ces lignes ont été ajoutées. Ce mot a été ajouté.
  • Ces lignes ont été supprimées. Ce mot a été supprimé.
  • La mise en forme a été modifiée.

...

      ls directory/file-name(s) : list contents of directory

Here are some of the most useful options of the 'ls' command:

    -alist all files including invisible files (starting with '.')
-llong list - shows ownership, permission, and links
-hlist size in human readable format (k-, M-, GBytes)
-tlist files chronologically
-rreverse order of listing
-ddo not display directory contents but only the directory itself
-Slist in order of size (helps to find the largest files)

...

Understand the "long list (-l)" output:

Example:

...

Image Added

See 'chmod' below about how to change the permissions.

Change Directory

cd : to change to your home directory
cd directory-name : to change to another directory
cd - : to change back to the previous directory

...