-
You can pass a relative or absolute path in any folder to and command, including
touch(although the folder must exist):touch folder/sub.file.txt -
cd -switches to the folder you were last in (like a “Back” button) -
.means the current directory -
..means the parent directory
2
solved About basic commands in bash (cp, cd,..) [closed]