Start networking and exchanging professional insights

Register now or log in to join your professional community.

Follow

Which command will show how much free disk space is available in the current directory?

(LPI101 Exam)

user-image
Question added by mohammed el hosseny , Network operation center (NOC ) Engineer , TEData
Date Posted: 2013/12/20
Ahmed Zribi
by Ahmed Zribi , scrum master , Capgemini Engineering

df -h display all mounted disks and available / free space (-h for displayed in MB or GB, ... otherwise it display on Byte)

Smir Abdullaatif
by Smir Abdullaatif , Sr. Engineer , Etisalat

du: is used for a given directory

df: is used for the whole hard disk 

Akash Dubey
by Akash Dubey , Senior Technical Lead , Fulcrum Software Worldwide Pvt. Ltd.

* assuming path to your dir is /opt/UFO

 

df -h  /opt/UFO

More Questions Like This