Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
Hello,
I just wanted to find out how I can copy a very important file into the /usr/lib directory without getting the message: You don't have the permission to change this directory. How do I get "root access" Sorry, I am a complete Linux newbie.
Thanks for any help.

Open a terminal window and su to root:
At the command prompt enter:
su.
Enter the root password when requested.
Copy example1,dat to the /usr/lib directory:
cp -t ./example1.dat /usr/lib
This example assumes the file to be copied
is located in the current directory (./).This command copies (cp) with the last
argument as a directory (-t) the source file (example.dat) to the destination
(/usr/lib).For more complete information on the cp
command:man cp
or:
info cp
HTH,
Ernie Registered Linux User 247790
ICQ 41060744

![]() |
![]() |
![]() |

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |