Skip to content

Instantly share code, notes, and snippets.

@justingoldberg
Last active July 10, 2023 20:24
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 justingoldberg/c030db9ca491b0105e9c1c0fadc555e8 to your computer and use it in GitHub Desktop.
Save justingoldberg/c030db9ca491b0105e9c1c0fadc555e8 to your computer and use it in GitHub Desktop.
MacOSX / Linux Aliases
#Recreate Linux commands on MacOS
#Imperfect, this is a work in progress.
#alias lsusb="ioreg -p IOUSB -w0 | sed 's/[^o]*o //; s/@.*$//' | grep -v '^Root.*'"
alias lsusb="diskutil list"
alias blkid="df -Hl"
alias lsblk="df -Hl"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment