Skip to content

Instantly share code, notes, and snippets.

@michaellihs
Created January 13, 2020 14:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save michaellihs/8c147068ee102d219f7572f9d738e029 to your computer and use it in GitHub Desktop.
Save michaellihs/8c147068ee102d219f7572f9d738e029 to your computer and use it in GitHub Desktop.
Linux Cheat Sheet

Linux Cheat Sheet

Mounting additional Disks in Vagrant

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment