df (disk filesystem) |
# rm -r mydir (Remove Full Directory) |
|
|
du (Disk Usage) |
|
|
|
lsblk |
|
|
|
|
|
|
|
|
|
|
|
|
grep -Ril "text-to-find-here" / |
-
i stands for ignore case (optional in your case).
R stands for recursive.
l stands for "show the file name, not the result itself".
/ stands for starting at the root of your machine.
|
|
|
|
|
|
|
# update-alternatives --config editor |
select a editor you want |
|
Ping with timestamp |
# ping www.google.com | while read pong; do echo "$(date): $pong"; done |
|
|
|
|
|
|
Das ganze System in allen Dateien nach einem bestimmten String durchsuchen |
# find . -type f -exec grep -il "String" {} \; |
|
|
|
|
|
|
|
|
|
|