0 کاربر و 1 مهمان درحال مشاهده موضوع.
با تشکر زبان bash یا cshمیشه بگید دقیقا چطور
#!/bin/bash# simple Script for someone in Ubuntu Forum about Continueing the process with question written with bash :)while [ true ]; do clear read -p "Do you want to continue? (Y/N)" choice if [ "$choice" == "Y" ]; then break elif [ "$choice" == "N" ]; then echo "Okay! we will exit!" sleep 2 exit else echo "You should choose Y or N" fidone