A path describes how to reach an entry. An absolute path starts at /; a relative path starts from the shell’s working directory. Suppose the illustration in the previous lesson matches a machine and the working directory is /home/learner/linux-practice. Then both paths below name the same file:
/home/learner/linux-practice/field.txt
field.txt
The first works regardless of the current directory on that machine. The second changes meaning if the working directory changes. Neither path promises that a file exists or is readable.
cd changes the working directory; pwd shows the result. A single dot . refers to the current directory and two dots .. to its parent. From inside the practice directory, cd .. moves to its parent; cd linux-practice returns if that was its name. cd ~ returns home. The unquoted ~ at the beginning of a path expands to your home directory; ~/linux-practice builds a path beneath it. $HOME is an environment variable that usually holds your home directory path; cd "$HOME" uses its value, with quotes preserving spaces. A path with spaces can be grouped with quotes, for example cd 'field notes' if that directory exists. Do not quote the ~ itself when you intend expansion.
Interactive Bash can complete a name: from the practice directory type cat fie, then press Tab without pressing Enter. If field.txt is the only matching name, Bash can fill in the rest. With multiple matches it may add only a shared prefix; pressing Tab again often lists choices. Bash can also complete command names at the start of a command line, depending on its configuration. Completion does not run the command. Inspect the resulting text before Enter.