What's your most-used terminal trick nobody taught you?

I often end up working a lot with different drives and needing to know, definitively, which drive is really /dev/sdaN or /dev/nvme0nN. I added this alias to help me better identify which is which.

alias lsblk+=‘lsblk -o NAME,MAJ:MIN,RM,SIZE,RO,TYPE,MOUNTPOINTS,LABEL,PARTLABEL,FSTYPE’

4 Likes