Find the answer to your Linux question:
Page 2 of 2 FirstFirst 1 2
Results 11 to 12 of 12
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #11
    Linux Guru Cabhan's Avatar
    Join Date
    Jan 2005
    Seattle, WA, USA

    You cannot change the value in $UID, because this is a fairly important system variable.

    Also, please note that this is a homework question. Do NOT post answers to homework questions.

    godmachine, I find it very commendable that you have actually done your homework and have specific questions, rather than the usual "I need this script, who wants to write it for me?"

  2. #12
    when I do this loop, it'll read the first line and all the variables for the read statement I want, but it'll just echo out the first line infintely.
    That's because that's how you've coded it in your script. Look at my example in the post above yours and see if you can spot the difference between yours and mine (and hence why mine works and yours doesn't).

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts