Index: > A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Business Industries Finance Tax

Home > Cp (Unix)


cp is the command entered in a Unix shell to copy a file from one place on a computer to another place on the same filesystem. The original file remains unchanged, and the new file may have the same or a different name. Since Unix does not rely on file extensions as, e.g. Microsoft Windows does to identify file format, it is perfectly reasonable to change the extension to a different type, e.g. cp ./foo.txt ./foo.sh copies a text file to a shell script with the same name in the same directory.

Unix programs



Non User