On a sunny day (Sun, 15 Jul 2018 17:26:32 +0000 (UTC)) it happened Martin
Gregorie wrote in :
>There's another command you need to know: pwd
>This tells you which directory you're in:
>
>- in root it will show /root - which is root's home directory
>- "cd ~/home" should fail unless (assuming pi is your home) you have a
> directory called 'home' in the pi user, i.e. /home/pi/home exists
Also useful is
whoami
root@raspberrypi:~/compile/pantel/ip_to_country# whoami
root
>--
>Martin | martin at
>Gregorie | gregorie dot org
>
--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)
|