Prev | Current Page 1241 | Next

Michael McCallister

"openSUSE Linux Unleashed"

Its most basic usage is as easy as it gets:
du
With this command, you get a long list of directories and the amount of space their files
take up. Add the ??“a switch, and you get an even longer list, with the size of each individual
file. One problem with this is that du outputs its sizes in bytes, which is excellent on
the accuracy scale, but can get annoying if you have video files with tens or even hundreds
of megabytes on the list. Coming to the rescue is the ??“h switch, making the results more
human-readable, if perhaps not so precise. Big files now read as 27M (for megabyte).
Combining these two switches, along with the ??“c switch, which gives you a total size,
gives you a very nice list of files and their sizes:
du ??“ahc /home/mikemc
The listing can be extremely long (especially if you have lots of files in your home directory).
Often the easiest things to do is redirect the output of the du command to a text
file. You can then browse the text file at your leisure, examining who??™s using the most
space on your disks.
Disk Free Space
A big problem for system administrators is disk management.


Pages:
1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253
pustaki szklane House Extension Kąty Rybackie noclegi kasyno Kołobrzeg