Bash snippets

From UVOO Tech Wiki
Revision as of 16:08, 11 February 2023 by Busk (talk | contribs) (Created page with "# Math ``` i=$(($i + 1)) ``` # Array ``` hostsarray=($(cat hosts.txt)) ```")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Math

i=$(($i + 1))

Array

hostsarray=($(cat hosts.txt))