E-Mail:

Using arrays in bash

Nothing like a little bash work to start off the week, eh? OK, I thought this was a clever way to lead into this whole bit. But I guess it might have just been as well and good had I simply told you that the article below gives you a way to declaring an array. Hey, that rhymes!

Assigning variables in bash is easily done and extremely useful, but like other programming languages, bash can also use arrays. This is particularly handy when you want to read the contents of a file into an array or simply keep your scripts more organized and logical.

There are two ways of declaring an array: [Read the rest]

What Do You Think?

 

Want to Start a Blog Here for Free?

Are you an expert in one subject or another? If your goal is to help others and dispense hard-earned information back to the community, stake a claim on your very own Lockergnome blog today! You can write about anything - no matter the topic. Sign-up to start blogging!

64 queries / 0.408 seconds.