I recently bought a VPS and when I log in as a root user, I dont see the /boot, /bin, /var, etc. directories. Why is this?

This is what I see when I use my ls -la command in the terminal. I am the root user and in the root directory:

Output from "ls -la"

| improve this question | | | | |
  • 8
    Are you in the /root directory (the home directory of user root) or the filesystem root directory /? BTW there's no need to post screenshots for stuff like this: just copy/paste the terminal output as text. – steeldriver Jan 17 '15 at 1:45
  • 1
    Please add the output of pwd to your question. – Florian Diesch Jan 17 '15 at 1:45

It appears that you are in the directory /root and not /. Please type:

cd /
ls -al
| improve this answer | | | | |
  • @ripjerry - it happens to the best of us :) – Nathan Osman Jan 17 '15 at 6:49
  • I cannot believe this! Thanks. I was wondering why I saw no directories when I telnet as a root on VPS too. – netrox Apr 29 at 4:25

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.