useful:linux-commands
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| useful:linux-commands [2023/05/19 19:14] – admin | useful:linux-commands [2025/09/23 07:58] (current) – admin | ||
|---|---|---|---|
| Line 2: | Line 2: | ||
| ====== Linux Commands ====== | ====== Linux Commands ====== | ||
| + | |||
| + | ===== Removing comments from config files ===== | ||
| + | |||
| + | from 20-lmtp.conf as an example: | ||
| + | |||
| + | grep ' | ||
| ===== Installing a GPG key ===== | ===== Installing a GPG key ===== | ||
| Line 38: | Line 44: | ||
| find ~/ | find ~/ | ||
| + | |||
| + | ===== Search within specific file type ===== | ||
| + | |||
| + | grep -ir removed --include=" | ||
| + | |||
| + | will search files with extension .txt ignoring case (-i) | ||
| ===== Bluetooth ===== | ===== Bluetooth ===== | ||
| Line 44: | Line 56: | ||
| | | ||
| + | |||
| + | ===== Limiting journal log size ===== | ||
| + | |||
| + | Edit the file: | ||
| + | |||
| + | / | ||
| + | |||
| + | and set SystemMaxUse, | ||
| + | |||
| + | | ||
| + | |||
| + | Then restart journal with: | ||
| + | |||
| + | | ||
| + | |||
useful/linux-commands.1684523694.txt.gz · Last modified: 2023/05/19 19:14 by admin
