diff --git a/docs/books/admin_guide/03-commands.md b/docs/books/admin_guide/03-commands.md index 60aba8b3db..2959183c11 100644 --- a/docs/books/admin_guide/03-commands.md +++ b/docs/books/admin_guide/03-commands.md @@ -479,20 +479,20 @@ The main options of the `ls` command are: | ------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | | `-a` | Displays all files, even hidden ones. Hidden files in Linux are those beginning with `.`. | | `-i` | Displays inode numbers. | -| `-l` | Displays a vertical list of files with additional information formatted in columns. | +| `-l` | Use a long listing format, that is, each line displays long format information for a file or directory. | The `ls` command, however, has a lot of options (see `man`): | Option | Information | | ------ | ------------ | | `-d` | Displays information about a directory instead of listing its contents. | -| `-g` | Displays UID and GID rather than owner names. | -| `-h` | Displays file sizes in the most appropriate format (byte, kilobyte, megabyte, gigabyte, ...). `h` stands for Human Readable. | -| `-s` | Displays the number of blocks occupied by the file. One block equals 400K. | +| `-g` | Like -l option, but do not list owner. | +| `-h` | Displays file sizes in the most appropriate format (byte, kilobyte, megabyte, gigabyte, ...). `h` stands for Human Readable. Needs to be used with -l option. | +| `-s` | Displays the allocated size of each file, in blocks. In the GNU/Linux operating system, "block" is the smallest unit of storage in the file system, one block equals 4096Byte. | | `-A` | Displays all files in the directory except `.` and `..` | | `-R` | Displays the contents of subdirectories recursively. | | `-F` | Displays the type of files. Prints a `/` for a directory, `*` for executables, `@` for a symbolic link, and nothing for a text file. | -| `-X` | Sorts files according to their extensions. | +| `-X` | Sorts files according to their extensions. | * Description of columns generated by running the `ls -lia` command: