Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Locating usb drive files in Linux using shell

 
K. Tsang
Bartender
Posts: 3395
13
Android Java
  • 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
Saloon Keeper
Pie
Posts: 18093
48
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: 3395
13
Android Java
  • 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