Add $ and # in command lines.