I want to know how many partitions are in my system and I used fdisk (found the command on google). The following came out, and I'm not too sure where it says how many partitions.
# fdisk -l
WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.
Disk /dev/sda: 21.5 GB, 21474836480 bytes
255 heads, 63 sectors/track, 2610 cylinders, total 41943040 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Device Boot Start End Blocks Id System
/dev/sda1 1 41943039 20971519+ ee GPT
Disk /dev/mapper/vg_virtualcomputerelmo-lv_swap: 2113 MB, 2113929216 bytes
255 heads, 63 sectors/track, 257 cylinders, total 4128768 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Disk /dev/mapper/vg_virtualcomputerelmo-lv_swap doesn't contain a valid partition table
Disk /dev/mapper/vg_virtualcomputerelmo-lv_root: 18.8 GB, 18824036352 bytes
255 heads, 63 sectors/track, 2288 cylinders, total 36765696 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Disk /dev/mapper/vg_virtualcomputerelmo-lv_root doesn't contain a valid partition table