Day 5: Directories (5)
When working with directories, you can work using absolute or relative paths. The latter is often more simpler.
- Absolute: you provide the whole path starting at the ‘root’ (the topmost directory on that computer)
- Relative: your provide directions starting from your current directory
The / separates directory names (or indicates the ‘root’ when used on its own) -- this is be the same as on your PC you would use \ (backslash) instead
The .. (double-dot) means one directory up (going to the parent of the current directory)
The . (single-dot) denotes the current directory