Linux sum Command

In this tutorial we learn how to use sum commmand in Linux. sum command is sum - checksum and count the blocks in a file

What is Linux sum Command?

In this tutorial we learn how to use sum command in Linux. sum command is sum - checksum and count the blocks in a file

sum Syntax

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

sum Examples

sum Command Manual / Help

We can use man and info command to see the manual page of sum command.

sum command also have --help option to show list of options.

To open man page for sum command we can use command below. To exit man or info page you can press q.

man sum

To open info page for sum command we can use command below.

info sum

To open help page from sum command we can run command below.

sum --help

Linux sum Command Source Code

You can find sum command source code from the folowing repositories:

You can read tutorials of related Linux commands below:

Summary

In this tutorial we learn how to use sum in Linux with practical examples. Visit our Linux Commands guide to learn more about using command line interface in Linux.