Storage Device Capacity Measuring Commands

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

02. Boot Partition Storage Measuring Commands
[root@server ~]# 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@server ~]# df –hT /dev/scd0

04. Floppy Disk Drive Storage Measuring Commands
[root@server ~]# df –hT /dev/fd0

05. USB Storage Measuring Commands
[root@server ~]# df –hT /dev/sdb1

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

07. File Storage Measuring Commands
[root@server ~]# du –h /boot/grub/grub.conf

------------------------------------------------------------------------------------------

0 comments: