Update cheatsheets

This commit is contained in:
ivuorinen
2025-03-08 00:14:59 +00:00
parent a812b3c467
commit f8bee5305f
111 changed files with 540 additions and 310 deletions

View File

@@ -15,20 +15,20 @@ source: https://github.com/tldr-pages/tldr.git
- Remove specific files ignoring nonexistent ones:
`rm --force {{path/to/file1 path/to/file2 ...}}`
`rm {{[-f|--force]}} {{path/to/file1 path/to/file2 ...}}`
- Remove specific files interactively prompting before each removal:
`rm --interactive {{path/to/file1 path/to/file2 ...}}`
`rm {{[-i|--interactive]}} {{path/to/file1 path/to/file2 ...}}`
- Remove specific files printing info about each removal:
`rm --verbose {{path/to/file1 path/to/file2 ...}}`
`rm {{[-v|--verbose]}} {{path/to/file1 path/to/file2 ...}}`
- Remove specific files and directories recursively:
`rm --recursive {{path/to/file_or_directory1 path/to/file_or_directory2 ...}}`
`rm {{[-r|--recursive]}} {{path/to/file_or_directory1 path/to/file_or_directory2 ...}}`
- Remove empty directories (this is considered the safe method):
`rm --dir {{path/to/directory}}`
`rm {{[-d|--dir]}} {{path/to/directory}}`