Find the answer to your Linux question:
Results 1 to 3 of 3
Hi Guys, first sry for my bad english =( and now my problem: i would like to copy my httpdocs folder from my usb stick to the folder opt/lampp/ i ...
  1. #1
    Just Joined!
    Join Date
    Dec 2009
    Posts
    2

    Copy folder to opt/

    Hi Guys,

    first sry for my bad english =(

    and now my problem:

    i would like to copy my httpdocs folder from my usb stick to the folder opt/lampp/
    i dont know the command for this action but i search in google and found many articles with cp -r and co. but there all does not work =(

    PS: I work for the first time with unix systems

    Pls help me

    Greetz from Germany
    Aldimaster

  2. #2
    oz
    oz is online now
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    18,099
    Welcome to the forums!

    Ubuntu uses sudo rather than root access, so the basic command would be something like the following...

    For files, try this:

    Code:
    sudo cp /path/to/file_name /new/path/to/file_name
    For folders, try this:

    Code:
    sudo cp -r /path/to/folder /new/path/to/folder
    oz

    new members/users: read this first | new member faq
    no private messages requesting computer support - post them on the forums!
    please use the "report post" button to alert our forum admins to problematic posts rather than responding to them yourself.

  3. #3
    Just Joined!
    Join Date
    Dec 2009
    Posts
    2
    EDIT:
    i copy the folder but i cant open the website because i have no permissions so i go to the folder htdocs and see that the folder "website" (ive copied) is locked and I have no permission to open it or change the permissions.

    how can i change the permissions for this folder???

    Greetz from Germany
    Aldimaster

Posting Permissions

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