Welcome, Guest
Username Password: Remember me

shell script run in background
(1 viewing) (1) Guest
Shell Script
  • Page:
  • 1

TOPIC: shell script run in background

shell script run in background 1 year, 10 months ago #304

  • rajeshkumar
  • OFFLINE
  • Moderator
  • I love software configuration management
  • Posts: 370
  • Points: 44590
  • Karma: 4
  • Honor Medal 2009
I wanted to run a particular shell program in a background and it should not be dependent on terminal session of putty or telnet?

Just finding solution?
Regards,
Rajesh Kumar
Build and Release Engineer
My Blog: community.scmgalaxy.com/pg/profile/rajeshkumar

Re:shell script run in background 1 year, 10 months ago #305

  • rajeshkumar
  • OFFLINE
  • Moderator
  • I love software configuration management
  • Posts: 370
  • Points: 44590
  • Karma: 4
  • Honor Medal 2009
i found 2 following solution for this..

./myscript&


You can prevent the signal from getting to the program by starting it like this:

nohup command &
Regards,
Rajesh Kumar
Build and Release Engineer
My Blog: community.scmgalaxy.com/pg/profile/rajeshkumar
  • Page:
  • 1
Time to create page: 0.70 seconds

     
    
Home Forum