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 [2015/04/11 19:23] – [APT: Pakete zurückhalten] 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 120: Line 123:
  
 ===== DD Monitor ===== ===== DD Monitor =====
- 
  
   dd if=/dev/zero | pv | dd of=/dev/disk1 bs=10m   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.1428773035.txt.gz · Last modified: 2015/04/11 19:23 by admin