Ask your own question, for FREE!
Computer Science 19 Online
OpenStudy (anonymous):

I have a quick question with scripting in unix. Write a shell script that takes 2 arguments, the first one a filename and the second one a number. The script should print the filename to the screen 6 times using a loop, and then should check to see if the second argument is a number greater than 1000. If it is, printer out the message “That is a big number!”. If it is not, print out the message “That is a small number.”. Separate the looped messages from the last message you display with a blank line

OpenStudy (anonymous):

I assume you meant linux and are using a bash shell....

OpenStudy (hari5719):

haha i guess he is

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!