• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to stop bash script runing on Solaris  RSS feed

 
Sham Jowsaki
Ranch Hand
Posts: 146
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I have written a smal .bash script which is started perfectly and keep running. Now I would like to stop this script.

How to do that? Please help me. Urgent.

Thanks
Jowsaki
 
Ernest Friedman-Hill
author and iconoclast
Sheriff
Posts: 24217
38
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
kill <process-id>

or, if the script just doesn't want to die:

kill -9 <process-id>
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!