Sum (Unix)

Sum (Unix)

Sum is a core GNU utility written by Kayvan Aghaiepour and David MacKenzie and distributed with the UNIX- and Linux-based operating systems. This utility outputs the checksum of each argument file, as well as the number of blocks they take on disk. ["Sum" manual page available with most *NIX distributions; invoked via man sum]

According to the manual, sum uses two different algorithms for calculating the checksum and blocks, the System V algorithm and the BSD (default) algorithm. Switching between the two algorithms is done via inline option parameters.

The sum utility is invoked from the command line according to the following syntax:

:sum [OPTION] ... [FILE] ...

with the possible option parameters being:

* -r
** use BSD sum algorithm, use 1K blocks (defeats -s)
* -s, --sysv
** use System V sum algorithm, use 512 bytes blocks
* --help
** display the help screen and exit
* --version
** output version information and exit

When no file parameter is given, or when FILE is -, the standard input is used as input file.

References

ee also

*GNU Core Utilities
*UnxUtils


Wikimedia Foundation. 2010.

Игры ⚽ Нужна курсовая?

Look at other dictionaries:

  • Sum (disambiguation) — Sum usually refers to summation.It may also refer to: *Sum (category theory), also referred to as coproduct *Sum (country subdivision), an administrative division used in Mongolia and nearby regions *SUM (interbank network) *Soccer United… …   Wikipedia

  • Unix — (registrado oficialmente como UNIX®) es un sistema operativo portable, multitarea y multiusuario; desarrollado, en principio, en 1969 por un grupo de empleados de los laboratorios Bell de AT T, entre los que figuran Ken Thompson, Dennis Ritchie y …   Wikipedia Español

  • UNIX — Генеалогическое древо UNIX систем UNIX (читается юникс) семейство переносимых, многозадачных и многопользовательских …   Википедия

  • Unix philosophy — The Unix philosophy is a set of cultural norms and philosophical approaches to developing software based on the experience of leading developers of the Unix operating system.McIlroy: A Quarter Century of UnixDoug McIlroy, the inventor of Unix… …   Wikipedia

  • du (Unix) — example screenshot of du in a terminal du (abbreviated from disk usage) is a standard Unix program used to estimate file space usage space used under a particular directory or files on a file system. Contents …   Wikipedia

  • Seismic Unix — is an open source seismic utilities package supported by the Center for Wave Phenomena (CWP) at the Colorado School of Mines (CSM).Infobox Software name = Seismic Unix caption = Velocity Analysis with SU developer = [http://www.cwp.mines.edu/… …   Wikipedia

  • Du (Unix) — du (abbreviated from disk usage ) is a standard Unix program used to estimate the file space usage; space used under a particular directory or files on a file system. History The du utility first appeared in version 1 of AT T UNIX. Specification… …   Wikipedia

  • Программы UNIX-подобных операционных систем — Это список популярных программ, работающих в операционных системах основанных на UNIX (POSIX совместимых). Некоторые из этих программ являются стандартными для UNIX подобных систем. Содержание 1 Системный софт 1.1 Общего назначения …   Википедия

  • Programas para Unix — Anexo:Programas para Unix Saltar a navegación, búsqueda Plantilla:Listas Ésta es una lista de software disponible para sistemas operativos Unix y similares como GNU/Linux. Según corresponda se trasladarán a las subcategorías de la Categoría… …   Wikipedia Español

  • Anexo:Programas para Unix — Esta es una lista de software disponible para sistemas operativos Unix y similares como GNU/Linux. Según corresponda se trasladarán a las subcategorías de la Categoría Software por sistema operativo : Categoría:Software para Unix… …   Wikipedia Español

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”