Tag Archives: trap

trap – signal handling in shell

Ways for shell to create ‘multi-thread’ scripts (用shell写多线程脚本) An enhancement for ‘tod‘(利用trap改进多线程shell脚本) Yes, the way to write ‘multi-thread’ for shell is using ‘&’ to submit background job. We will use ‘tod’ for example: In ‘tod’, there are in total 3 … Continue reading

Posted in Programming | Tagged , , , , , | 2 Comments