User Tools

Site Tools


linux_befehle

Differences

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

Link to this comparison view

Next revision
Previous revision
Next revisionBoth sides next revision
linux_befehle [2013/02/18 17:08] – external edit linux_befehle [2015/04/15 10:23] admin
Line 101: Line 101:
  
   wc -l `find ./pwm -name ".git" -prune -o -type f`   wc -l `find ./pwm -name ".git" -prune -o -type f`
 +  
 +===== 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=/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 tonthe web
 +
 +  dd if=/dev/zero of=output.dat  bs=1024  count=10240
 +
 +
linux_befehle.txt · Last modified: 2018/10/16 21:19 by admin