Difference between revisions of "Bash variable assignment"

From thelinuxwiki
Jump to: navigation, search
(Pushed from Themanclub.)
 

Latest revision as of 22:27, 25 February 2013

backticks

use backticks when assigning the result of a command

example

cidr=`awk -F / \'{print $2}\'`