0

I am trying to find where the program gpsd is saved because I need to edit a file to get my pi and gps to talk.

I have been following instructions from http://www.instantsupportsite.com/self-help/raspberry-pi/raspberry-globalsat-353s4-install/.

I believe my target file (gpsd.hotplug) is saved somewhere else then what my instructions suggest because when I enter nano /lib/udev/gpsd.hotplug, I get a new blank text file.

How do I track down gpsd.hotplug and more generally, the location gpsd is installed?

I have tried find gpsd.hotplug but was greeted with find: 'gpsd.hotplug': No such file or directory.

I am running raspbian version 4.1.13.

Thanks for your help!

0

When using find, a directory is needed as well. The command you should be using is:

find gpsd.hotplug /

or:

sudo ls -aR / | grep "gpsd.hotplug" -B 15
  • I tried both options and did not find the file so the file probably does not exist. How could I find where the GPSD directory is? I have tried your above suggestions replacing gpsd.hotplug with both gpsd and cgps Thank you so much! – Jordan Walters Mar 12 '16 at 21:58
  • @JordanWalters you can use sudo ls -aR / | grep gpsd – Patrick Cook Mar 12 '16 at 22:00
0

You can find all the files by using this command:

sudo find / gpsd | grep gpsd

Here are the results on my system: enter image description here

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.