My first script

Okay, that explains the missing display. The script you are running is NOT the script you posted.
The script you are actually running contains a basic error in this line:

read $ticket

Should be:

read ticket

The error will cause $ticket to be blank.
Also, this line is missing:

echo "number entered" "$ticket"

Q.E.D.

Hopefully you next post will be a question from your Training Course?

Hey bro' may be i should take a course but i rather try by myself thanks for your time, by the way i don't know why the line

echo "number entered" "$ticket"

didn't show up i did have it anyhow i did the editing you mention but the outcome still the same i will keep trying. I'll let u know if i fix.

hi guys, i really need your help. i'm a new guy here, and i just created my account.

and it's my first time creating a unix script, however, im completely lost on how to start.

can you guys help me? is it okay to post the details of the output im trying to come up with? :frowning:

Hello,

Please do not ask new questions in existing threads. Unless you have new information to a particular problem, please create a new thread in the appropriate forum.

Also, please search the forums first, as it might be that someone has already posted an answer for a similar problem.

Best regards,
The UNIX and Linux Forums

oh im terribly sorry about this. :frowning:

i created a new thread with this title just now: "HELP with Unix scripts in summing columns in a file."

and im basically a noob, and i dont know how to do it, i apologize for posting out of nowhere.

thank you.