how to move whole directory in linux code example Example: how to move a directory in linux mv /path/to/source /path/to/dest