LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-31-2011, 08:32 PM   #1
nolucknewbie
LQ Newbie
 
Registered: Oct 2011
Posts: 1

Rep: Reputation: Disabled
Angry Completely lost...automated shell script


I have to complete a project for my intro to Linux class. I understand how to complete the menus but its the following two things I am having issues with. PLEASE HELP!!

Add a main menu alternative that runs a process in the background, a long sleep for example, so you get the menu back right away and can make other selections while the background job is running.
Add a main menu alternative that invokes another bash shell so you can examine the process table, remove files, etc., until you type "exit" at which time you'll return to helper's main menu. This doesn't need to be complicated.
 
Old 10-31-2011, 08:35 PM   #2
foreverkdy1
LQ Newbie
 
Registered: Oct 2011
Posts: 9

Rep: Reputation: Disabled
i need help with that too.
hope we can get a solution
 
Old 10-31-2011, 08:52 PM   #3
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,240

Rep: Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324
You should bookmark & read these
http://rute.2038bug.com/index.html.gz
http://tldp.org/LDP/Bash-Beginners-G...tml/index.html
http://www.tldp.org/LDP/abs/html/

Hints:
1. lookup what the '&' character does
2. consider what the 'bash' cmd does ...

Welcome to LQ
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How can I create an automated shell script fugitivemind Linux - Newbie 11 09-24-2010 12:33 PM
[SOLVED] shell script returning counter value from a while loop - lost upon completion logan960 Programming 2 11-19-2009 07:30 AM
Shell automated patchign script wondergirl Programming 2 02-20-2008 06:02 PM
automated FTP shell script RedOctober45 Linux - Software 1 01-09-2008 09:58 AM
Lost panel in Gnome -- now I'm completely lost! webwench Linux - Newbie 3 04-30-2005 02:38 AM


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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration