Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

shell scripting

Status
Not open for further replies.

g4j4hgil4

Technical User
Jan 1, 2003
35
0
0
ID
hi,

im not familiar with linux shell scripting, in fact im not a programmer at all
can anyone help me here..

how do i make a command to run in looping that will stop when i press any key

thanks
 
hi,

thanks for the link but those manual just confused me

can anyone give me an example how to do that?
that would make it easier for me to digest

thanks
 
Hi,

pls try:

#!/usr/bin/ksh #(path wherr ksh is located)
while true
do
<commands>
done

this will work very wekll in ksh (korn shell)
 
hi,
appi: it run but i have to ctrl-c to stop it
but thanks anyway.. doesnt matter though
now i know where and which chapter to start reading the guide from bluegroper ;-)

thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top