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

Emiliano

Active Member
May 13, 2011
35
0
56
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 :
[email protected] [/usr/local/red5]# cp -r dist/conf .
cp: cannot stat `dist/conf': No such file or directory
[email protected] [/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
 

astopy

Well-Known Member
Apr 3, 2003
166
0
166
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.