Find the answer to your Linux question:
Page 2 of 2 FirstFirst 1 2
Results 11 to 12 of 12
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 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #11
    Linux Guru Cabhan's Avatar
    Join Date
    Jan 2005
    Location
    Seattle, WA, USA
    Posts
    3,252

    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
    scm
    scm is offline
    Linux Engineer
    Join Date
    Feb 2005
    Posts
    1,044
    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).

Page 2 of 2 FirstFirst 1 2

Posting Permissions

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