LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Fedora... Shell Scripting. (https://www.linuxquestions.org/questions/linux-newbie-8/fedora-shell-scripting-359251/)

khubeical 09-01-2005 02:31 PM

Fedora... Shell Scripting.
 
Hello, im currently in a linux class at my IT institute. I need to make a simple bash shell script that creates a menu with 5 choices.
load the kde desktop
load the gnome desktop
run the calandar
open vi
and exit
heres what i have so far. any help would be greatly appreciated. i am n00btacular.
clear
echo"---------------"
echo"mainmenu"
echo"---------------"
echo "[1] Load KDE"
echo "[2] Load GNOME"
echo "[3] Run calandar"
echo "[4] Open nano"
echo "[5] Exit"
echo -n "Enter your choice"
read youch
case $yourch in
1) ???
2) ??? (switchin to kde or gnome is where i need the help)
3) cal ;;
4) nano ;;
5) exit 0 ;;
esac



ANY HELP????? thanks :study:

:newbie:

spooon 09-01-2005 02:38 PM

I don't think we're supposed to help you with homework.

P.S. nano and vi are different

Matir 09-01-2005 02:40 PM

You might just be able to launch gnome-session and whatever kde's equivalent is.

spooon 09-01-2005 02:49 PM

Quote:

Originally posted by Matir
You might just be able to launch gnome-session and whatever kde's equivalent is.
I think that is "startkde".

DoctorWho 10-03-2005 09:57 AM

Spoon is correct, YOU are supposed to figure out your own homework.
In FACT this is a PLE which accounts for 25% of your final grade. The reason I know this is because I am prolly one of your instructors! Yes we ACTIVELY monitor these and other forums :) Good luck on your exams .....

Matir 10-03-2005 12:53 PM

Uh-oh. :)

homey 10-03-2005 02:20 PM

Quote:

The reason I know this is because I am prolly one of your instructors! Yes we ACTIVELY monitor these and other forums
Now we know where the linux users get grammar, punctuation and spelling from! :)

Ha1f 10-03-2005 03:04 PM

Quote:

Originally posted by DoctorWho
Spoon is correct, YOU are supposed to figure out your own homework.
In FACT this is a PLE which accounts for 25% of your final grade. The reason I know this is because I am prolly one of your instructors! Yes we ACTIVELY monitor these and other forums :) Good luck on your exams .....

this is the best post i have ever seen.:D


All times are GMT -5. The time now is 04:52 PM.