Computer science: when a relative path stops working

Self-tutoring about computer science: the tutor shares a recent discovery.

I’ve been using a directory structure in a new context that doesn’t seem to recognize relative paths. For instance, let’s imagine the directory structure

From dir3, the link

./the_file.txt

used to lead to the_file.txt. Yet now, it doesn’t.

So now, /dir0/dir3/the_file.txt is needed to access the_file.txt in dir3.

HTH:)

unix.stackexchange.com

Jack of Oracle Tutoring by Jack and Diane, Campbell River, BC.

Leave a Reply