In modern scripting (like Bash), it is often more efficient to use Arithmetic Expansion —for example: $((937808300 + 932955077)) .
Note: expr performs integer division, so it discards the remainder. Usage Tips
If you intended to perform an arithmetic operation between these two large integers, here are the results for the most common operators: expr 937808300 + 932955077 Result: 1,870,763,377 Subtraction ( - ): expr 937808300 - 932955077 Result: 4,853,223 Multiplication ( \* ): expr 937808300 \* 932955077 Result: 874,933,014,737,739,100 expr 937808300 932955077
The command expr 937808300 932955077 is an incomplete instruction for the , which is used to evaluate expressions in a terminal environment. Functionality
The expr utility requires an operator to perform a calculation. Without an operator (like + , - , * , or / ), the command will typically return an error or simply print the first number, depending on the specific shell environment. Potential Calculations In modern scripting (like Bash), it is often
Note: In most shells, the asterisk must be escaped with a backslash to prevent it from being interpreted as a wildcard. expr 937808300 / 932955077 Result: 1
expr treats each number and operator as a separate argument. You must include spaces (e.g., 9 + 5 , not 9+5 ). Functionality The expr utility requires an operator to
print(937808300 + 932955077) print(937808300 - 932955077) print(937808300 * 932955077) print(937808300 / 932955077) Use code with caution. Copied to clipboard