du command in linux

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:

  1. History file in Linux and its Path History file in Linux is the file in which the...
  2. How to install fonts Linux There are many ways by which you can install fonts...
  3. Command to Extract .tar.bz2 files .tar.bz2 Are files that have been bzipped using the...
  4. Command to Change Drive in DOS I always thought that I was a command line guru...
  5. dmesg linux boot messages dmesg command The messages that appear on the screen while...
  6. How is Linux Different than Solaris Differences between Linux and Solaris Linux is also just a...

Trackback

no comment untill now

Sorry, comments closed.