you can use 'pwd' to find the current working directory. But as brad said you are in roots home.
"The home of the root user" != "the root directory".


05:41  [EMAIL PROTECTED]:~# pwd
/root
05:41  [EMAIL PROTECTED]:~# cd /
05:41  [EMAIL PROTECTED]:/# pwd
/
05:41  [EMAIL PROTECTED]:/#

Cheers,
Tim

Rob Wood wrote:
Greetings,
When I log in as root say on my debian box (text only)I have a prompt:

mkIIdebian:~#

1. If I do 'ls' from here I get a file list:

dead.letter  install-report.template and dbootstrap.settings

2. If I go to the root directory 'cd /' and do 'ls' I get the following plus others

bin dev home temp var mnt

So where was I at 1. and why wasn't I in the root directory as I had logged in as root?

Not an important query but one of those niggling questions.

Cheers Woodsey

Reply via email to