yeah, this is intro to unix. The students have not had any unix before about 6 weeks ago. We meet once a week. We just started to write scripts last week. Its not an advanced class by any means. I think the scripting we are learning is more concept based. I don't think in this class we will be...
yes, it is an exercise on "if, then, elif, else" he said for extra credit add a loop using "while do" while do was his only hint on how to do it.
because the case stuff is too advanced for this intro to unix class, we just started scripting last week. If I used that the teacher would be like where did you get this from, plus I don't know what his stuff means. but his example gave me a syntax for the "while , do and done"
I...
Thanks ken, simple yet effective way of pausing. the final script I will turn in is below. not advanced, but works. This scripting stuff is pretty cool. Any good books on scripting out there? or a resouce on scripting commands?
Andrew
#! /bin/ksh
#Andrew Dubas - November 27, 2002
#simple menu...
Thanks! what is a way to "pause"? in dos batch files you can use the pause command which waits until a user strikes any key, how can I execute the command they choose, then pause until they hit a key. when they choose certain answers the screen clears so fast its hard to see what it...
I made the following menu per the instructors requirements. He stated for extra credit have it loop until somone chooses a number on the menu to exit. he said use a "do while" ? I'm only halfway through my unix class and am new to scripting. can someone explain looping? or how i can do...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.