fdisk /dev/sdc # create new partition with <n>, ... all defaults
ls -la /dev/sd* # check for new device name
sudo mkfs.ext4 /dev/sdc1 # format new partition with ext4
sudo mount /dev/sdc1 /mount/sdc # mount partition
Created
January 13, 2020 14:56
-
-
Save michaellihs/8c147068ee102d219f7572f9d738e029 to your computer and use it in GitHub Desktop.
Linux Cheat Sheet
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment