mostly on computers and mathematics
run_whatever & pid=$!
sleep 3600
kill $pid 2>/dev/null
(Incidentally, no popular web search engine gives responses for the query $! )
It might be possible to hack something using ulimit, too
Post a Comment
No comments :
Post a Comment