go to previous directory cmd code example
Example 1: command prompt cd back
cd ..\ -> To go back one level
cd ..\..\ -> To go back two levels
Example 2: ubuntu navigate to directory in windows
cd /mnt/e/username/folder1/folder2
cd ..\ -> To go back one level
cd ..\..\ -> To go back two levels
cd /mnt/e/username/folder1/folder2