Commands Help : cp

  •  Copy files and directories

[SYNOPSIS] cp OPTION (SOURCE FILE/DIRECTORY] [DEST FILE/DIRECTORY]
option
-iprompt before overwrite
# cp -i file /etc
-fif an existing destination file cannot be opened, remove it and try again
# cp -f file /etc
-blike --backup but does not accept an argument
# cp -b file /etc
-ppreserve the specified attributes (default: mode,ownership,timestamps)
# cp -p file /etc
-r(R)copy directories recursively
# cp -R dir /etc

Comments

Popular posts from this blog

Java : Variables Declaring

SQL Self JOIN