- GNU Core Utilities
-
GNU Core Utilities Developer(s) GNU Project Stable release 8.14 (October 12, 2011)[1] [+/−] Written in C Operating system Unix-like Type Miscellaneous Utilities License GNU GPL Website http://www.gnu.org/software/coreutils/ The GNU Core Utilities or coreutils is a package of GNU software containing many of the basic tools, such as cat, ls, and rm, needed for Unix-like operating systems. It is a combination of a number of earlier packages, including textutils, shellutils, and fileutils, along with some other miscellaneous utilities.
Contents
GNU coreutils capabilities
The GNU core utilities support long options as parameters to the commands, as well as (unless the POSIXLY_CORRECT environment variable is set) the relaxed convention allowing options even after the regular arguments. Note that this environment variable enables a different functionality in BSD.
Programs included in coreutils
The list spans the programs from coreutils 7.0. File Utilities chconChange file security context (SELinux) chgrpChanges file group ownership chownChanges file ownership chmodChanges the permissions of a file or directory cpCopies a file or directory ddCopies and converts a file dfShows disk free space on filesystems dirIs exactly like " ls -C -b". (Files are by default listed in columns and sorted vertically.)dircolorsSetup color for lsinstallCopies files and set attributes lnCreates a link to a file lsLists the files in a directory mkdirCreates a directory mkfifoMakes named pipes (FIFOs) mknodMakes block or character special files mktempCreate a temporary file or directory mvMoves files or rename files rmRemoves (deletes) files rmdirRemoves empty directories shredOverwrites a file to hide its contents, and optionally delete it syncFlushes file system buffers touchChanges file timestamps truncateShrink or extend the size of a file to the specifed size vdirIs exactly like " ls -l -b". (Files are by default listed in long format.)Text utilities base64base64 encode/decode data and print to standard output catConcatenates and prints files on the standard output cksumChecksums and count the bytes in a file commCompares two sorted files line by line csplitSplits a file into sections determined by context lines cutRemoves sections from each line of files expandConverts tabs to spaces fmtSimple optimal text formatter foldWraps each input line to fit in specified width headOutputs the first part of files joinJoins lines of two files on a common field md5sumComputes and checks MD5 message digest nlNumbers lines of files odDumps files in octal and other formats pasteMerges lines of files ptxProduces a permuted index of file contents prConverts text files for printing sha1sum,
sha224sum,
sha256sum,
sha384sum,
sha512sumComputes and checks SHA-1, SHA-224/256/384/512 message digest shufgenerate random permutations sortsort lines of text files splitsplit a file into pieces sumChecksums and counts the blocks in a file tacConcatenates and prints files in reverse tailOutputs the last part of files trTranslates or deletes characters tsortPerforms a topological sort unexpandConverts spaces to tabs uniqRemoves duplicate lines from a sorted file wcPrints the number of bytes, words, and lines in files Shell utilities archprint machine hardware name (same as uname -m) basenameRemoves the path prefix from a given pathname chrootChanges the root directory datePrints/sets the system date and time dirnameStrips non-directory suffix from file name duShows disk usage on file systems echoDisplays a specified line of text envDisplays and modifies environment variables exprEvaluates expressions factorFactors numbers falseDoes nothing, but exits unsuccessfully groupsPrints the groups of which the user is a member hostidPrints the numeric identifier for the current host idPrints real/effective UID and GID linkCreates a link to a file lognamePrint the user's login name niceModifies scheduling priority nohupAllows a command to continue running after logging out pathchkChecks whether file names are valid or portable pinkyA lightweight version of finger printenvPrints environment variables printfFormats and prints data pwdPrints the current working directory readlinkDisplays value of a symbolic link runconRun command with specified security context seqPrints a sequence of numbers sleepDelays for a specified amount of time statReturns useful data about an inode sttyChanges and prints terminal line settings suRun a shell or command with substitute user and group IDs teeSends output to multiple files testEvaluates an expression timeoutRun a command with a time limit trueDoes nothing, but exits successfully ttyPrints terminal name unamePrints system information unlinkRemoves the specified file using the unlinkfunctionuptimeTell how long the system has been running usersPrints the user names of users currently logged in to the current host whoPrints a list of all users currently logged in. whoamiPrints the effective userid yesPrints a string repeatedly Other Utilities [A synonym for test, this program permits expressions like [ expression ]. System Utilities See also
- List of Unix programs
- BusyBox, a coreutils-like package for embedded Linux
- GNU Binary Utilities
References
- ^ Meyering, Jim (2011-10-12). "[coreutils-announce] coreutils-8.14 released [stable]". coreutils-announce mailing list. http://lists.gnu.org/archive/html/coreutils-announce/2011-10/msg00000.html. Retrieved 2011-10-31.
External links
- GNU coreutils homepage
- The coreutils FAQ
- The coreutils manual
- Top Ten Cool Coreutils Commands
- Alternative set of utilities with unicode support
- GNU cp mod that adds a progress bar
Unix command-line interface programs and shell builtins (more) File system Processes User environment Text processing Shell builtins Networking Searching Documentation Miscellaneous GNU Project History 
Licenses Software Public speakers Other topics Categories:- Unix software
- GNU Project software
- Free software programmed in C
- Free system software
Wikimedia Foundation. 2010.