Skip to content

Instantly share code, notes, and snippets.

@headquarters
headquarters / format.sh
Created March 19, 2024 16:09 — forked from garethrees/format.sh
Format USB drive from the command line macOS
diskutil list
diskutil unmountDisk /dev/disk2
diskutil eraseDisk FAT32 SANDISK /dev/disk2
@headquarters
headquarters / bash-colors.md
Created July 7, 2021 15:23 — forked from JBlond/bash-colors.md
The entire table of ANSI color codes.

Regular Colors

Value Color
\e[0;30m Black
\e[0;31m Red
\e[0;32m Green
\e[0;33m Yellow
\e[0;34m Blue
\e[0;35m Purple