title: Get free disk space with df to just display free space in kb?
body: <p>I'm trying to output the amount of free disk space on the filesystem <code>/example</code>.</p>
  
  <p>If I run the command <code>df -k /example</code> I can get good information about available disk space in kb but only by  being human and actually looking at it.</p>
  
  <p>I need to take this data and use it somewhere else in my shell script. I initially thought about using <code>cut</code> but then my script wont be portable to other disks as free disk space will vary and cut will not produce accurate results.</p>
  
  <p>How can I get output of just the free disk-space of example in kb?</p>