How to copy/move whole directory ?

I have just learnt that I can include php files that are outside of the
home directory.

I have a copy of a library class in several virtual servers

what is the best way to move or copy a whole directory ?

I want to copy the entire directory contents of:
/home/guru54gt5/public_html/lib

to :

/usr/local/share/lib

Thanks

Hi Davvit,

  1. Go to home/guru54gt5/public_html/lib

type: cp * /usr/local/share/lib

Above command will copy /guru54gt5/public_html/lib to /usr/local/share/lib

Thanks :slight_smile:

Got that done and it works well :),