5.4 Special Files and Directories Understanding /tmp and link Practice Exam Questions 1 Scenario : 1. A developer needs to store temporary files that should persist between reboots. Which directory should the developer choose? a) /tmp b) /var/tmp c) /run d) /var/run /* --------------------- */ -------------------------- Answer 1 Below: -------------------------- /* --------------------- */ Explanation : According to the Filesystem Hierarchy Standard (FHS), the /var/tmp directory is intended for storing temporary files that should not be cleared during system boot-up. Files stored in this directory are expected to persist between reboots, making it suitable for temporary data that needs to be retained across system restarts. Explanation of incorrect answers : a) /tmp: The /tmp directory is recommended for temporary files that do not need to persist between invocations of a program. It is cleared during system boot-up, so files stored here will not survive a r...
I am Darian Ross. Welcome to my blogger site.