Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Locating usb drive files in Linux using shell  RSS feed

 
K. Tsang
Bartender
Posts: 3624
16
Firefox Browser Java Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello all, I'm pretty new to unix. I am a Linux system using shell only (no GUI). When I insert an USB drive, the computer detects it but how do I know where the usb drive's files are located within Linux filesystem? I know if I pop in a CD in the CD-ROM then that maps to /media directory. But what about usb drives?
 
Tim Holloway
Bartender
Posts: 18531
61
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This actually depends on the version and distro of Linux. But if you have one that auto-mounts cdroms under /media, normally it would also be set up to do so for USB drives. The name of the drive may be the volume's name, however, so it isn't always predictable.
 
K. Tsang
Bartender
Posts: 3624
16
Firefox Browser Java Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks Tim, I got it working. I had to mount it
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!