input commands: '&' and '~'