User Tools

Site Tools


wiki:show_hard_disk_size

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
wiki:show_hard_disk_size [2023/09/06 10:56] walkeradminwiki:show_hard_disk_size [2023/09/06 11:14] walkeradmin
Line 11: Line 11:
     fdisk -l | grep '^Disk'     fdisk -l | grep '^Disk'
 \\  \\ 
 +==== Example ====
 +<file>
 +fdisk -l | grep '^Disk'
 +
 +Disk /dev/sda: 465.76 GiB, 500107862016 bytes, 976773168 sectors
 +Disk model: Samsung SSD 850 
 +Disklabel type: dos
 +Disk identifier: 0x1f26beb5
 +Disk /dev/mapper/almalinux-root: 70 GiB, 75161927680 bytes, 146800640 sectors
 +Disk /dev/mapper/almalinux-swap: 7.79 GiB, 8367636480 bytes, 16343040 sectors
 +Disk /dev/mapper/almalinux-home: 386.96 GiB, 415500337152 bytes, 811524096 sectors
 +</file>
 \\  \\ 
 +The first line in the output shows the hard disk size:
 +\\ 
 +\\ 
 +Disk /dev/sda: <color #ed1c24>465.76 GiB</color>, 500107862016 bytes, 976773168 sectors
 +
  
wiki/show_hard_disk_size.txt · Last modified: 2023/09/06 11:17 by walkeradmin