cp [soubor1] [cílové_jméno]
cp [soubor1] [soubor2] [soubor3] ... [cílový adresář]
kopírování souboru(ů), cíl musí být vždy uveden (tečka označuje aktuální adresář)
cp -r /source/directory /destination/directory
<===> rekurzivní kopírování podadresářů // The result is that the directory, including all of its contents and subdirectories, will be copied to a different directory on the local server.cp -i
<===> interaktivní (při přepisu souboru se ptá)cp -a
<===> zachovává čas, vlastníka, skupinu, přístupová práva (používá se k archivaci)
*
the wildcard of wildcards, it's used to represent all single characters or any string.?
used to represent one character[]
used to represent any character within the brackets