Difference between revisions of "Head (command)"
Jump to navigation
Jump to search
(2 intermediate revisions by 2 users not shown) | |||
Line 10: | Line 10: | ||
[[du -hs]] /var/lib/* | sort --human-numeric-sort -rk1 | head -10 | [[du -hs]] /var/lib/* | sort --human-numeric-sort -rk1 | head -10 | ||
+ | |||
+ | [[head -c]] 1G </dev/urandom >myfile | ||
== Related terms == | == Related terms == | ||
* <code>[[tail]]</code> | * <code>[[tail]]</code> | ||
+ | * [[Remove first line]]: <code>[[tail -n +2]]</code> | ||
* <code>[[fallocate]]</code> | * <code>[[fallocate]]</code> | ||
Latest revision as of 17:38, 14 December 2023
Advertising: