2
rated 0 times
[
2]
[
0]
/ answers: 1 / hits: 2279
/ 2 Years ago, mon, march 28, 2022, 3:09:12
I want to ask
I have a problem, how do I get input in bash to do newlines?
read -p "List Name: " list
cat <<EOF >names.txt
List Names:
$list
EOF
i can not do a new line or use the command
, how to add a new line command ?
I want result output names.txt like this
List Name :
Robert
James
Samuel
More From » command-line