It Use Unit Suffixes
Q. How do I check free disk space in Linux or UNIX computer? I've migrated from Windows NT to Linux and looking out forward to find more information about free disk space.
A. Both Linux and UNIX offers two commands for considering free disk space:
(a) df command : Report file system disk space usage
(b) du command : Estimate file space usage
df command examples - to evaluate free disk space
Type df -h or df -k to list out free disk space:
$ df -hOR
$ df -kOutput:
Filesystem Size Used Avail Use% Mounted on /dev/sdb1 20G 9.2G 9.6G 49% / varrun 393M 144k 393M 1% /var/run varlock 393M 0 393M 0% /var/lock procbususb 393M 123k 393M 1% /proc/bus/usb udev 393M 123k 393M 1% /dev devshm 393M 0 393M 0% /dev/shm lrm 393M 35M 359M 9% /lib/modules/2.6.20-15-generic/volatile /dev/sdb5 29G 5.4G 22G 20% /media/docs /dev/sdb3 30G 5.9G 23G 21% /media/isomp3s /dev/sda1 8.5G 4.3G 4.3G 51% /media/xp1 /dev/sda2 12G 6.5G 5.2G 56% /media/xp2 /dev/sdc1 40G 3.1G 35G 9% /media/backup
he df utility displays statistics concerning the amount of free disk space for the specified file system or for the file system which often file is often a part. Values are displayed in 512-byte per block counts. -H choice is called as "Human-readable" output. It use unit suffixes: Byte, Kilobyte, Megabyte, Gigabyte, Terabyte and Petabyte to be able to reduce the amount of digits to four or fewer using base 10 for sizes i.e. the truth is 30G (30 Gigabyte).
du command examples
du shows the amount space one ore more files or directories is utilizing.
$ du -sh103M
-s option summarize the room a directory is applying and -h option provides "Human-readable" output.
Explained what I necessary to do to configure my machine
It similar that I needed to set up the samba client. I installed the packages
su
yum install samba-client.i686 samba-common.i686
and it appeared to start up fine. This config file appears to be geared towards the windows platforms accessing shares from the linux box. I didn't configure anything here. The thread then says to switch your firewall.
I then ran
system-config-firewall
and enabled samba inside "trusted services". It was capable of access my windows network shares from then on.
A. Both Linux and UNIX offers two commands for considering free disk space:
(a) df command : Report file system disk space usage
(b) du command : Estimate file space usage
df command examples - to evaluate free disk space
Type df -h or df -k to list out free disk space:
$ df -hOR
$ df -kOutput:
Filesystem Size Used Avail Use% Mounted on /dev/sdb1 20G 9.2G 9.6G 49% / varrun 393M 144k 393M 1% /var/run varlock 393M 0 393M 0% /var/lock procbususb 393M 123k 393M 1% /proc/bus/usb udev 393M 123k 393M 1% /dev devshm 393M 0 393M 0% /dev/shm lrm 393M 35M 359M 9% /lib/modules/2.6.20-15-generic/volatile /dev/sdb5 29G 5.4G 22G 20% /media/docs /dev/sdb3 30G 5.9G 23G 21% /media/isomp3s /dev/sda1 8.5G 4.3G 4.3G 51% /media/xp1 /dev/sda2 12G 6.5G 5.2G 56% /media/xp2 /dev/sdc1 40G 3.1G 35G 9% /media/backup
he df utility displays statistics concerning the amount of free disk space for the specified file system or for the file system which often file is often a part. Values are displayed in 512-byte per block counts. -H choice is called as "Human-readable" output. It use unit suffixes: Byte, Kilobyte, Megabyte, Gigabyte, Terabyte and Petabyte to be able to reduce the amount of digits to four or fewer using base 10 for sizes i.e. the truth is 30G (30 Gigabyte).
du command examples
du shows the amount space one ore more files or directories is utilizing.
$ du -sh103M
-s option summarize the room a directory is applying and -h option provides "Human-readable" output.
http://forums.fedoraforum.org/showth...re+list+server
Explained what I necessary to do to configure my machine
It similar that I needed to set up the samba client. I installed the packages
su
yum install samba-client.i686 samba-common.i686
and it appeared to start up fine. This config file appears to be geared towards the windows platforms accessing shares from the linux box. I didn't configure anything here. The thread then says to switch your firewall.
I then ran
system-config-firewall
and enabled samba inside "trusted services". It was capable of access my windows network shares from then on.