Introduction

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 linuxhome.

Why?

Because if you don’t, insane things will happen.

You are likely to run into an issue known as “that function-not-implemented issue”, where your files get eaten up.

  • It happened to CS 2001 students.
  • It happens during MegaMinerAI.
  • It will cause you all kinds of headache.
  • It is avoidable.

How do you know if your current directory is a subdirectory of linuxhome?

Use pwd -P

When you are not in a subdirectory of linuxhome

joeminer@rc06xcs213:~/SDRIVE/My Documents$ pwd -P
/nethome/users/joeminer/My Documents

That’s bad.

When you are in a subdirectory of linuxhome

joeminer@rc06xcs213:~/SDRIVE/My Documents$ pwd -P
/nethome/users/joeminer/linuxhome/hw04

That’s good!

Wait… I don’t see nethome

That’s fine. You may also see…

joeminer@rc06xcs213:~/hw04$ pwd -P
/mnt/dfs/joeminer/Users/joeminer/linuxhome/hw04

Looks good, pal.