9

starting and killing evince process in a loop

view full story
linux-howto

http://askubuntu.com – I have certain PDF files. I want to inspect each of them for 20 seconds. The way I was trying to do that is like following: for file in *.pdf; do echo $file; evince $file; sleep 20s; killall evince; done . It displays the first file, but does not kill it after 20s. What is going wrong here? (HowTos)