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: |
I don't think we're supposed to help you with homework.
P.S. nano and vi are different |
You might just be able to launch gnome-session and whatever kde's equivalent is.
|
Quote:
|
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 ..... |
Uh-oh. :)
|
Quote:
|
Quote:
|
All times are GMT -5. The time now is 04:52 PM. |