linux copy file from root to user code example Example: how to copy file in root directory sudo cp -R /path/to/files/you/want/copied/ /copy/to/this/path/