Bash variable assignment
From thelinuxwiki
Revision as of 22:27, 25 February 2013 by
Nighthawk
(
Talk
|
contribs
)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to:
navigation
,
search
backticks
use backticks when assigning the result of a command
example
cidr=`awk -F / \'{print $2}\'`
Category
:
bash
Navigation menu
Personal tools
Log in
Namespaces
Page
Discussion
Variants
Views
Read
View source
View history
Actions
Search
Navigation
Main page
Recent changes
Random page
Tools
What links here
Related changes
Special pages
Permanent link
Page information