The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

What does that mean: cp -r dist/conf .

Discussion in 'General Discussion' started by Emiliano, May 13, 2011.

  1. Emiliano

    Emiliano Active Member

    Joined:
    May 13, 2011
    Messages:
    35
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Orlando, Florida, United States
    Hello,
    i have installed some script in the server and they want me to do this:

    cp -r dist/conf .

    I get :
    root@ip-72-167-167-187 [/usr/local/red5]# cp -r dist/conf .
    cp: cannot stat `dist/conf': No such file or directory
    root@ip-72-167-167-187 [/usr/local/red5]#

    within /usr/local/red5 there is a dist (folder) but within "dist" there is no "conf" (folder).
    And that . (dot) what is that about?

    Thank you for your help in advance
     
  2. astopy

    astopy Well-Known Member

    Joined:
    Apr 3, 2003
    Messages:
    165
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Root Administrator
    The single "." means the current directory, so that command would recursively copy the dist/conf directory to the current directory. As for why the conf directory is missing, you'd have to ask whoever made the script that you're installing.
     
Loading...

Share This Page