Storage Device Capacity Measuring Commands

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

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

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

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

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

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

0 comments:

Post a Comment