In shell scripting, 'let' is used for arithmetic operations. The command 'let x=32+8' evaluates the arithmetic expression 32+8 and assigns the result 40 to variable x. Option A uses 'typset' which is a typo for 'typeset' (used for variable declaration), Option B 'set' is for shell options/parameters, and Option D is just a string assignment in most shells.