 | | A UNIX directory/path question
|
|
OK, here's one that I cant figure out but is probably elementary to you guys. I am working on my next Lego site and need to create a directory structure like; ---technica | -header | -index | | | 8800 | | If I am in the 8800 directory I know I can (...) (25 years ago, 17-Sep-99, to lugnet.off-topic.geek)
|
|
 | | Re: A UNIX directory/path question
|
|
(...) easily (...) In this situation, to access technica you would use: ../../filename To access something in header you would useL ../../header/filename you can use as many .. as you want - each time you use it, you go up one step in the (...) (25 years ago, 17-Sep-99, to lugnet.off-topic.geek)
|
|
 | | Re: A UNIX directory/path question
|
|
(...) Caveat lector, although '..' works great 99.9% of the time, be careful in the presence of symbolic links! --Todd (25 years ago, 17-Sep-99, to lugnet.off-topic.geek)
|
|
 | | Re: A UNIX directory/path question
|
|
Todd Lehman: (...) This warning is only appropriate when you are working directly with a Unix file system. In URL's "../" always refers to the URL you get by cutting from the end of the current URL until you have removed two "/", and then adding one (...) (25 years ago, 18-Sep-99, to lugnet.off-topic.geek)
|