Bash Scripting - Variables
You want to assign the output of the command
date +%Y to a variable year. Which is the correct way to do this in bash?date +%Y to a variable year. Which is the correct way to do this in bash?$(command) to assign command output to a variable.=.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions