du command in Linux is used too check the amount of disk space being used by a directory and its sub directories , if we give the du command without specifying a directory than the commands work for r the pwd or the directory in which we are working currently
Here are some of the switches than can be used with the du command
du -a Shows counts for all files and directories.
du -b Displays size in bytes.
du -c Prints a total for all arguments after they are processed.
du -h Creates human readable output, appending letters such as M for megabytes.
du -k Displays size in kilobytes.
du -m Displays size in megabytes.
du -s Displays a summary total for each argument.
du -x Skips directories containing file systems other than the one contained in the argument
Related posts:
- History file in Linux and its Path History file in Linux is the file in which the...
- How to install fonts Linux There are many ways by which you can install fonts...
- Command to Extract .tar.bz2 files .tar.bz2 Are files that have been bzipped using the...
- Command to Change Drive in DOS I always thought that I was a command line guru...
- dmesg linux boot messages dmesg command The messages that appear on the screen while...
- How is Linux Different than Solaris Differences between Linux and Solaris Linux is also just a...
no comment untill now