User Tools

Site Tools


linux_befehle

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
linux_befehle [2014/05/13 14:14] adminlinux_befehle [2018/10/16 21: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 '*.zip' -type f ! -name \*.md5 | while read hash; do sha256sum $hash | awk '{print $1}' > $hash.md5; done
 ===== grep ===== ===== grep =====
  
Line 109: Line 112:
 ===== APT: Pakete zurückhalten ===== ===== APT: Pakete zurückhalten =====
  
-Mit apt-mark kann man Pakete zurückhalten.+Mit **apt-mark** kann man Pakete zurückhalten.
  
 **Paket zurückhalten:** **Paket zurückhalten:**
Line 118: Line 121:
  
   apt-mark unhold package1 package2   apt-mark unhold package1 package2
 +
 +===== DD Monitor =====
 +
 +  dd if=/dev/zero | pv | dd of=/dev/disk1 bs=10m
 +
 +===== 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=/dev/zero of=output.dat  bs=1024  count=10240
 +
  
linux_befehle.1399983290.txt.gz · Last modified: 2014/05/13 14:14 by admin