Difference between revisions of "Head (command)"

From wikieduonline
Jump to navigation Jump to search
Line 2: Line 2:
  
 
  head -10 /dev/[[urandom]] | [[sha512sum]] | cut -b 1-30
 
  head -10 /dev/[[urandom]] | [[sha512sum]] | cut -b 1-30
 +
 +
head -c 16 [[/dev/urandom]] | [[od]] -An -t x | [[tr]] -d ' '
  
 
  head -c 10 /path/to/file
 
  head -c 10 /path/to/file
Line 8: Line 10:
  
 
  [[du -hs]] /var/lib/* | sort --human-numeric-sort -rk1 | head -10
 
  [[du -hs]] /var/lib/* | sort --human-numeric-sort -rk1 | head -10
 +
 +
  
  

Revision as of 13:12, 8 October 2022

head -10 /dev/urandom | sha512sum | cut -b 1-30
head -c 16 /dev/urandom | od -An -t x | tr -d ' '
head -c 10 /path/to/file
curl -Is https://yourdomain.com/ | head -1
du -hs /var/lib/* | sort --human-numeric-sort -rk1 | head -10



Related terms

See also

Advertising: