This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
linux_befehle [2014/03/10 08:46] – [Gesamtanzahl der Codezeilen] admin | linux_befehle [2018/10/16 19:19] (current) – [Create md5 hash for each file] admin | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Linux Befehle / Programme benutzen ====== | ====== Linux Befehle / Programme benutzen ====== | ||
+ | ===== Create md5 hash for each file ===== | ||
+ | |||
+ | find ./deploy/ -name ' | ||
===== grep ===== | ===== grep ===== | ||
Line 104: | Line 107: | ||
===== Große Dateien finden ===== | ===== Große Dateien finden ===== | ||
- | find / -type f -size +1000M -exec ls -lh {} \; | awk '{ print $NF ": " $5 }' | + | find / -type f -size +1000M -exec ls -lh {} \; | awk '{ print $NF ": " $5 }' |
+ | |||
+ | |||
+ | ===== APT: Pakete zurückhalten ===== | ||
+ | |||
+ | Mit **apt-mark** kann man Pakete zurückhalten. | ||
+ | |||
+ | **Paket zurückhalten: | ||
+ | |||
+ | apt-mark hold package1 package2 | ||
+ | |||
+ | **Zurückhalten aufheben** | ||
+ | |||
+ | apt-mark unhold package1 package2 | ||
+ | |||
+ | ===== DD Monitor ===== | ||
+ | |||
+ | dd if=/ | ||
+ | |||
+ | ===== Create empty files with specific size ===== | ||
+ | |||
+ | Sometimes its useful to have different files with a certain size to test uploading to the web | ||
+ | |||
+ | dd if=/ | ||
+ |