added mounting usb instructions to linux_notes

This commit is contained in:
tomit4 2021-11-11 16:46:14 -08:00
parent 5eb171c147
commit c741cadc88

View file

@ -44,6 +44,17 @@ And decompress directory:
gpg -d folder.tar.gz.gpg | tar -xvzf -
To mount a usb drive via terminal:
cd /mnt
mkdir media
mkdir media/usb-drive
mount /dev/sda1 media/usb-drive
And to unmount the usb drive:
umount media/usb-drive
(make sure to clear your history afterwards)
history -c