Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

du -k with file system and space listed

Status
Not open for further replies.

jmolson

MIS
Sep 30, 2002
7
0
0
US
I need help writing a script that will do a du -k and list the file system and space available each directory is in. I know if you do a dk -k . it will give the information I want but I cannot figure out how to combine that with the du -k information.

Thank you very much for your help.
 
Sorry - jmolson - I ( and the manual pages ) have never heard of dk command
du -k list subdirectories and size in kbytes
df -k list filesystems in kybytes
dk ??????????
;-) Dickie Bird
db@dickiebird.freeserve.co.uk
 
Sorry (smartass), it was obvously a typo. I ment df -k .
 
Hmmm...not exactly the way to win friends and get an answer to your question, jmolson.
 
Sorry,
This problem was really buggin me. Guess I am a little touchy today. I hate it when I can't get my scripts to run..... :-(
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top