finish command line shell