lightning talk 3: linux «tree» utility - alex petrov

3
Linux «Tree» utility

Upload: ruby-meditation

Post on 11-Apr-2017

23 views

Category:

Technology


1 download

TRANSCRIPT

Page 1: Lightning talk 3: Linux «Tree» Utility - Alex Petrov

Linux «Tree»utility

Page 2: Lightning talk 3: Linux «Tree» Utility - Alex Petrov

Useful Paramsman tree For full command info

-F Append a `/' for directories, a `=' for socket files, a `*' for executable files

-h Print the size of each file but in a more human readable way, e.g. app ending a size letter for kilobytes (K), megabytes (M), gigabytes (G), terabytes (T), petabytes (P) and exabytes (E).

--du For each directory report its size as the accumulation of sizes of all its files and sub-directories (and their files, and so on). The total amount of used space is also given in the final report (like the 'du -c' command.)

Page 3: Lightning talk 3: Linux «Tree» Utility - Alex Petrov

Usage