How Do I Go Back a Directory in Ubuntu?
Contents How Do I Go Back a Directory in Terminal? (Two Dots). The. . Means “The Parent Directory” of Your Current Directory, So You Can Use Cd. . to Go Back...
How do I go back a directory in Terminal?
(two dots). The .. means “the parent directory” of your current directory, so you can use cd .. to go back (or up) one directory. cd ~ (the tilde). The ~ means the home directory, so this command will always change back to your home directory (the default directory in which the Terminal opens).
Must Read
How do you go to a directory in Linux?
To change to a directory specified by a path name, type cd followed by a space and the path name (e.g., cd /usr/local/lib) and then press [Enter]. To confirm that you’ve switched to the directory you wanted, type pwd and press [Enter]. You’ll see the path name of the current directory.