216 Part II . (Hp web site) Getting Around in Linux

216 Part II . Getting Around in Linux Table 5-9 Options Used with du Option Use -b Displays size in bytes. -c Prints a total for all arguments after they are processed. -h Creates human readable output, appending letters such as M for megabytes. -k Displays size in kilobytes. -m Displays size in megabytes. -s Displays a summary total for each argument. -x Skips directories containing file systems other than the one contained in the argument. -a Shows counts for all files and directories. The following example shows the correct usage of the du utility to report the space used by the /usr directory. # du -sh /usr 1007M /usr df The df utility is used to display disk space used and available on mounted file systems. When no options are used, the df utility reports the space used and available on all currently mounted file systems. A variety of options can be used to control the output produced by the dfutility; these options are shown in Table 5-10. Table 5-10 Options Used with df Option Use -a Shows counts for all file systems. -t FILESYSTEM Limits the listing to those of the specified file system type. -h Creates human readable output, appending letters such as M for megabytes. -k Displays size in kilobytes.
Searching for affordable and reliable webhost to host and run your web applications? Go to our java web server services and you will be pleased.

Leave a Reply