System Management

A nightly data-processing script writes intermediate files that must still be available after an unexpected reboot, but they are not needed long term. The administrator wants to follow the FHS. Which location is the best place for these temporary files?

Show the answer

Correct answerB. /var/tmp

/var/tmp is for temporary files that must be preserved between reboots. /tmp is the tempting choice, but the FHS allows its contents to be deleted at boot, so the files could be lost. /run and /dev/shm are memory-backed and are cleared at reboot.