On Sun, 15 Jul 2018 09:51:42 +1200, IB JOE wrote:
> On 07/14/18, Jan Panteltje said the following...
>
> JP>
> JP> ...
> JP> sudo cp -r /home/Desktop/Temp/public/* /var/www/html/
> JP> ....
> JP>
>
> I tried this command in root and I tried it with /home/Desk... as well
> as ~/home/...
> and it doesn't copy files over.
>
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
--
Martin | martin at
Gregorie | gregorie dot org
--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)
|