Possible Duplicate:
Run a command for a specified time and then abort if time exceeds
Looked all over and I can't find the answer...
Simple question: How can I cat a large file for, lets say, 45 seconds and output it to the screen or redirect to another file.
Thanks!
timeout
with redirection to a file. – Gabriel Staples Oct 13 '22 at 16:43