A month on the command line -- Day 2: Mounting a USB flash drive
Thanks to all who left comments on A month on the command line, Day 1.
Mounting my USB flash drive from the command line was easy.
First I made a directory:
$ mkdir flash
Then I became the "super user" (entering the root password when prompted):
$ su
Then I mounted the drive to it:
# mount /dev/sda /home/steven/flash
Then exiting as su:
# exit
Now a check of what's there:
$ ls flash
And I see the directories and files on the flash drive. Thanks again, everybody.




pmount will let you do this as a regular user (superuser'll have to add your login to the plugdev group.)
Sudo will let you execute a command at a time as root without needing to su. And it can even insult you when you get the password wrong.
I did the cli bit for a while a decade ago when I only had a very old laptop (33Mhz).
You inspired me to take a look at text based browsers again, and noticed that links2 has javascript support, but does not seem to handle ajax, which makes this whole thing a no-go for me since I'm doing ajax development.