ubunttu-sh: 1: pause: not found

old code:

//in ubuntu OS
system("pause");

error discription:

sh: 1: pause: not found

right code in ubuntu:

system("read -p 'Press Enter to continue...' var");//

Re:

1.what-is-sh-1-pause-not-found;

2. what-is-the-linux-equivalent-to-dos-pause;

End

posted on 2018-06-04 16:52  鹅要长大  阅读(1041)  评论(0编辑  收藏  举报

导航