Copying files from another directory

To copy a file from another directory to your current directory give the pathname to the source file followed by the name of the destination file.

   cp path_to_source_file destination

For the destination file to have the same name as the source file use:

   cp path_to_source_file .

The . (dot) is shorthand for the current working directory.


[Home] [Search] [Index] This site maintained by webmaster@softlab.ece.ntua.gr