Privacy Policy Cookie Policy Terms and Conditions GNU Core Utilities - Wikipedia, the free encyclopedia

GNU Core Utilities

From Wikipedia, the free encyclopedia

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

[edit] 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.

[edit] Programs included in coreutils

The Debian package coreutils 5.2.1-2 contains these programs:

File Utilities

  • chgrp Changes file group ownership.
  • chown Changes file ownership.
  • chmod changes the permissions of a file or folder
  • cp copies a file or folder
  • dd Copies and converts a file.
  • df Shows disk free space on filesystems.
  • dir functions exactly the same as ls
  • dircolors color setup for ls
  • install copy files and set attributes
  • ln makes a link between two entities
  • ls lists the files in a directory
  • mkdir creates a directory
  • mkfifo make FIFOs (named pipes)
  • mknod make block or character special files
  • mv Moves files.
  • rm Removes (deletes) files.
  • rmdir Removes empty directories.
  • shred overwrite a file to hide its contents, and optionally delete it
  • sync flush file system buffers
  • touch Changes file timestamps.
  • vdir list directory contents

Text utilities

  • cat concatenates and prints files on the standard output
  • cksum checksum and count the bytes in a file
  • comm compares two sorted files line by line
  • csplit split a file into sections determined by context lines
  • cut remove sections from each line of files
  • expand convert tabs to spaces
  • fmt simple optimal text formatter
  • fold wrap each input line to fit in specified width
  • head output the first part of files
  • join join lines of two files on a common field
  • md5sum compute and check MD5 message digest
  • nl number lines of files
  • od dump files in octal and other formats
  • paste merge lines of files
  • ptx produce a permuted index of file contents
  • pr convert text files for printing
  • sha1sum compute and check SHA1 message digest
  • sort sort lines of text files
  • split split a file into pieces
  • sum checksum and count the blocks in a file
  • tac concatenate and print files in reverse
  • tail outputs the last part of files
  • tr translates or deletes characters
  • tsort perform topological sort
  • unexpand convert spaces to tabs
  • uniq remove duplicate lines from a sorted file
  • wc prints the number of bytes, words, and lines in files

Shell utilities

  • basename Removes the path prefix from a given pathname.
  • chroot Changes the root directory.
  • date Prints/sets the system date and time.
  • dirname strip non-directory suffix from file name
  • du Shows disk usage on filesystems.
  • echo display a line of text
  • env Displays/modifies the environment.
  • expr evaluate expressions
  • factor factor numbers
  • false do nothing, unsuccessfully
  • groups print the groups a user is in
  • hostid print the numeric identifier for the current host
  • id Print real/effective uid/gid.
  • link call the link function to create a link to a file
  • logname print user's login name
  • nice Modify scheduling priority.
  • nohup Allows a command to continue running after logging out.
  • pathchk check whether file names are valid or portable
  • pinky lightweight finger
  • printenv print all or part of environment
  • printf format and print data
  • pwd Print the current working directory.
  • readlink display value of a symbolic link
  • seq print a sequence of numbers
  • sleep delay for a specified amount of time
  • stat
  • stty change and print terminal line settings
  • tee Sends output to multiple files.
  • test Evaluates an expression.
  • true do nothing, successfully
  • tty Print terminal name.
  • uname Print system information.
  • unlink call the unlink function to remove the specified file
  • users print the user names of users currently logged in to the current host
  • who Print a list of all users currently logged in.
  • whoami print effective userid
  • yes Print a string repeatedly.

In addition, coreutils contains a program called [. It is a synonym for test, permitting expressions like [ expression ].

[edit] See also

[edit] External link


In other languages
THIS WEB:

aa - ab - af - ak - als - am - an - ang - ar - arc - as - ast - av - ay - az - ba - bar - bat_smg - be - bg - bh - bi - bm - bn - bo - bpy - br - bs - bug - bxr - ca - cbk_zam - cdo - ce - ceb - ch - cho - chr - chy - closed_zh_tw - co - cr - cs - csb - cu - cv - cy - da - de - diq - dv - dz - ee - el - eml - en - eo - es - et - eu - fa - ff - fi - fiu_vro - fj - fo - fr - frp - fur - fy - ga - gd - gl - glk - gn - got - gu - gv - ha - haw - he - hi - ho - hr - hsb - ht - hu - hy - hz - ia - id - ie - ig - ii - ik - ilo - io - is - it - iu - ja - jbo - jv - ka - kg - ki - kj - kk - kl - km - kn - ko - kr - ks - ksh - ku - kv - kw - ky - la - lad - lb - lbe - lg - li - lij - lmo - ln - lo - lt - lv - map_bms - mg - mh - mi - mk - ml - mn - mo - mr - ms - mt - mus - my - mzn - na - nah - nap - nds - nds_nl - ne - new - ng - nl - nn - no - nov - nrm - nv - ny - oc - om - or - os - pa - pag - pam - pap - pdc - pi - pih - pl - pms - ps - pt - qu - rm - rmy - rn - ro - roa_rup - roa_tara - ru - ru_sib - rw - sa - sc - scn - sco - sd - se - searchcom - sg - sh - si - simple - sk - sl - sm - sn - so - sq - sr - ss - st - su - sv - sw - ta - te - test - tet - tg - th - ti - tk - tl - tlh - tn - to - tokipona - tpi - tr - ts - tt - tum - tw - ty - udm - ug - uk - ur - uz - ve - vec - vi - vls - vo - wa - war - wo - wuu - xal - xh - yi - yo - za - zea - zh - zh_classical - zh_min_nan - zh_yue - zu

Static Wikipedia 2008 (no images)

aa - ab - af - ak - als - am - an - ang - ar - arc - as - ast - av - ay - az - ba - bar - bat_smg - bcl - be - be_x_old - bg - bh - bi - bm - bn - bo - bpy - br - bs - bug - bxr - ca - cbk_zam - cdo - ce - ceb - ch - cho - chr - chy - co - cr - crh - cs - csb - cu - cv - cy - da - de - diq - dsb - dv - dz - ee - el - eml - en - eo - es - et - eu - ext - fa - ff - fi - fiu_vro - fj - fo - fr - frp - fur - fy - ga - gan - gd - gl - glk - gn - got - gu - gv - ha - hak - haw - he - hi - hif - ho - hr - hsb - ht - hu - hy - hz - ia - id - ie - ig - ii - ik - ilo - io - is - it - iu - ja - jbo - jv - ka - kaa - kab - kg - ki - kj - kk - kl - km - kn - ko - kr - ks - ksh - ku - kv - kw - ky - la - lad - lb - lbe - lg - li - lij - lmo - ln - lo - lt - lv - map_bms - mdf - mg - mh - mi - mk - ml - mn - mo - mr - mt - mus - my - myv - mzn - na - nah - nap - nds - nds_nl - ne - new - ng - nl - nn - no - nov - nrm - nv - ny - oc - om - or - os - pa - pag - pam - pap - pdc - pi - pih - pl - pms - ps - pt - qu - quality - rm - rmy - rn - ro - roa_rup - roa_tara - ru - rw - sa - sah - sc - scn - sco - sd - se - sg - sh - si - simple - sk - sl - sm - sn - so - sr - srn - ss - st - stq - su - sv - sw - szl - ta - te - tet - tg - th - ti - tk - tl - tlh - tn - to - tpi - tr - ts - tt - tum - tw - ty - udm - ug - uk - ur - uz - ve - vec - vi - vls - vo - wa - war - wo - wuu - xal - xh - yi - yo - za - zea - zh - zh_classical - zh_min_nan - zh_yue - zu -

Static Wikipedia 2007:

aa - ab - af - ak - als - am - an - ang - ar - arc - as - ast - av - ay - az - ba - bar - bat_smg - be - bg - bh - bi - bm - bn - bo - bpy - br - bs - bug - bxr - ca - cbk_zam - cdo - ce - ceb - ch - cho - chr - chy - closed_zh_tw - co - cr - cs - csb - cu - cv - cy - da - de - diq - dv - dz - ee - el - eml - en - eo - es - et - eu - fa - ff - fi - fiu_vro - fj - fo - fr - frp - fur - fy - ga - gd - gl - glk - gn - got - gu - gv - ha - haw - he - hi - ho - hr - hsb - ht - hu - hy - hz - ia - id - ie - ig - ii - ik - ilo - io - is - it - iu - ja - jbo - jv - ka - kg - ki - kj - kk - kl - km - kn - ko - kr - ks - ksh - ku - kv - kw - ky - la - lad - lb - lbe - lg - li - lij - lmo - ln - lo - lt - lv - map_bms - mg - mh - mi - mk - ml - mn - mo - mr - ms - mt - mus - my - mzn - na - nah - nap - nds - nds_nl - ne - new - ng - nl - nn - no - nov - nrm - nv - ny - oc - om - or - os - pa - pag - pam - pap - pdc - pi - pih - pl - pms - ps - pt - qu - rm - rmy - rn - ro - roa_rup - roa_tara - ru - ru_sib - rw - sa - sc - scn - sco - sd - se - searchcom - sg - sh - si - simple - sk - sl - sm - sn - so - sq - sr - ss - st - su - sv - sw - ta - te - test - tet - tg - th - ti - tk - tl - tlh - tn - to - tokipona - tpi - tr - ts - tt - tum - tw - ty - udm - ug - uk - ur - uz - ve - vec - vi - vls - vo - wa - war - wo - wuu - xal - xh - yi - yo - za - zea - zh - zh_classical - zh_min_nan - zh_yue - zu

Static Wikipedia 2006:

aa - ab - af - ak - als - am - an - ang - ar - arc - as - ast - av - ay - az - ba - bar - bat_smg - be - bg - bh - bi - bm - bn - bo - bpy - br - bs - bug - bxr - ca - cbk_zam - cdo - ce - ceb - ch - cho - chr - chy - closed_zh_tw - co - cr - cs - csb - cu - cv - cy - da - de - diq - dv - dz - ee - el - eml - en - eo - es - et - eu - fa - ff - fi - fiu_vro - fj - fo - fr - frp - fur - fy - ga - gd - gl - glk - gn - got - gu - gv - ha - haw - he - hi - ho - hr - hsb - ht - hu - hy - hz - ia - id - ie - ig - ii - ik - ilo - io - is - it - iu - ja - jbo - jv - ka - kg - ki - kj - kk - kl - km - kn - ko - kr - ks - ksh - ku - kv - kw - ky - la - lad - lb - lbe - lg - li - lij - lmo - ln - lo - lt - lv - map_bms - mg - mh - mi - mk - ml - mn - mo - mr - ms - mt - mus - my - mzn - na - nah - nap - nds - nds_nl - ne - new - ng - nl - nn - no - nov - nrm - nv - ny - oc - om - or - os - pa - pag - pam - pap - pdc - pi - pih - pl - pms - ps - pt - qu - rm - rmy - rn - ro - roa_rup - roa_tara - ru - ru_sib - rw - sa - sc - scn - sco - sd - se - searchcom - sg - sh - si - simple - sk - sl - sm - sn - so - sq - sr - ss - st - su - sv - sw - ta - te - test - tet - tg - th - ti - tk - tl - tlh - tn - to - tokipona - tpi - tr - ts - tt - tum - tw - ty - udm - ug - uk - ur - uz - ve - vec - vi - vls - vo - wa - war - wo - wuu - xal - xh - yi - yo - za - zea - zh - zh_classical - zh_min_nan - zh_yue - zu