Linux Commands I use frequently

List directories by size To list directories by size in Linux, displaying the size in human-readable units like MB or GB, the du command is used in conjunction with sort. The following command lists the sizes of subdirectories within the current directory, sorted from largest to smallest, with sizes displayed in human-readable format: Explanation: To check the size…