diff --git a/docs/books/admin_guide/03-commands.md b/docs/books/admin_guide/03-commands.md index 72e450b53f..ece5431122 100644 --- a/docs/books/admin_guide/03-commands.md +++ b/docs/books/admin_guide/03-commands.md @@ -1,7 +1,7 @@ --- title: Linux Commands author: Antoine Le Morvan -contributors: Steven Spencer, Aditya Putta +contributors: Steven Spencer, Aditya Putta, tianci li update: 11-08-2021 --- @@ -688,9 +688,9 @@ rm [-f] [-r] file [file] [...] | Options | Information | | ------- | ---------------------------------------- | -| `-f` | Do not ask for confirmation of deletion. | -| `-i` | Requires confirmation of deletion. | -| `-r` | Recursively deletes subdirectories. | +| `-f` | Do not ask whether to delete. | +| `-i` | Ask whether to delete. | +| `-r` | Delete a directory and recursively delete its subdirectories. | !!! Note @@ -737,7 +737,7 @@ A few concrete cases will help you understand the difficulties that can arise: $ mv /home/rockstar/file1 /home/rockstar/file2 ``` -Renames `file1` to `file2`, if `file2` already exists, it will be replaced by `file1`. +Renames `file1` to `file2`. If `file2` already exists, replace the contents of the file with `file1`. ```bash $ mv /home/rockstar/file1 /home/rockstar/file2 /tmp @@ -863,14 +863,14 @@ The commands specific to `less` are: | Command | Action | | ----------------- | ----------------------------------------------- | -| `h` | Help. | -| `Arrows` | Move up, down a line, or to the right or left. | -| `Enter` | Move down one line. | -| `Space` | Move down one page. | -| `PgUp` and `PgDn` | Move up or down one page. | -| `Begin` and `End` | Move to the beginning or end of a file. | +| h | Help. | +| | Move up, down a line, or to the right or left. | +| Enter | Move down one line. | +| Space | Move down one page. | +| PgUp and PgDn | Move up or down one page. | +| gg and G | Move to the first and last pages | | `/text` | Search for text. | -| `q` | Quit the `less` command. | +| q | Quit the `less` command. | ### `cat` command