Linux 相當於 DOS 暫停是什麼? - What is the Linux equivalent to DOS pause?

問題:

I have a Bash shell script in which I would like to pause execution until the user presses a key.我有一個 Bash shell 腳本,我想在其中暫停執行,直到用戶按下某個鍵。 In DOS, this is easily accomplished with the "pause" command.在 DOS 中,這可以通過“暫停”命令輕鬆完成。 Is there a Linux equivalent I can use in my script?我可以在我的腳本中使用 Linux 等價物嗎?


解決方案:

參考一: https://stackoom.com/question/O8o
參考二: What is the Linux equivalent to DOS pause?
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章