LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Unix 'bdf' command (https://www.linuxquestions.org/questions/linux-general-1/unix-bdf-command-458776/)

cleopard 06-27-2006 10:14 AM

Unix 'bdf' command
 
I'm in the process of moving scripts and code from a Unix server over to Linux and I came across one script that uses the 'bdf' command (which I hadn't heard of before) which reports the number of free disk blocks. There doesn't appear to be a 'bdf' command on Linux, though there's probably one that does the same thing. Does anyone know of a Linux command that is the equivalent of the Unix 'bdf'? Thank you.

ethics 06-27-2006 10:20 AM

Code:

man df
Should be able to configure to give whatever output you want

Theorist 06-27-2006 10:24 AM

Hi cleopard,
You can use 'df' instead of 'bdf' which is a Berkeley form of 'df' which measures in 1024-byte blocks as opposed to 512-byte blocks in 'df'.

With Regards,
Theorist

rishi 06-09-2011 08:19 AM

use df -P


All times are GMT -5. The time now is 10:53 PM.