TLDR
Enter a command. For example: rename, base64, getfileinfo, head.

diskutil

 
Utility to manage local disks and volumes. More information: https://ss64.com/osx/diskutil.html.
 
  • List all currently available disks, partitions and mounted volumes:
     
    diskutil list
     
  • Repair the filesystem data structures of a volume:
     
    diskutil repairVolume {{/dev/diskX}}
     
  • Unmount a volume:
     
    diskutil unmountDisk {{/dev/diskX}}
     
  • Eject a CD/DVD (unmount first):
     
    diskutil eject {{/dev/disk1}}

This is a tldr pages (source, CC BY 4.0) web wrapper for cheat-sheets.org. All commands, popular commands, most used linux commands. Referrals. Progressive Web Application (PWA) version to install on your device.