Navigate Paths#
For this question, consider the following directory structure (output of tree) of the test1
directory placed at the root of the directory.
Part 1#
You are currently in the {{ params.vars.from_folder }}
directory and want to create a subdirectory inside a_level2
called magic
.
What path would you provide as a parameter/option to the command that creates a directory?
test1
├── alpha
│ ├── a_level1
│ │ ├── file2.md
│ │ ├── file4.md
│ │ └── file5.md
│ ├── a_level2
│ │ └── file1.md
│ └── a_level3
│ └── file3.md
├── beta
│ ├── b_level1
│ │ └── file6.md
│ ├── b_level2
│ │ ├── file7.md
│ │ └── file8.md
│ └── b_level3
│ └── file9.md
├── epsilon
│ ├── e_level1
│ ├── e_level2
│ └── e_level3
└── gamma
├── g_level1
├── g_level2
└── g_level3
Answer Section#
../../alpha/a_level2/magic
../alpha/a_level2/magic
../../../alpha/a_level2/magic
../a_level2/magic
./a_level2/magic
Attribution#
Problem is licensed under the CC-BY-NC-SA 4.0 license.