Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

how to see unallocated hard disk space on linux

Answer Posted / uma

[root@station4 ~]# parted
GNU Parted 1.8.1
Using /dev/hdb
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) print


Model: ST380215A (ide)
Disk /dev/hdb: 80.0GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number Start End Size Type File system Flags
1 8225kB 26.2GB 26.2GB primary boot
2 26.2GB 26.4GB 206MB primary ext3
3 26.4GB 28.5GB 2097MB primary linux-swap
4 28.5GB 80.0GB 51.5GB extended
5 28.5GB 44.3GB 15.7GB logical ext3

(parted)q

The parted command displays the total size of the disk & the
space allocated to partitions. The remaining space (size)
not allocated to partitions is the unallocated space

OR

# fdisk -l ==> to view the size of the disk
# df -h ==> to view the size of the partitions

The remaining (balance) size is the unallocated size

Is This Answer Correct ?    19 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What the command used for list the contents of your home directory, current directory and all subdirectories?

945


Explain about document formatting?

1053


Is a command a full sentence?

1037


Who command in linux?

1003


You issue the command head * what would the resulting output be?

949


You are required to restore the file memo.ben. It was backed up in the tar file MyBackup.tar. Which command would you use to do it?

1044


What is git command?

972


What is grep command in linux with examples?

1030


How do I check memory usage on linux?

1068


How do I use nslookup in linux?

1028


How does mkdir work in linux?

1185


What are the mv command options?

872


Write a command that will look for files with an extension "c", and has the occurrence of the string "apple" in it.

1725


How do I check if my cpu is overclocked?

1023


Brief about the command ff?

1067