Answers for "bash script makes input lines"

9

input bash

# fullname="USER INPUT"
read -p "Enter fullname: " fullname
# user="USER INPUT"
read -p "Enter user: " user
Posted by: Guest on December-01-2020
0

read input from multiple lines in BASH

user@host:~$ read -d '' x <<EOF
> mic
> check
> one
> two
> EOF
Posted by: Guest on April-20-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language