---

How to Store or Assign a Linux Command in Bash Shell Script

Once you save a Linux command as a variable in the shell script, you can use it anywhere in the script by calling the variable name.

Get the Free Newsletter!

Subscribe to Developer Insider for top news, trends, & analysis