1

Suddenly, the only folder that I can see in /root is snap. Notwithstanding, the blog that I have installed on the website keeps working.

ls output

Output of ls -al /:

ls -al / output

Kulfy
  • 17,696
2-D
  • 11
  • Probably you are not in "root" directory. Please, run the command ls -al / – FedKad Feb 02 '21 at 06:50
  • 1
    Shouldn't cd ~ leads me to root directory? Anyway, this is what the command returns https://imgur.com/a/SAPpR3M – 2-D Feb 02 '21 at 06:55
  • @2-D / and /root are different. /root is the home of root user while / is root directory. The directories in /root in the screenshot provided seems fine to me since root user is not the default user making it's $HOME being less frequently used (unless you work after gaining root privileges). Please [edit] your question and let us know what you expect and what's happening. Moreover, please try to directly copy and paste terminal output into your question. Pictures are slower to load and it's impossible to copy/search from them. – Kulfy Feb 02 '21 at 08:11
  • 2
  • Thank you guys. I think the lack of sleep corrupted my brain last night. – 2-D Feb 02 '21 at 13:44

1 Answers1

1

You are in the home directory of user root, which is /root. Use pwd to check your current directory.

vanadium
  • 88,010