Jared

24%
Flag icon
The cd . command did not take you anywhere. Remember that . is "this directory" and .. is "the parent directory." Another shortcut for navigating directories is cd -. This command takes you to the previous directory. The environment variable that represents your previous working directory is OLDPWD. So, cd - and cd $OLDPWD are equivalent.
Linux for Beginners
Rate this book
Clear rating
Open Preview