Quote:
Originally Posted by saheelahamed
hi,
i want command to find harddisk size and ramsize of my system
|
as root user use the command :
fdisk -l | grep Disk
it shows disk-size(after fdisk its a small 'ell')
as normal user you may use
df -H
to view size stats of mounted partitions
try this for ram size
cat /proc/meminfo | awk 'match($1,"MemTotal") == 1 {print $2}'
hope it helps.
Cheers !
---------------
Linux is about class , choice and fabulous communities !!!!!