LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 11-25-2009, 06:14 PM   #1
gimpojones
LQ Newbie
 
Registered: Nov 2009
Posts: 3

Rep: Reputation: 0
Bash shell scripting woes.....


So i'm a McNubblet when it comes to doing scripting...

I'm trying to exit out of the script and the shell in one fell swoop in this case statement i'm running. I've tried various non-working things... I have a feeling the exec command will come into play, but I've yet to get the shell to recognize the command. I've also played around with the kill command, but i'm stumped on this one....

any help would be appreciated....

-gimpster
 
Old 11-25-2009, 06:28 PM   #2
ammorais
Member
 
Registered: Nov 2009
Location: Lisbon, Portugal
Distribution: Gentoo, CentOs, Ubuntu, Debian
Posts: 182

Rep: Reputation: 49
Try this commands:

Code:
man kill
man signal
man killall
 
1 members found this post helpful.
Old 11-25-2009, 06:45 PM   #3
smeezekitty
Senior Member
 
Registered: Sep 2009
Location: Washington U.S.
Distribution: M$ Windows / Debian / Ubuntu / DSL / many others
Posts: 2,339

Rep: Reputation: 231Reputation: 231Reputation: 231
WTF does woes mean?
Code:
try killall -s FPE $
(or was it $$)
 
1 members found this post helpful.
Old 11-25-2009, 06:51 PM   #4
gimpojones
LQ Newbie
 
Registered: Nov 2009
Posts: 3

Original Poster
Rep: Reputation: 0
i used kill -1 -1
 
  


Reply



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
Help with Bash shell scripting HLM01 Linux - Newbie 7 01-31-2008 04:23 PM
Bash shell scripting using if else nautz Linux - General 10 11-07-2006 09:47 AM
Help with I/O on bash shell scripting Dave6383 Programming 1 06-03-2004 05:24 PM
Bash Shell Scripting Help Tangerine Programming 6 05-06-2003 02:10 PM
BASH Shell scripting help ewarmour Linux - General 8 05-25-2002 07:10 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 04:54 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
Open Source Consulting | Domain Registration