• Edit
  • Delete

Ubuntu list harddisks / lsblk

  • sudo lsblk -o NAME,FSTYPE,SIZE,MOUNTPOINT,LABEL,PARTLABEL,MODEL,SERIAL

Make permanent alias

  • vi /etc/bash.bashrc
    • alias lsblk="lsblk -o NAME,FSTYPE,SIZE,MOUNTPOINT,LABEL,PARTLABEL,MODEL,SERIAL"