HowtoMatrix

Lot of HOWTOs

August 28th, 2008

Updating Values of Your Shell Variables in Unix

Tricks, by suvi.

If you’re just getting started with your Unix scripting or new to Unix shell, today’s little tip will make your life much easier: I’m going to show you how to update your shell variables.

Updating shell variable in Unix

If you have a text variable in your script and would like to append some text to it or somehow process this value, it’s perfectly normal to reuse the current variable value using a syntax like this:

Read more at UNIX Tutorial

Back Top

Leave a Reply

Your email address will not be published. Required fields are marked *


*

Featuring YD Feedwordpress Content Filter Plugin