Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

make a question in bash script

echo "Do you wish to install this program?"
select yn in "Yes" "No"; do
    case $yn in
        Yes ) make install; break;;
        No ) exit;;
    esac
done
Comment

PREVIOUS NEXT
Code Example
Shell :: print every line that contains a pattern 
Shell :: opera mini for ubuntu 18.04 
Shell :: Ubuntu software in 22.04 store does not use system theme 
Shell :: filesize in linux 
Shell :: execute shell command when container is being stopped 
Shell :: Install Kite for Linux 
Shell :: commit specific file in git 
Shell :: git add exclude 
Shell :: what is the command to move the cursor to the start of the current line in vi 
Shell :: restart linux 
Shell :: docker restart always 
Shell :: netflix app ubuntu 
Shell :: GUI for mac home dir 
Shell :: delete .lastupdated maven 
Shell :: git short version hash [by index] 
Shell :: batch wait seconds 
Shell :: msiexec wait until finished powershell 
Shell :: What does maven clean install -U do? 
Shell :: Jager setup on Docker 
Shell :: how to get last folder from path 
Shell :: Install the cordova module using npm utility of Node.js in windows 
Shell :: sed bash change line 
Shell :: renaming files in a folde to sequential numbers and perfix 
Shell :: How to create a gpt partition table with fdisk 
Shell :: How to show diffs for gpg-encrypted files? 
Shell :: powershell send message to all currently logged on users 
Shell :: command displays all the commands ran previously on the terminal 
Shell :: bash tab adds backslash before dollar sign 
Shell :: shopify buy sdk 
Shell :: node-red-contrib-influxdb 
ADD CONTENT
Topic
Content
Source link
Name
5+9 =