LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 06-27-2006, 10:14 AM   #1
cleopard
Member
 
Registered: May 2006
Posts: 39

Rep: Reputation: 15
Cool 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.
 
Old 06-27-2006, 10:20 AM   #2
ethics
Senior Member
 
Registered: Apr 2005
Location: London
Distribution: Arch - Latest
Posts: 1,522

Rep: Reputation: 45
Code:
man df
Should be able to configure to give whatever output you want
 
Old 06-27-2006, 10:24 AM   #3
Theorist
Member
 
Registered: Jun 2006
Distribution: FC5, FC3, RHEL 3, Debian 3.1, Debian 3.0
Posts: 56

Rep: Reputation: 15
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
 
Old 06-09-2011, 08:19 AM   #4
rishi
LQ Newbie
 
Registered: May 2011
Posts: 1

Rep: Reputation: Disabled
use df -P
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to install .bdf files in suse 10.0? noorudin Linux - Software 1 05-30-2006 10:55 AM
how to install bdf files in suse 10.0? noorudin Linux - Software 1 05-30-2006 08:58 AM
Command and Unix help thinkgeek Programming 3 07-05-2005 01:24 AM
Is exp an Unix command? gopikrish Linux - Newbie 4 12-13-2004 01:19 AM
unix command to linux command leonidas Linux - General 1 09-10-2004 12:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:27 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration