Local Paths#

Part 1#

With the following directory structure (output of tree) of the test1 directory placed at the root of the system, what is the absolute path of file3.md ?

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#

  • ./test1/alpha/a_level3/file3.md

  • /test1/alpha/a_level3/file3.md

  • ../test1/alpha/a_level3/file3.md

  • ./file3.md

  • /c/alpha/a_level3/file3.md

  • /d/alpha/a_level3/file3.md

  • /f/alpha/a_level3/file3.md

Attribution#

Problem is licensed under the CC-BY-NC-SA 4.0 license.
The Creative Commons 4.0 license requiring attribution-BY, non-commercial-NC, and share-alike-SA license.