DispersedNet
SiteMap
Unix Concepts
Shell Programming
Shell Scripting
Unix Questions
Shell Functions
«Prev
Next»
Shell Programming
Shell Processes
login Shell
Define Unix Process
Starting Other Shells
Parent Child Processes
3 Ways Shell Script
Specify Shell Script
Unix Path Variable
Shell Script Conclusion
Embedded Commands
Defining embedded Execution
Embedded Command Syntax
Application Embedded Execution
Date Command Options
forLoop Embedded Execution
insert Carriage Return
embedded Command Conclusion
Unix Commands
Find Command
wc Command
sort Command
read in Variables
Sleep Clear Commands
Grep Command
coption to grep
tee Command
Shell Script
Debugging Shell Scripts
Tracing Shell Scripts
Handling Errors
Printing Progress
Writing Shell Functions
printmenu function - Exercise
Write the printmenu function
Objective:
Add functions to the course project script
Exercise scoring
This exercise is graded and worth 8 points.
Download files
You have access to the volleyball script from your shell account.
Instructions
Add a function to the volleyball script to print a menu on the screen. Your function should print out the following information: Volleyball Menu 1. Add a Player 2. Remove a player 3. Create a list of players 4. Search for a player 5. Exit
Submitting your exercise
Type or paste each of your answers into the text box below.
Then click the
Submit
button your answers to a tutor and view a results page.