Cheatsheet bash

Comment # This is a comment in a bash file
print echo "Hello World!"
Arguments call the script like yourscript.sh arg1 arg2 arg3


echo $1
echo $2
echo $3

if if [ (condition) ]
then
# Do stuff
else
# Do other stuff
fi
FOR for i in `seq 1 10`; # count from 1 to 10
do
# Do stuff
done
Exit exit 0
Get return code echo $?
cheetsheet VBscript
read cvs file in bash