linux:ubuntu:useful-commands
Differences
This shows you the differences between two versions of the page.
| linux:ubuntu:useful-commands [2024/02/08 14:25] – [[ping] Check if a station is alive] odefta | linux:ubuntu:useful-commands [2025/01/02 18:22] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 505: | Line 505: | ||
| grep -o ' | grep -o ' | ||
| </ | </ | ||
| - | o - print each occurrence on a separate line | + | o - print each occurrence on a separate line \\ |
| l (from wc) - count lines | l (from wc) - count lines | ||
| Line 518: | Line 518: | ||
| grep -nri search workspace/ | grep -nri search workspace/ | ||
| </ | </ | ||
| - | n - show line number | + | n - show line number |
| - | r - recursive | + | r - recursive |
| i - case insensitive | i - case insensitive | ||
| Line 759: | Line 759: | ||
| ls [abc]*.txt | ls [abc]*.txt | ||
| </ | </ | ||
| - | [abc] - characters a, b or c | + | [abc] - characters a, b or c \\ |
| - | * - any number of characters (including 0) | + | * - any number of characters (including 0) \\ |
| .txt - ends with txt | .txt - ends with txt | ||
| Line 1080: | Line 1080: | ||
| echo -e " | echo -e " | ||
| </ | </ | ||
| - | e - interpret escape sequences | + | e - interpret escape sequences |
| n - numbers (sort as numbers) | n - numbers (sort as numbers) | ||
| Line 1956: | Line 1956: | ||
| </ | </ | ||
| - | Eliminare | + | Eliminate |
| < | < | ||
| chmod 601 file.txt | chmod 601 file.txt | ||
| Line 1962: | Line 1962: | ||
| </ | </ | ||
| - | Eliminare | + | Eliminate |
| < | < | ||
| chmod ugo-w file.txt | chmod ugo-w file.txt | ||
linux/ubuntu/useful-commands.1707402344.txt.gz · Last modified: (external edit)
