ticket:9 add bash scrip for printmodes command
Merge branch 't9_commands'