Subject:
|
Re: A UNIX directory/path question
|
Newsgroups:
|
lugnet.off-topic.geek
|
Date:
|
Fri, 17 Sep 1999 04:52:59 GMT
|
Viewed:
|
137 times
|
| |
| |
In lugnet.off-topic.geek, Jim Hughes writes:
> 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 access the index directory
> (the parent) as ../filename but how could I access a file in the technica or
> in the header directory from 8800 without going foreward from root (since the
> relative location of the technica directory and all subdirectories could easily
> change). Is this even possible?
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 hieararchy.
- chris
|
|
Message has 1 Reply:
Message is in Reply To:
| | 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)
|
4 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
This Message and its Replies on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|