"Press any key to continue . . . " message in bash shell

Press any key to continue...


This video shows how to halt executing your script until an input is recieved and also to display a message to the user that they can press any key to continue execution in bash.



Commands:

read -rsn1 -p "Press any key to continue . . . "

read -rsn1



Background music: Alcorhytm - 06-software


Avaldati: 11.07.21
Failinimi: paktc_paktc_in_bash.MP4
Kategooria: Teised skriptimiskeeled


Ava video (YouTube)Ava video (Odysee) Tagasi

Attribuudid

  • Kustutatud
  • Subtiitrid
  • Avalik
  • Ülekanne
  • HD

Kommentaarid

@limasiddika7003

Premere uno tasto qualsiasi per continuare...