I am Linux novice, I am working with some C++ code that opens files in the following directory:
#define SCS_HOME "/home/scs/" // Target Machine.
#define PATH_TO_SCS QString(SCS_HOME) + "SCS/"
So, my terminal, in my screenshots, is it currently pointing at home/scs/SCS ? I don't think so.
Why not? The directory is clearly listed in the output of
ls, and you even changed into it.
What is confusing is that if we use the Ubuntu file explorer the home directory is just /home
No, the dialog says that the location of your home directory (which is called
/home/. Your home directory is in
/home/; that's its location. It is
If navigate to the SCS directory it is just /home/scs.
Yes, similarly, the SCS directory is found inside
/home/scs/. That's its location.
Here's your directory structure:
/ +--- home | +--- scs | | +--- SCS
What is confusing is that you created a user account named
scs, with a home directory
/home/scs, then put a directory named
SCS inside it. Seems like a bad name for the directory.