I need to find a document which contains an specific word. The document is in my external hard drive but there are thousands of documents in it and I cannot find it. I think that using the command 'grep' I'll be able to find it, but when I try to access my external hard drive via the path cd /media/…. the terminal returns the message: "The file or directory doesn't exist". However, when I run the command 'ls' the hard drive is shown (in green) together with the other USB drives. Also, when I try to access the other usb drives there is no problem at all.
What am I doing wrong? How can I access the external hard drive?
Thank you very much in advance
Joan
Best Answer
Unmount the USB flash drive, unplug it, and do
Plug it back in and press F3 then Enter
compare the results and identify where your flashdrive automounts to; let's say it automounts to /dev/sdc1
Then, perform this command (and change /dev/sdc1 to reflect where that USB drive automounts to)
Then you should be able to grep the contents of /media/usb