In two ways we can do the command substitution.
1.) Using backquote: ``
2. Using dollar sign and parenthesis: $()
eg:
vjsujay@home $ echo My system name is `uname -n`
vjsujay@home $ echo My system name is $(uname -n)
Friday, July 17, 2009
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment