cp file new_file
cp file1 [file2 …] dest_directory
cp dir1 [dir2 …] dest_directory

Komandom cp mogu se obaviti sledece akcije:

primeri:

% ls
proba.c
% cp proba.c novi.c
% ls
proba.c   novi.c
% ls -p
proba.c   tmp/
% cp proba.c tmp
% ls -p
proba.c   tmp/
% cd tmp
% ls
novi.c
 
cp.txt · Last modified: 2007/07/17 10:29 (external edit)
 
Recent changes RSS feed Creative Commons License Valid XHTML 1.0 Valid CSS Driven by DokuWiki