{"id":36223,"date":"2018-11-18T16:39:23","date_gmt":"2018-11-18T16:39:23","guid":{"rendered":"https:\/\/www.oracletutoring.ca\/blog\/?p=36223"},"modified":"2018-11-18T16:39:23","modified_gmt":"2018-11-18T16:39:23","slug":"computer-science-when-a-relative-path-stops-working","status":"publish","type":"post","link":"https:\/\/www.oracletutoring.ca\/blog\/computer-science-when-a-relative-path-stops-working\/","title":{"rendered":"Computer science: when a relative path stops working"},"content":{"rendered":"<h2>Self-tutoring about computer science: the tutor shares a recent discovery.<\/h2>\n<p>I&#8217;ve been using a directory structure in a new context that doesn&#8217;t seem to recognize relative paths. For instance, let&#8217;s imagine the directory structure<\/p>\n<p><img decoding=\"async\" src=\"\/images\/dirs.png\" style=\"display:block;margin-left:auto;margin-right:auto;margin-bottom:16px\"><\/p>\n<p>From dir3, the link<\/p>\n<p>.\/the_file.txt<\/p>\n<p>used to lead to the_file.txt. Yet now, it doesn&#8217;t.<\/p>\n<p>So now, \/dir0\/dir3\/the_file.txt is needed to access the_file.txt in dir3.<\/p>\n<p>HTH:)<\/p>\n<p><a href=\"https:\/\/unix.stackexchange.com\/questions\/249039\/what-means-the-dots-on-a-path\">unix.stackexchange.com<\/a><\/p>\nJack of <a href=\"https:\/\/www.oracletutoring.ca\">Oracle Tutoring by Jack and Diane,<\/a> Campbell River, BC.\n","protected":false},"excerpt":{"rendered":"<p>Self-tutoring about computer science: the tutor shares a recent discovery. I&#8217;ve been using a directory structure in a new context that doesn&#8217;t seem to recognize relative paths. For instance, let&#8217;s imagine the directory structure From dir3, the link .\/the_file.txt used &hellip;<\/p>\n<p class=\"read-more\"> <a class=\"more-link\" href=\"https:\/\/www.oracletutoring.ca\/blog\/computer-science-when-a-relative-path-stops-working\/\"> <span class=\"screen-reader-text\">Computer science: when a relative path stops working<\/span> Read More &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2762],"tags":[],"class_list":["post-36223","post","type-post","status-publish","format-standard","hentry","category-file-systems"],"_links":{"self":[{"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/posts\/36223","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/comments?post=36223"}],"version-history":[{"count":9,"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/posts\/36223\/revisions"}],"predecessor-version":[{"id":36232,"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/posts\/36223\/revisions\/36232"}],"wp:attachment":[{"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/media?parent=36223"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/categories?post=36223"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/tags?post=36223"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}