1
0
mirror of https://github.com/adambard/learnxinyminutes-docs.git synced 2025-07-31 12:00:34 +02:00

Update bash.html.markdown

fix minor typo
This commit is contained in:
Gabriel Sroka
2022-02-01 19:38:03 -08:00
committed by GitHub
parent 2f05725cc0
commit 09694f73db

View File

@@ -112,7 +112,7 @@ echo ${array0[@]} # => "one two three four five six"
echo ${#array0[@]} # => "6"
# Print number of characters in third element
echo ${#array0[2]} # => "5"
# Print 2 elements starting from forth
# Print 2 elements starting from fourth
echo ${array0[@]:3:2} # => "four five"
# Print all elements. Each of them on new line.
for i in "${array0[@]}"; do