This document is a WORK IN PROGRESS.
This is just a quick personal cheat sheet: treat its contents with caution!
TODO: split this cheat sheets in multiple dedicated ones (one per command).
Table of contents¶
Turn off a disk after unmounting it:
$ sudo udisksctl unmount -b /dev/disk/by-label/disklabal && sudo udisksctl power-off -b /dev/disk/by-label/disklabal
- Check disks space:
- Check disks partitions:
- Browse disks space:
Mount an NTFS disk with
755permissions for directories and
Mount a CIFS disk (e.g. samba server?) (⚠️ Prerequisite package for Ubuntu:
Unmount a disk:
Eject a disk:
Very safe way to unplug HDD by putting it in sleep mode first:
If this cheat sheet has been useful to you, then please consider leaving a star here.