Skip to content

Instantly share code, notes, and snippets.

@oplex
oplex / arrays_in_bash.md
Created April 2, 2020 18:26 — forked from chanmix51/arrays_in_bash.md
Using arrays in Bash

Using arrays in bash

creating an array

$> my_array=(one two three)

accessing/setting elements

$> echo ${my_array}

one

@oplex
oplex / command_substitution_bash.md
Last active April 2, 2020 18:16
substitution_bash.md

Substitute commands

Document structure
{COMMAND}
{EXAMPLE #COMMENT}
{LINK(if any source)}

$()