how to change a new directory in linux code example
Example 1: linux change directory
// change directory in terminal
cd folder_name/subfolder_name
// go up one directory level
cd ..
// back to previous directory
cd -
// return to home directory
cd
Example 2: linux command to go to the previous directory
cd - #go to the previous directory