Answer :

Type du -a /dir/ | sort -n -r | head -n 20. du will calculate the file space used. The sort will sort out the output of a du command.

Why is Linux used?

  • Linux is an open source operating system (OS).
  • An operating system, which is a piece of software, is directly in charge of managing the hardware and resources of a system, including the CPU, memory, and storage.
  • By sitting between applications and hardware, the operating system (OS) creates connections between all of your software and the operational physical resources. Many of the gadgets you likely own, such as Android smartphones, tablets, and Chromebooks, as well as digital storage, cameras, wearable technology, personal video recorders, and more, all support Linux.  
  • Your automobile has Linux running on the inside. Linux is an open-source alternative to Windows OS, which is a for-profit operating system.

To learn more about Linux, refer to:

https://brainly.com/question/25480553

#SPJ4