> For the complete documentation index, see [llms.txt](https://shoppinpal.gitbook.io/docs-shoppinpal-com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://shoppinpal.gitbook.io/docs-shoppinpal-com/appendix/soft-linking.md).

# Soft Linking

* `ln -s <source> <destination>`
  1. if a folder will go inside a preexisting destination folder then use
     * `ln -s /path/to/source/ /path/to/destination/`
  2. if a folder will become a destination folder then use
     * `ln -s /path/to/source/ /path/to/destination`
  3. when soft linking the source path must be reachable as-is from the destination ... for example:
     1. if server folder resides at `~/dev/project/server` and we want to put a soft linked version of it under the `~/dev/project/linkUnderMe/` folder as `~/dev/project/linkUnderMe/server`
        1. \~/dev/project/server
           * exists
        2. \~/dev/project/linkUnderMe/
           * exists
        3. \~/dev/project/linkUnderMe/server
           * this soft link is what we want to accomplish
     2. then
        1. go to `cd ~/dev/project/` and try
        2. `ln -s ./server ./linkUnderMe/server`
           1. but it will NOT work!
           2. because `./server` is not reachable from inside of `./linkUnderMe/` as-is
        3. `ln -s ./../server ./linkUnderMe/server`
           * will work
        4. `ln -s ~/dev/project/server ./linkUnderMe/server`
           * will work


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://shoppinpal.gitbook.io/docs-shoppinpal-com/appendix/soft-linking.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
