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.

heemayl
  • 91,753

1 Answers1

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

TheWanderer
  • 19,395
  • 12
  • 50
  • 65