i use ubuntu 14.04 LTS

my aim is to copy file called .bully to root on ubuntu but still told me that i don't have permission to do that even my account is administrative

so what can i do to have permession to past them

any help would be appreciated


1 Answer 1


Having an administrative account on a Linux machine doesn't mean that every command you execute is automatically run with full permissions. This would be unwise and may even make your system unusable.

To run a command with full access to the file system, you can add sudo before the command. This will run the following command as the actual root user, so it gains the needed permissions.


sudo cp .bully /

This would copy the file .bully to the root directory. This wouldn't work without sudo, as the root directory doesn't provide write access to anyone but the root user.

To include my comment into the answer: You should never run a program with administrative rights, if you don't know what you're actually doing. Before you start messing around, with sudo, I recommend you to at least learn the usage of the following comands by heart (including options):

ls, cd, cat, less, more, grep, rm, mv

If you can use these commands properly, you can accomplish many tasks from the termina. Only if you feel sure in using them, you should start doing administrative tasks with sudo. There's a nice game for learning to use Bash commands: Terminus

  • my file which called .bully is in Desktop and i want to past it to root would you please give me the hole command
    – Educ
    Oct 16, 2014 at 19:30
  • Do you mean the root directory or the home directory of the root user?
    – s3lph
    Oct 16, 2014 at 19:32
  • 1
    So .bully is a directory?
    – s3lph
    Oct 16, 2014 at 19:35
  • 1
    First find out whether .bully is a direcory or not: file ~/Desktop/.bully. If it says directory, use this command: sudo cp -R ~/Desktop/.bully /root. If it says something else, use sudo cp ~/Desktop/.bully /root.
    – s3lph
    Oct 16, 2014 at 19:40
  • 2
    No offense, but if you don't even know how to use cp, you probably should keep your fingers off any command that involves sudo. Especially if you have no idea what the command actually does.
    – s3lph
    Oct 16, 2014 at 19:41

You must log in to answer this question.

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