0

following up previos question I am anble to kount hard disk but now follow up question is that can we have any command/script/alis or feature so that whenever we insert external HDD and it mounted;

curently I can check with below command

sudo blkid show

/dev/sda1: LABEL="Seagate Backup Plus Drive" BLOCK_SIZE="512" UUID="D012032A120314DE" TYPE="ntfs" PARTUUID="db2dad7b-01"

but when try with grep 'Segate'

sudo blkid show | grep 'Segate'

it doesnt show any output; how can we get the sepecific one

now main question is; can we mount automatically as everytime I have to mount by check disk address and then use mount

can we create any shortcut aur alias; I want that if external hard disk attached then running that command will automatically mount the HDD.

xkeshav
  • 809
  • 1
  • 9
  • 23

0 Answers0