Logo 
Search:

Unix / Linux / Ubuntu Articles

Submit Article
Home » Articles » Unix / Linux / Ubuntu » Homework HelpRSS Feeds

menu driven shell program which have the options change the term, change the prompt and user list of unix system.

Posted By: Mikayla Campbell     Category: Unix / Linux / Ubuntu     Views: 3749

Write a menu driven shell program, which have the following options:
Change the term
Change the prompt
User list of unix system
Quit

Code for menu driven shell program which have the options change the term, change the prompt and user list of unix system. in Unix / Linux / Ubuntu

count = 0
while [ $count -eq 0 ]
do
tput clear
echo "1. Change the term "
echo "2. Change the prompt "
echo "3. User list of unix system "
echo "4. Quit "if [ $choice -eq 1 ] 
then

elif [ $choice -eq 2 ]

elif [ $choice -eq 3 ]
    $who
else
    count = 1
    exit
fi
done
  
Share: 



Mikayla Campbell
Mikayla Campbell author of menu driven shell program which have the options change the term, change the prompt and user list of unix system. is from Toronto, Canada.
 
View All Articles

 

Other Interesting Articles in Unix / Linux / Ubuntu:


 
Please enter your Comment

  • Comment should be atleast 30 Characters.
  • Please put code inside [Code] your code [/Code].

 
No Comment Found, Be the First to post comment!