You can do if/for ect.. statements on one line by separating statements with a semi-colon if [ -f tmp.txt ] ;then echo "yep.. that is a...
Separate names with a comma.