|WikiProject Computing||(Rated Mid-importance)|
The section that I removed stated that Unix was file extension-agnostic, then went on to show how cp could be used to change a file extension, to "make" a .txt file into a shell script. This was contradictory, and besides, it's not really the point of cp. grendel|khan 03:54, 2004 Dec 29 (UTC)
- AIX is neither obscure, nor unpopular. In fact, AIX, HP-UX, and Solaris have been the top three commercial Unix versions for many years. See the chart on page 3 of this survey. Linux has gained great popularity in the last 5 or 6 years. If you feel a Linux version of cp is more popular, be bold and update the article. Gbeeker 14:57, 6 March 2006 (UTC)
:Unix/*nix programs (Also sometimes used in Windows versions)
- this article specifically discusses the unix cp command.
- cp -- copy files; can concatenate files
- cpio -- copy an entire directory structure from one place to another
- dd -- copy streams, files, or devices in whole or part
- cat -- concatenate and display files
- head -- display
/copythe first part of a file
- tail -- display
/copythe last part of a file
- Neither cat nor head nor tail copy files, although the output can be redirected which is true of all programs.
:DOS/Windows programs (Seldom used in *nix versions) COPY -- copy files or sets of files, binary or text mode, can concatenate files XCOPY -- eXtended version of COPY, for copying file structures XXCOPY -- further extended commercial program ROBOCOPY -- further extended version, included in Vista
Other specialized programs are used to split large files into pieces and then put the pieces back together.
no good standard programs to extract an arbitrary piece of a file into another file. dd can be used, but requires setting blocksize to 1, which is very inefficient. In Windows, the obscure program CPART can be used.
grep and awk are powerful *nix programs for looking for patterns in a file.
-18.104.22.168 00:26, 17 October 2007 (UTC)