how to check full hard drive size in LINUX Command line

Commands are really great in LINUX environment and specially in command line, they really rocks everything. You can get any information about your system you like. I was wondering and looking for a command that can give me the total hard drive size in LINUX. I can use a tool available on the internet but I was not very much interested in that kind of tools so I tried to google and find a command but was not still very much successful so I discussed this thing with one of my friend and he gave me this marvelous command to get total size of the hard disk attached with a computer running a LINUX distribution in command line. command is given as under;

fdisk – l | grep Disk

For a full reference and see what else can fdisk command do for you, please visit the under given page;

fdisk command

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.