$ fdisk /dev/sdb
Welcome to fdisk (util-linux 2.34).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.
Command (m for help):
#enter g to create a new gpt partition table
Command (m for help): g
Created a new GPT disklabel (GUID: 4649EE36-3013-214E-961C-51A9187A7503).
# Run the n command to create a new partition
Command (m for help): n
Partition number (1-128, default 1): #hit enter
First sector (2048-500118158, default 2048): #hit enter
# for the last sector, use +symbol and then enter the size of the partition in
# kibibytes (K), mebibytes (M), gibibytes (G), tebibytes (T), or pebibytes (P).
Last sector, +/-sectors or +/-size{K,M,G,T,P} (2048-500118158, default 500118158): +100G
Created a new partition 1 of type 'Linux filesystem' and of size 100 GiB.