Friday, May 20, 2016

Storage Device Capacity Measuring Commands

01. Hard Disk Drive Storage Measuring Commands
[root@srinivaslinux~]# df –hT /

02. Boot Partition Storage Measuring Commands

[root@srinivaslinux~]# df –hT /boot


Removable Media Storage Measuring Commands (First you have to mount it)

03. CD/DVD/CD-RW/DVD-RW Storage Measuring Commands

[root@srinivaslinux~]# df –hT /dev/scd0

04. Floppy Disk Drive Storage Measuring Commands

[root@srinivaslinux~]# df –hT /dev/fd0

05. USB Storage Measuring Commands

[root@srinivaslinux~]# df –hT /dev/sdb1

06. Folder Storage Measuring Commands
[root@srinivaslinux~]# du –h /etc (Display all file and folder details)
[root@srinivaslinux~]# du –hs /etc (Display folder details only)

07. File Storage Measuring Commands

[root@srinivaslinux~]# du –h /boot/grub/grub.conf

No comments:

Post a Comment