How To Get Your Geolocation From Commandline In Linux

7 Responses

  1. Warren L Shafor says:

    How could I get this to work on OS X?

  2. SpecialEd says:

    When I run whereami I get the following error message:

    Can’t write PID file to /var/run/whereami.started.20241 at /usr/sbin/whereami line 229.

    Any suggestions?

  3. Claudiu says:

    Hi,

    I am new with Linux and having some issues with the “whereami” command.
    To be more accurate, if I try to use it in a bash script like this:

    echo “You are now working from $(whereami –f human)”;

    then the output will only contain the location, without the “You are now working from” string before it.

    Any thoughts?

    Thanks

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.