Df (Bash): verschil tussen versies
Naar navigatie springen
Naar zoeken springen
Regel 7: | Regel 7: | ||
sudo fdisk -l | grep Disk | sudo fdisk -l | grep Disk | ||
− | Only include info concerning a | + | Only include info concerning a specific device: |
<pre> | <pre> | ||
Regel 15: | Regel 15: | ||
/dev/vda1 388G 339G 49G 88% / | /dev/vda1 388G 339G 49G 88% / | ||
</pre> | </pre> | ||
+ | |||
+ | I have this statement included in <code>.profile</code> on a webserver, only to realize that similar information is already included in the startup. |
Huidige versie van 12 sep 2022 om 10:51
Diskruimte-gebruik in human format:
df -h
Hoe groot is mijn harddisk?
sudo fdisk -l | grep Disk
Only include info concerning a specific device:
$ df -h /dev/vda1 Filesystem Size Used Avail Use% Mounted on /dev/vda1 388G 339G 49G 88% /
I have this statement included in .profile
on a webserver, only to realize that similar information is already included in the startup.