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 }
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 }
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 }