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 SystemsUS-NY-New York
"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"
"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)
Enter your comments below: