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