• Post Reply Bookmark Topic Watch Topic
  • New Topic

nohup  RSS feed

 
divya madala
Ranch Hand
Posts: 61
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can nohup be used for multiple programs to run.
Say for example.....
I issued the following commands on the terminal and logged out.
$ nohup java prog1 &
$ nohup java prog2 &
$ nohup java prog3 &
Next day when I log back in, will all the 3 programs finish to execute or only the last one?
Thanks,
Divya.
 
Michael Ernest
High Plains Drifter
Sheriff
Posts: 7292
Netbeans IDE VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
They will all run to completion whether you log back in or not, unless they block waiting for input.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!