UNIX Trying to move and copy file but getting a permission denied
Posted on 2014-01-16
Hello UNIX Experts,
I am a unix newbie trying to gain more understanding of unix. Right now, I am trying to move and/or copy a Python script from my home directory /Users/FB to /usr/bin but I get a Permission denied error message:
FB-MacBook-Pro:~ FB$ mv add.py /usr/bin/
mv: rename add.py to /usr/bin/add.py: Permission denied
Here are the ls -ld for the /usr/bin:
FB-MacBook-Pro:bin FB$ pwd
FB-MacBook-Pro:bin FB$ ls -ld
drwxr-xr-x 1077 root wheel 36618 Dec 29 21:27 .
I have 2 questions:
1) I want to the change the permissions on the /usr/bin to resolve the problem. The question is can I do this?
2) If I can, what command and parameters should I use?
Thank you for your assistance.