Answers for "format pendrive linux"

3

format pendrive linux

# Identify USB drive in your system
df -h

# Linux can't format devices that are mounted. Unmoute using
sudo umount /dev/sdc1 

# Format with file system
# use any of
sudo mkfs.vfat /dev/sdc1 
sudo mkfs.ntfs /dev/sdc1 
sudo mkfs.ext4 /dev/sdc1
Posted by: Guest on July-11-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language