OSMC /etc/-folder missing?

I am trying to locate log-files for my openVPN service.
I am told to look in the /etc/-folder.

I might be blind - but I can’t seems to find the /etc/ folder anywhere.

  • Not using ES File Explore (which is the only SMB v1 I get working)
  • Not using Putty
  • Not in .kodi folder either

So my BIG question is, where on earth (earth being my raspberry pi) do I find folders such as /etc/ and /var/ ?? are they “super hidden” ??

Well login to your OSMC via putty and run ls -lah / and you will see the folder
If not than post what you get

total 44K
drwxr-xr-x 7 osmc osmc 4.0K Mar 1 09:09 .
drwxr-xr-x 3 root root 4.0K Jan 1 1970 …
-rw------- 1 osmc osmc 456 Mar 2 06:33 .bash_history
-rw-r–r-- 1 osmc osmc 220 May 15 2017 .bash_logout
-rw-r–r-- 1 osmc osmc 3.5K May 15 2017 .bashrc
drwxr-xr-x 7 osmc osmc 4.0K Mar 1 12:22 .kodi
-rw-r–r-- 1 osmc osmc 675 May 15 2017 .profile
drwxr-xr-x 2 osmc osmc 4.0K Feb 18 23:15 Movies
drwxr-xr-x 2 osmc osmc 4.0K Feb 7 14:25 Music
drwxr-xr-x 2 osmc osmc 4.0K Feb 7 14:25 Pictures
drwxr-xr-x 2 osmc osmc 4.0K Feb 7 14:25 TV Shows
osmc@osmc:~$

still no ETC or VAR folders…

You did not run the command that @fzinken asked you to run. There is a trailing /

my mistake I didn’t see the ‘’ ok so i can see the etc folder now. How do I access it ?

Here is a cheatsheet and some tutorials for how to navigate in a Linux shell: Cheatsheets and Tutorials for users new to Linux based operating systems

1 Like

To save you any further trouble, on a vanilla installation of openvpn, you won’t usually find the logs in /etc. You need to run the command sudo journalctl -t <jobname> where <jobname> will probably be something like ovpn-xxxxxxx, where xxxxxxx is the name of the config file.

If you’re using a Kodi VPN add-on, then the above might not apply.

Edit. A different log location can be specified but the default location is in the system journal.