cd in ubuntu terminal 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 parent directory
cd .. #go to the parent directory