The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
wildcard in a if cycle elionba82 Shell Programming and Scripting 2 04-18-2008 05:25 AM
CEP vs the hype cycle iBot Complex Event Processing RSS News 0 02-05-2008 03:20 PM
For cycle nagomes Shell Programming and Scripting 3 06-08-2007 02:48 AM
Stopping a command in between superprg Shell Programming and Scripting 3 01-11-2007 05:29 PM
shell cycle mape Shell Programming and Scripting 2 07-14-2006 12:12 AM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 11-24-2006
Registered User
 

Join Date: Nov 2006
Posts: 23
Stopping a command during the cycle

Hi,

Two things really:
1) can you input a code to pause a program until a key is pressed?
2) can you stop a command during a cycle?
Reply With Quote
Forum Sponsor
  #2  
Old 11-24-2006
Registered User
 

Join Date: Aug 2005
Location: Saskatchewan
Posts: 989
1) What language?
2) I'm sorry, I don't understand the question. What command? What cycle?
Reply With Quote
  #3  
Old 11-24-2006
Registered User
 

Join Date: Nov 2006
Posts: 23
im working in secure crt and for instance im writing a script to run the ping command to test if its recieving but the command goes on so long i want to stop it half way through.
Reply With Quote
  #4  
Old 11-24-2006
Registered User
 

Join Date: Aug 2005
Location: Saskatchewan
Posts: 989
1) Secure CRT is not a language, it's just the program you connect with. What language are you programming in?
2) Hit ctrl-c to send the program a SIGINT, which will kill it.
Reply With Quote
  #5  
Old 11-24-2006
Registered User
 

Join Date: Nov 2006
Posts: 23
1) I dunno is it SSH?

2) Sorry i meant in a script.
Reply With Quote
  #6  
Old 11-24-2006
Registered User
 

Join Date: Aug 2005
Location: Saskatchewan
Posts: 989
1) No, it is not SSH. Again, that's the program you're connecting with, it has nothing to do with what language you use once connected. If you don't even know what language you're using I can't help you.
2) See 'man ping'.
Reply With Quote
  #7  
Old 11-25-2006
Tornado's Avatar
Registered User
 

Join Date: Nov 2006
Location: Melbourne
Posts: 244
Quote:
Originally Posted by chapmana
1) I dunno is it SSH?

2) Sorry i meant in a script.
Whats the first line in your script ?
It should start with #!
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 04:41 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0