how to move a directory to another location in linux using command code example Example: how to move a directory in linux mv /path/to/source /path/to/dest