This is a brief article that is long overdue.
When you clone your code onto a campus machine, you must be certain that you are working in a subdirectory of
You also must be sure that you are NOT working in a subdirectory of
Because if you don’t:
How do you know whether I’m in the right place?
joeminer@rc06xcs213:~/SDRIVE/My Documents$ pwd -P /nethome/users/joeminer/My Documents
nethome is there and
linuxhome is not?
That’s bad. Your programs will be slow and take forever to setup.
joeminer@rc06xcs213:~/SDRIVE/linuxhome/hw04$ pwd -P /nethome/users/joeminer/linuxhome/hw04
Now we can see
linuxhome there, but
nethome is there too!
That’s still bad.
cd into your
SDRIVE and then into
ssh into a machine (e.g., with PuTTY), you will land in your
linuxhome by default.
SDRIVE/linuxhome, you’re following this bizarre circular link that LOOKS like your
linuxhome, but it’s not right.
If you work here, you’ll experience the slowdown that we’re trying so hard to avoid.
joeminer@rc06xcs213:~/hw04$ pwd -P /mnt/dfs/joeminer/Users/joeminer/linuxhome/hw04
That looks great!
We see that
linuxhome is part of our path, but
Note that your home directory (i.e., the place you land when you SSH into a Linux machine) is
Conveniently, you can still edit your files with your favorite GUI editor (Sublime, Atom, etc) if you open your
Just make sure you’ve used
pwd -P to check that you’re working in the right place in your shell.