Executing shell commands flickers a console

What’s the exact error you are getting and which Linux variant are you using?