Skip to main content
Improved formatting. Minor fixes.
Source Link
Pablo A
  • 3.2k
  • 1
  • 26
  • 46

This command will list the 15 largest in order:

du -xhS | sort -h | tail -n15

du -xhS | sort -h | tail -n 15 

We use the -x flag to skip directories on separate file systems.

The -h on the du gives the output in human readable-readable format, sort -h can then arrange this in order.

The -S on the du command means the size of subdirectories is excluded.

You can change the number of the tail to see less or more. Super handy command.

This command will list the 15 largest in order:

du -xhS | sort -h | tail -n15

We use the -x flag to skip directories on separate file systems.

The -h on the du gives the output in human readable format, sort -h can then arrange this in order.

The -S on the du command means the size of subdirectories is excluded.

You can change the number of the tail to see less or more. Super handy command.

This command will list the 15 largest in order:

du -xhS | sort -h | tail -n 15 

We use the -x flag to skip directories on separate file systems.

The -h on the du gives the output in human-readable format, sort -h can then arrange this in order.

The -S on the du command means the size of subdirectories is excluded.

You can change the number of the tail to see less or more. Super handy command.

deleted 1 character in body
Source Link
alpha
  • 2k
  • 12
  • 21

This command will list the 15 largest in order:

du -xhS | sort -h | tail -n15

We use the -x flag to skip directories on separate file systems.

The -h on the du gives the output in human readable format, which sort -h can then arrange this in order.

The -S on the du command means the size of subdirectories is excluded.

You can change the number of the tailtail to see less or more. Super handy command.

This command will list the 15 largest in order:

du -xhS | sort -h | tail -n15

We use the -x flag to skip directories on separate file systems.

The -h on the du gives the output in human readable format, which sort can then arrange this in order.

The -S on the du command means the size of subdirectories is excluded.

You can change the number of the tail to see less or more. Super handy command.

This command will list the 15 largest in order:

du -xhS | sort -h | tail -n15

We use the -x flag to skip directories on separate file systems.

The -h on the du gives the output in human readable format, sort -h can then arrange this in order.

The -S on the du command means the size of subdirectories is excluded.

You can change the number of the tail to see less or more. Super handy command.

added 4 characters in body
Source Link
alpha
  • 2k
  • 12
  • 21

This command will list the 15 largest in order:

du -xhS | sort -h | tail -n15

We use the -x flag to skip directories on separate file systems.

the '-h'The -h on the dudu gives the output in human readable format, which sort can then arrange this in order.

theThe -S on the dudu command means the size of subdirectories is excluded.

You can change the number of the tail to see less or more. Super handy command.

This command will list the 15 largest in order:

du -xhS | sort -h | tail -n15

We use the -x flag to skip directories on separate file systems.

the '-h' on the du gives the output in human readable format, which sort can then arrange this in order.

the -S on the du command means the size of subdirectories is excluded.

You can change the number of the tail to see less or more. Super handy command.

This command will list the 15 largest in order:

du -xhS | sort -h | tail -n15

We use the -x flag to skip directories on separate file systems.

The -h on the du gives the output in human readable format, which sort can then arrange this in order.

The -S on the du command means the size of subdirectories is excluded.

You can change the number of the tail to see less or more. Super handy command.

Source Link
alpha
  • 2k
  • 12
  • 21
Loading