programB two> /var/log/programB.log one> /dev/null
Locate recursively all archive data files of diverse archive formats and lookup them for file name patterns one
Given that $COMMAND terminates effectively, It'll be run yet again. If it fails or is terminated by signal, the loop will close.
Whenever a command terminates over a deadly sign whose quantity is N, Bash utilizes the worth 128+N since the exit status.
I might say it might be very best To place your infinite loop inside of a script and manage signals there. This is a fundamental start line
At first I attempted php-serial class, but when I was looking through data, I obtained endless loop with strange information. Then I tried to debug problem and opened putty terminal, created command
Have you been typing the information into the display screen window? If that's so attempt ending the road with control-j or Handle-d intsead of enter.
In order to operate some thing in an infinite loop just like a daemon Then you definately'd finest put it while in the qualifications
In a few situations, it will not likely instantly destroy the "COMMAND", for instance, in case you track record it, it might sneak previous alive even if It really is guardian is dead. Though the loop is lifeless, and that's the critical click here section.
and then despatched command echo "AT" > /dev/ttyUSB0 following that I generally bought never ending loop from cat /dev/ttyUSB0 similar to this:
I nonetheless Assume It could be "Most effective to maintain inquiring on the Endless OS forums / IRC channels" by using a exact and complete description of the challenge.
@Binarus, oh, hmm, I didn't notice you meant find vs globs therefore a crucial issue. Which may be really worth a matter in alone, if it's not here previously. I feel there's two or three other details than just speed: standardization and batching come to thoughts.
Stack Exchange community is made of 183 Q&A communities including Stack Overflow, the largest, most trustworthy on the net community for developers to find out, share their understanding, and Develop their careers. Check out Stack Trade
How do Japanese folks have an understanding of the reading of an individual kanji with various readings in their daily life?