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

Linux Today
Enterprise Linux Today
Apache Today
JustLinux.com
Linux Planet
PHPBuilder
All Linux Devices
Technology Jobs

JustTechJobs.com

LinuxToday Newsletters
Server Daily
IT Management Daily
Subscribe News
Subscribe PR
Subscribe Security

internet.com
Internet News
Small Business

Advertise
Newsletters
Tech Jobs
E-mail Offers

 






Current Newswire:

Tech Comics: "Groundhog Day"

Want a Job? Learn Linux

PC-BSD 9 review – to FreeBSD what Ubuntu is to Debian

Time to dispel open source myths, says Liam Maxwell

SECURITY: Nmap Inside and Out

Eight features Windows 8 'borrowed' from Linux

Malware devs embrace open-source

A tale of two distros: Ubuntu and Linux Mint

Raspberry Pi benchmarked against Beagleboard, low price is long term

20 popular Ubuntu Linux apps you may want to try



Applications Management Engineer Sr (NYC)
Next Step Systems
US-NY-New York

Justtechjobs.com Post A Job | Post A Resume
:Evaluate expression inside another evaluation - bash script
Evaluate expression inside another evaluation - bash script
Feb 6, 2009, 18 :49 UTC (1 Talkback[s]) (5435 reads)

"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

"29"

Complete Story

Related Stories:
How to be Faster at the Linux Command Line(Feb 04, 2009)
Chaining Linux Commands Together(Feb 03, 2009)
10 Tips for Writing Efficient Bash Scripts(Feb 02, 2009)
Enhanced Bash(Jan 31, 2009)
Setting Your Bash Shell Prompt(Jan 04, 2009)


Index Mode   |   Flat Mode   |   Thread Mode   |   Thread Flat  
  Talkback(s) Name  and Date
What we noticed here is that back-tick w ...   Bash manual calls them backquotes not back-tick   
George Van Tuyl
Feb 7, 2009, 05:05:30
 
  Home | Search Talkbacks | Customize View    Top of Page  



Enter your comments below:

* Your Name:

* Your Email Address:

* Subject:

CC: [will also send this talkback to an E-Mail address]

* Comments:

Tags allowed:<I>,<B> and <U>. See our talkback-policy for more about talkback content.

Fields marked with * are required!

..............................




All times are recorded in UTC.
Linux is a trademark of Linus Torvalds.
Powered by Linux, Apache and PHP