how to read text file using bash script
I am using Xdialog. I am giving you details what i want to do.
Xdialog --title "login window" \
--3inputsbox "" 0 0 \
"Username" "" \
"Password" "" \
"phone number" "9100" 2> /tmp/tmp.txt
I am taking input from user and store in a file.
But I want to store every input in three different variable.
How can I do that?
Download a copy of the Absolute Bash-scripting Guide. It should have enough instruction with examples.
the temporary file, though, in case more than one person were
to use the system. If the user is NOT the same person (numerical
uid) they won't be able to overwrite the file.
|All times are GMT -5. The time now is 01:58 PM.|