0

I want to copy and paste a file to /usr folder but I guess I need root access to do so so I need to learn how to copy and paste a file from one location to another through the terminal.

1
  • Copy and Paste is not the same as copying files. Apr 20, 2015 at 0:10

1 Answer 1

2

This should do it:
For a file: sudo cp /path/to/file /path/to/destination-folder/
For a folder: sudo cp -R /path/to/folder /path to destination-folder

Not the answer you're looking for? Browse other questions tagged .