linux shell

How do I count and print particular character (say D or digit 7) in a string or variable under Bash UNIX / Linux shell?

{ 6 comments }

What is /bin/dash? I noticed that the default system shell /bin/sh was changed to /bin/dash. Why was this change made?

{ 3 comments }

UNIX / Linux: Increment The Date

by Vivek Gite on April 26, 2011 · 1 comment

I want to increment the date under UNIX or Linux operating system while writing shell scripts. For example Apr/27/2011 should be incremented as Apr/28/2011 and so on. How do I increment a date in UNIX or Linux shell?

{ 1 comment }

I need to call the function called foo() using echo command in the same statement. How do I all or invoke the function using the echo statement?

{ 1 comment }

Bash: Continue In a For / While Loop

by Vivek Gite on January 29, 2010 · 0 comments

How do I continue in a for or while loop in Bash under UNIX or Linux operating systems?

{ 0 comments }

How do I call Oracle or MySQL sql statements in UNIX / Linux shell scripts?

{ 7 comments }

How do I find out file size under UNIX / Linux operating system and store the same to a variable called s?

{ 3 comments }