No "etc" folder!?

November 3, 2016 107 views
Nginx Ubuntu 16.04

I am using Serverpilot since I am new to managing a server. So I have been reading to learn the basics.

I keep coming across articles that reference to the "etc" folder. But I can not find any such folder. All I have are the following folders (each with their own sub folders and files but no "etc" file anywhere):
Apps
Log
Run
Temp

Am I missing something? Does Serverpilot not create that folder when they install everything?

Thanks in advance.

1 Answer

When you first log into your droplet you are placed in your user's home directory. If you log in as root this will be /root, otherwise it will be /home/username. Serverpilot, to the best of my knowledge creates the folders you mentioned within the home directory.

To access the root of your droplet's drive and locate the /etc/ folder you will have to change up a directory or two to reach /. To do so you can use the command cd .. to move up a directory, or if you are logging in with an SFTP client like Filezilla instead of an SSH client you can find .. usually at the top of the directory listing which will let you move up a directory.

Have another answer? Share your knowledge.