This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
linux_befehle [2013/02/18 16:08] – external edit | 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 101: | Line 104: | ||
wc -l `find ./pwm -name " | wc -l `find ./pwm -name " | ||
+ | | ||
+ | ===== Große Dateien finden ===== | ||
+ | |||
+ | 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=/ | ||
+ | |||
+ |