Handle '!' and '.' commands in #! prompt

'!' : used to run system commands
'.' : used to interpret a file