Linux Today: Linux News On Internet Time.
Search Linux Today
Linux News Sections:  Developer -  High Performance -  Infrastructure -  IT Management -  Security -  Storage -
Linux Today Navigation
LT Home
Link to Us
Linux Jobs

More on LinuxToday

Evaluate expression inside another evaluation - bash script

Feb 06, 2009, 18:49 (1 Talkback[s])

"Lets discuss an example to see the good use of $( ) in bash shell.

"#Suppose 'offsetno' variable is set to 9 $ offsetno=9

"#Number of *.sh files under my directory (/tmp/mydir) is 29

"$ ls /tmp/mydir/*.sh | wc -l


Complete Story

Related Stories: