Bash

General Syntax

For loops

# List the file names
for i in $( ls ); do
     echo item: $i
done
# Loop over range of numbers
for i in `seq 0 9`; do
    echo $1
done

Parsing Arguments

bash/bash.txt · Last modified: 2021/03/20 19:21 by 127.0.0.1
CC Attribution-Share Alike 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0