Bash: typical program