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/04/12 19:23] – admin | useful:linux-commands [2024/07/23 16:19] (current) – admin | ||
---|---|---|---|
Line 8: | Line 8: | ||
wget -O- https:// | wget -O- https:// | ||
+ | |||
+ | Then need to edit the sources.list file to look something like: | ||
+ | |||
+ | deb [signed-by=/ | ||
===== Change permissions for whole directory structure ===== | ===== Change permissions for whole directory structure ===== | ||
Line 34: | Line 38: | ||
find ~/ | find ~/ | ||
+ | |||
+ | ===== Search within specific file type ===== | ||
+ | |||
+ | grep -ir removed --include=" | ||
+ | |||
+ | will search files with extension .txt ignoring case (-i) | ||
+ | |||
+ | ===== Bluetooth ===== | ||
+ | |||
+ | Using this from the command line seems to do more than the GUI: | ||
+ | |||
+ | | ||
+ | |||
+ | ===== Limiting journal log size ===== | ||
+ | |||
+ | Edit the file: | ||
+ | |||
+ | / | ||
+ | |||
+ | and set SystemMaxUse, | ||
+ | |||
+ | | ||
+ | |||
+ | Then restart journal with: | ||
+ | |||
+ | | ||
useful/linux-commands.1681327382.txt.gz · Last modified: 2023/04/12 19:23 by admin