Cut question

Mike Keithley mkeithley at pobox.com
Sun Sep 14 21:24:01 EDT 2003


Hi list

I am trying to write a command to return free disk space so I can use it
in a script.  My most recent attempt is

df `pwd` | grep "/" | cut -f4

Now this returns the entire line from df like:

/dev/sdb2              8609476   3522184   4999820  42% /

What delimiter in cut do I need to pick off field 4?




More information about the Speakup mailing list