Concept
How can you refer to directories and files at different levels of a directory tree?
ComputerScienceOne / Error Handling
"this to specify directories deeper in the directory tree from the current directory. For example (in Unix), ./app/data/data.txt would refer to the directory app in the current working directory, the directory data within that, and finally the file data.txt within that directory. We can also refer to files further up the directory tree using the “parent” directory symbol which is two periods, .. . For example, ../../system/data.txt would refer to a file two levels up in the subdirectory system ."
Related Ideas
- How is the Linux file system organized?ComputerScienceOne · Error Handling
- How are files read, written, and properly managed?ComputerScienceOne · Paths
- How do file names, extensions, and working directories affect file paths?ComputerScienceOne · Paths
- What is the difference between absolute and relative file paths?ComputerScienceOne · Paths
- Where is Error Handling covered?ComputerScienceOne · Error Handling