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