IPB
>  Man Pages > Unix > Solaris 10 11/06 > Section 1 > sum man page

sum man page

Section 1 - Solaris 10 11/06 Man Pages

Other operating system man pages available here


Advanced Search

Hopefully, this page is exactly what you are looking for, but if not, you can always find further assistance on Unix/Linux Forum!





User Commands                                              sum(1)



NAME
     sum - print checksum and block count for a file

SYNOPSIS
     sum [-r] [file...]

DESCRIPTION
     The  sum utility calculates and prints a 16-bit checksum for
     the  named  file  and  the  number of 512-byte blocks in the
     file. It is typically used to look  for  bad  spots,  or  to
     validate a file communicated over some transmission line.

OPTIONS
     The following options are supported:

     -r       Use an alternate (machine-dependent)  algorithm  in
              computing the checksum.



OPERANDS
     The following operands are supported:

     file     A path name of a file.  If no files are named,  the
              standard input is used.



USAGE
     See largefile(5) for the description of the behavior of  sum
     when encountering files greater than or equal to 2 Gbyte ( 2
    **31 bytes).

ENVIRONMENT VARIABLES
     See environ(5) for descriptions of the following environment
     variables  that  affect  the  execution  of   sum: LC_CTYPE,
     LC_MESSAGES, and  NLSPATH.

EXIT STATUS
     The following exit values are returned.

     0        Successful completion.



     >0       An error occurred.



ATTRIBUTES
     See attributes(5) for descriptions of the  following  attri-
     butes:



SunOS 5.10           Last change: 7 Nov 1995                    1






User Commands                                              sum(1)



     ____________________________________________________________
    |       ATTRIBUTE TYPE        |       ATTRIBUTE VALUE       |
    | Availability                | SUNWesu                     |
    | CSI                         | enabled                     |
    |_____________________________|_____________________________|


SEE ALSO
     cksum(1), sum(1B), wc(1), attributes(5), environ(5),  large-
     file(5)

DIAGNOSTICS
     "Read error" is indistinguishable from end of file  on  most
     devices; check the block count.

NOTES
     Portable applications should use cksum(1).

     sum and usr/ucb/sum (see sum(1B))  return  different  check-
     sums.



































SunOS 5.10           Last change: 7 Nov 1995                    2





Man(1) output converted with man2html and wrapped by fishsponge

This page was generated on Wed Sep 12 21:37:08 GMT 2007

Your favourite pages:

No pages logged yet.
Trying to save cookie...

Top 10 most popular pages:

CPAN man page (4290 hits)
(Suse Linux 10.1)

ssh man page (4160 hits)
(Suse Linux 10.1)

adv_cap_autoneg man page (3469 hits)
(Solaris 10 11_06)

sqlite3 man page (3370 hits)
(openSUSE 10.2)

svn man page (3036 hits)
(FreeBSD 6.2)

startproc man page (1856 hits)
(Suse Linux 10.1)

pprosetup man page (1576 hits)
(Solaris 10 11_06)

signal man page (1541 hits)
(Suse Linux 10.1)

netcat man page (1508 hits)
(Suse Linux 10.1)

ssh-socks5-proxy-connect man page (1450 hits)
(Solaris 10 11_06)

Useful Links

Go Back

Visitor Statistics


Valid XHTML 1.0 Transitional     Valid CSS!

Partners: Cambridge Plus :: Pyrenees Area :: Digital Electronic Design :: <Link Available>
Unix Man Pages / Linux Man Pages :: HiFi Forum :: SIP VoIP Phone & Provider Reviews :: UNIX/Linux Forum Archives

More info on advertising on Unix/Linux Forum