how to move directory in terminal code example
Example 1: how to move a directory in linux
mv /path/to/source /path/to/dest
Example 2: how to move up in terminal
cd .. # one up
cd ../ # two up
cd # home directory
cd / # root directory
cd "yaya-13" # use quotes if the file name contains punctuation or spaces
Example 3: how to move file in the command line
% mv ~/Downloads/MyFile.txt ~/Documents/Work/MyFile.txt