DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR SHELL
bash store directory list array
let i=1 for dir in "${dirs[@]}"; do echo "$((i++)) $dir" done
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#bash
#store
#directory
#list
#array
ADD COMMENT
Topic
COMMENT
Name
5+6 =
Submit