linux move to previous directory code example
Example 1: linux move everything in a directory to another directory
mv -v ~/Downloads/* ~/Videos/
Example 2: linux command to go to the previous directory
cd - #go to the previous directory
mv -v ~/Downloads/* ~/Videos/
cd - #go to the previous directory