Posts: 19
Joined: Mar 2016
Reputation:
0
2016-03-28, 17:08
(This post was last modified: 2016-03-28, 17:12 by TheSaint67.)
I see. the -p goes to the root. got it. thanks.
Nvidia Shield Pro
Kodi 19.x (it self updates, not sure what we are on now)
** need advice on an NAS Server for Kodi to access **
Posts: 3,901
Joined: Sep 2013
Reputation:
358
2016-03-28, 17:15
(This post was last modified: 2016-03-28, 17:18 by black_eagle.)
Errr, no not quite.
pwd gives you the current working directory, so yeah that's correct.
ls (not dir) shouldn't however give you etc. That's a system directory and should be in the root of your drive. To get to the root of your drive cd / Note the space. To get back to your home directory cd ~/
EDIT
The -p doesn't go to root, it tells mkdir to make any parent directories it might need. The leading / tells it to start in the root of the drive. Slashes and spaces are important in Linux.
Learning Linux the hard way !!
Posts: 19
Joined: Mar 2016
Reputation:
0
Thanks! (love your signature)
getting a note pad for my own command book. ;-) I already forgot what I learned last night. now trying to move my file from the wrong directory. doesnt seem to want to take. I'll march on.
Nvidia Shield Pro
Kodi 19.x (it self updates, not sure what we are on now)
** need advice on an NAS Server for Kodi to access **
Posts: 3,901
Joined: Sep 2013
Reputation:
358
lol, my signature is true !!
You probably need sudo in front of any command you are using to move your file (cp or mv). By default, Linux does not allow any users other than root to write in system directories. The sudo command gives you temporary root powers and allows this access. When it asks for a password, you use your normal login password (nothing is echoed to the screen when you type it).
Learning Linux the hard way !!