.bashrc: alias ls="ls --color=auto" EDITOR=nano PS1='\u:\w $?\$ ' PS1='\[\e[0;32m\]\u:\w $?\$\[\e[0m\] ' chmod +x a.sh if [ -e script.sh ]; then echo existuje fi while [ ... ]; do ...; done while read line; do echo "$line"; done Ctrl+D ukonĨuje vstup for i in 1 2 3; do echo $i done for arg; do ... done myfunc() { ... } { ...; ...; } ( ...; ... ) cmd > vystup.txt < vstup.txt 2> chyby.txt echo chyba >&2