Linux cp command. Need to perform a copy operation on the command line, cp should be your go-to command. According to its man page, the tool can be used to copy both files and directories.
Notice that copyfile is listed first. Files are listed in alphabetical order. Capital letters and numbers precede lowercase letters. For detailed information on copying files, see the man page cp(1). linux - All possible exit codes for cp - Stack Overflow 99% of Unix commands just use 0 for success, 1 for failure, they don't have different codes to distinguish the reasons. The few commands that have specific exit codes describe them in their man pages. So if it doesn't have this detail, you can assume there's no specific codes. – Barmar May 10 '14 at 9:49 Explain: {,} in cp or mv Bash Shell Commands - nixCraft
cp - HP-UX
MSN | Outlook, Office, Skype, Bing, Breaking News, and Your customizable and curated collection of the best in trusted news plus coverage of sports, entertainment, money, weather, travel, health and lifestyle, combined with Outlook/Hotmail, Facebook Linux Man Page: cp command - Open Software
scp(1): secure copy - Linux man page
This page shows the contents of the Linux cp comamnd man page. This cp command output was created on a CentOS Linux system. You can see this same cp command man page output by entering this command on your own Linux system: man cp Linux cp command man page CP(1) User Commands CP(1) NAME cp - copy files and directories SYNOPSIS cp [OPTION] scp(1): secure copy - Linux man page scp copies files between hosts on a network. It uses ssh(1) for data transfer, and uses the same authentication and provides the same security as ssh(1). Unlike rcp(1), scp will ask for passwords or passphrases if they are needed for authentication.. File names may contain a user and host specification to indicate that the file is to be copied to/from that host. cp Command in Linux: 7 Practical Examples - Linux Handbook