Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

bash input

#!/bin/bash
# Ask the user for their name
echo Hello, who am I talking to?
read varname
echo It's nice to meet you $varname
Source by ryanstutorials.net #
 
PREVIOUS NEXT
Tagged: #bash #input
ADD COMMENT
Topic
Name
4+9 =