# array help

**URL:** <https://community.unix.com/t/array-help/165563>\
**Category:** UNIX for Dummies Questions & Answers\
**Created:** [September 26, 2006, 5:06pm UTC](https://community.unix.com/t/array-help/165563 "2006-09-26T17:06:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mahabunta](https://community.unix.com/letter_avatar/mahabunta/32/6_449c533f586939b6e5f246632a46421f.png) [@mahabunta](https://community.unix.com/u/mahabunta)\
**Post date:** [September 26, 2006, 5:06pm UTC](https://community.unix.com/t/array-help/165563/1 "2006-09-26T17:06:52Z")

</div>

I have attray in unix

now initially i want to initialize it to "" then how can i do that

---

<div class="post-metadata">

**Author:** ![blowtorch](https://community.unix.com/user_avatar/community.unix.com/blowtorch/32/136_2.png) [@blowtorch](https://community.unix.com/u/blowtorch)\
**Post date:** [September 26, 2006, 10:31pm UTC](https://community.unix.com/t/array-help/165563/2 "2006-09-26T22:31:54Z")

</div>

You do not need to initialize anything in a shell. You can just start assigning values to the various array elements. If you leave any gaps those will remain null.
