In this post, we will review the different ways of assigning the output of a shell command to a variable, specifically useful for shell scripting purpose.