Anyone know how to do this?


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Anyone know how to do this?
# 1  
Old 04-23-2010
Anyone know how to do this?

Your script must check for the correct number of arguments (one argument). If somebody tries to invoke the script without passing in the correct number of arguments, then output this usage message: Usage: assignment4.sh <directory_name>

I know it should be an if statement of some sort... any suggestions?
# 2  
Old 04-23-2010
Do not post classroom or homework problems in the main forums. Homework and coursework questions can only be posted in this forum under special homework rules.

Please review the rules, which you agreed to when you registered, if you have not already done so.

More-than-likely, posting homework in the main forums has resulting in a forum infraction. If you did not post homework, please explain the company you work for and the nature of the problem you are working on.

If you did post homework in the main forums, please review the guidelines for posting homework and repost.

Thank You.

The UNIX and Linux Forums.
 
Login or Register to Ask a Question

Previous Thread | Next Thread
Login or Register to Ask a Question