Great points. In addition, for the specific situation at hand, using input redirection will route the data through a FIFO behind the scenes while using "cat" will copy the entire file into RAM thus using much more in the way of resources. If the file in question is only a few K bytes that's no big deal, but if it's a couple of hundred GB then it makes the difference between running at all or crashing spectacularly...
--
Jim Kyle in Oklahoma, USA
Linux Counter #259718
Howto mark thread: https://wiki.ubuntu.com/UnansweredPo.../SolvedThreads
Bookmarks