What Is Spool File in Linux?
Contents /Var/Spool Contains Data Which Is Awaiting Some Kind of Later Processing. Data in /Var/Spool Represents Work to Be Done in the Future (By a Program...
/var/spool contains data which is awaiting some kind of later processing. Data in /var/spool represents work to be done in the future (by a program, user, or administrator); often data is deleted after it has been processed.
What is a spool file?
A spooled file holds output data until it can be printed. … The spooled file collects data from a device until a program or device is able to process the data. A program uses a spooled file as if it were reading from or writing to an actual device.
What is spool in shell script?
Using the Oracle spool command
The “spool” command is used within SQL*Plus to direct the output of any query to a server-side flat file. SQL> spool /tmp/myfile.lst. Becuse the spool command interfaces with the OS layer, the spool command is commonly used within Oracle shell scripts.