next up previous contents
Next: rm Up: Arborescence Previous: rmdir

cp

La commande cp permet de copier un fichier source vers un fichier destination.

Exemple :

beyrouth ~/ $ ls
toto
beyrouth ~/ $ cp toto titi
beyrouth ~/ $ ls
toto   titi
beyrouth ~/ $ mkdir truc
beyrouth ~/ $ cd truc
beyrouth ~/truc/ $ cp ../toto .
beyrouth ~/truc/ $ ls
toto
beyrouth ~/truc/ $



Laurent Mazet
Fri Oct 24 11:06:46 MET DST 1997