![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
my friend has quized me.. I'm very new to scripts but I know I'm somewhat close
any help would be a major help.. here is the script ex shell program, hello, to display the phrase "hello world" 50 times (script should verify the count) . Do not use a for loop! (hint should show hello world 1 ..... hello world 50 ) i put this #!/bin/bash count=1 max=50 while [ $count -le $max ] // a test of a condition -le another value do echo "Hello world $count" let count=count+1 I still get a error. any help would be nice thanks airmax_sk@yahoo.com |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|