how to move a folder to a different directory from the Linux command line code example Example: how to move a directory in linux mv /path/to/source /path/to/dest