Coreutils
From Free net encyclopedia
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 the relaxation of the convention of specifying options before the regular arguments, unless the POSIXLY_CORRECT environment variable is set (which however enables a different functionality in BSD). Additionally, as the GNU philosophy shifts information away from manual pages (and uses tools such as info), usage information is more extensive.
Programs included in coreutils
The Debian package coreutils-5.2.1-2 contains these programs:
- basename
- cat
- chgrp
- chmod
- chown
- chroot
- cksum
- comm
- cp
- csplit split a file into sections determined by context lines
- cut
- date
- dd
- df
- dir
- dircolors color setup for ls
- dirname strip non-directory suffix from file name
- du
- echo display a line of text
- env
- expand convert tabs to spaces
- expr evaluate expressions
- factor factor numbers
- false do nothing, unsuccessfully
- fmt simple optimal text formatter
- fold wrap each input line to fit in specified width
- groups print the groups a user is in
- head
- hostid print the numeric identifier for the current host
- id
- install copy files and set attributes
- join
- link call the link function to create a link to a file
- ln
- logname print user's login name
- ls
- md5sum compute and check MD5 message digest
- mkdir
- mkfifo make FIFOs (named pipes)
- mknod make block or character special files
- mv
- nice
- nl
- nohup
- od
- paste
- pathchk check whether file names are valid or portable
- pinky lightweight finger
- pr convert text files for printing
- printenv print all or part of environment
- printf format and print data
- ptx
- pwd
- readlink display value of a symbolic link
- rm
- rmdir
- seq print a sequence of numbers
- sha1sum compute and check SHA1 message digest
- shred overwrite a file to hide its contents, and optionally delete it
- sleep delay for a specified amount of time
- sort
- split
- stat
- stty change and print terminal line settings
- sum checksum and count the blocks in a file
- sync flush file system buffers
- tac concatenate and print files in reverse
- tail
- tee
- test
- touch
- tr
- true do nothing, successfully
- tsort perform topological sort
- tty
- uname
- unexpand convert spaces to tabs
- uniq
- unlink call the unlink function to remove the specified file
- users print the user names of users currently logged in to the current host
- vdir list directory contents
- wc
- who
- whoami print effective userid
- yes
In addition, coreutils contains a program called [. It is a synonym for test, permitting expressions like [ expression ].
See also
- List of Unix programs
- BusyBox coreutils like package for embedded Linux.