Find the answer to your Linux question:
Results 1 to 6 of 6
I need to move some files into /usr/includes but when I try to it says I don't have permission. How do I gain permission? Or what would I type in ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jul 2006
    Posts
    22

    moving files into /usr/includes/


    I need to move some files into /usr/includes but when I try to it says I don't have permission. How do I gain permission? Or what would I type in the terminal to move the files using root..noob questions sorry.

  2. #2
    Linux Engineer Javasnob's Avatar
    Join Date
    Jul 2005
    Location
    Wisconsin
    Posts
    942
    You need to be root to be able to do this...sudo su will let you do that. Just curious, what are you trying to move?
    Flies of a particular kind, i.e. time-flies, are fond of an arrow.

    Registered Linux User #408794

  3. #3
    Just Joined!
    Join Date
    Jul 2006
    Posts
    22
    Quote Originally Posted by Javasnob
    You need to be root to be able to do this...sudo su will let you do that. Just curious, what are you trying to move?
    Thank you, and I am moving header files.

    EDIT: What is the command to move the files?

  4. #4
    oz
    oz is offline
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    18,733
    You can use the "mv" command:

    http://www.ss64.com/bash/mv.html

    Look for examples at the bottom of the page.
    oz

  5. #5

  6. #6
    Just Joined! cdog's Avatar
    Join Date
    Jul 2006
    Posts
    29

    Smile

    Quote Originally Posted by Fix3r
    I need to move some files into /usr/includes but when I try to it says I don't have permission. How do I gain permission? Or what would I type in the terminal to move the files using root..noob questions sorry.

    Open a terminal, then sudo su, enter your password, then switch to the directory where the file you want to copy is located, and type the following command:

    cp file /usr/include/

    simple enough.....

    Cody

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •