Thread: How to terminate the command in shell script
hi,
how terminate command in shell script, expecting ctrl+c terminate. example shell script is
cat /dev/input/event1 > event1.txt
cat /dev/input/event2 > event2.txt
cat /dev/input/event3 > event3.txt
not executing 2nd command, because first command waiting input of ctrl+c terminate. dont want press ctrl+c manually.
there way execute these 3 commands without manuall input.
please me out.
thanks
kemparaju
Forum The Ubuntu Forum Community Ubuntu Specialised Support Development & Programming Programming Talk How to terminate the command in shell script
Ubuntu
Comments
Post a Comment