Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

bash ask for input

#!/bin/bash
# Demonstrate how read actually works
echo What cars do you like?
read car1 car2 car3
echo Your first car was: $car1
echo Your second car was: $car2
echo Your third car was: $car3
Comment

PREVIOUS NEXT
Code Example
Shell :: nmcli connection status 
Shell :: where is the mpv config file linux 
Shell :: vestacp wordpress permissions 
Shell :: list stopped containers 
Shell :: how to remove unused pip dependencies on mac 
Shell :: install packet tracer on ubuntu 
Shell :: add gpg key to zsh .zprofile 
Shell :: branch on carry clear 
Shell :: microsoft teams reopen main window 
Shell :: discord on linux 
Shell :: certbot install apache 
Shell :: how to install node.tar.xz in ubuntu 
Shell :: how to install wps office in ubuntu 
Shell :: check number of threads in a process linux 
Shell :: How to install SciPy on Anaconda 
Shell :: how to fork litecoin 
Shell :: how to warp files in linux 
Shell :: open django terminal 
Shell :: How to check git config username? 
Shell :: get all the branch in git 
Shell :: generate ssh in ubuntu 
Shell :: how to use multiple commands in linux 
Shell :: node js nodemailer Error: Invalid login: 535-5.7.8 Username and Password not accepted. 
Shell :: awk meaning in linux 
Shell :: unstage git add 
Shell :: kill process group linux 
Shell :: bash delete all symlinks 
Shell :: update dart 
Shell :: dexie nuxt 
Shell :: update cargo 
ADD CONTENT
Topic
Content
Source link
Name
3+4 =