Difference between revisions of "Bash snippets"

From UVOO Tech Wiki
Jump to navigation Jump to search
(Created page with "# Math ``` i=$(($i + 1)) ``` # Array ``` hostsarray=($(cat hosts.txt)) ```")
 
(No difference)

Latest revision as of 16:08, 11 February 2023

Math

i=$(($i + 1))

Array

hostsarray=($(cat hosts.txt))