Javatpoint Logo
Javatpoint Logo

Shell Scripting let command

The let command is an arithmetic operator. It is almost same as (( )). Only difference is that, let is an arithmetic command while (( )) is a compound command.

It is a built-in command which instructs shell to perform an evaluation of arithmetic expressions. No spaces should be used around the arithmetic operant with let command.

Linux Shell Scripting let command

Look at the above snapshot, let command can be applied in different ways as shown.

Next Topic#




Please Share

facebook twitter google plus pinterest tumbler

Learn Latest Tutorials