The UNIX and Linux Forums
Forum Home
Linux and Unix Man Pages
Search Forums
Search Community Posts
Today's Posts
Quick Links
Man Pages
RedHat Commands
OpenSolaris Commands
Linux Commands
SunOS Commands
FreeBSD Commands
All UNIX Man Pages
All Linux Man Pages
Full Man Repository
Login or Register to Ask a Question and Join Our Community
Search Forums
Show Threads .
Show Posts
Tag Search
Advanced Search
Quick Links
Contact Us
Forum Rules
Today's Posts
FAQ
Pictures & Albums
All Albums
Miscellaneous
What is My IP
Whois
Mark Forums Read
Sponsored Content
Full Discussion:
What are $(...) and $((...)) used for?
Top Forums
Shell Programming and Scripting
What are $(...) and $((...)) used for?
Post 302477382 by ctsgnb on Saturday 4th of December 2010 07:10:59 PM
12-04-2010
ctsgnb
Registered User
$(...)
evaluate the command that is inside and pass the result as a variable (new fashion) ... the old fashion way is using back tick ``
$((...))
is used when evaluating arithmetic operation
This User Gave Thanks to ctsgnb For This Post:
Sandia_man
ctsgnb
View Public Profile for ctsgnb
Find all posts by ctsgnb
Member Badges and Information Modal
×