Best Answer: What Does Var Do in Linux?
Contents /Var Contains Variable Data Files. This Includes Spool Directories and Files, Administrative and Logging Data, and Transient and Temporary Files. Some...
/var contains variable data files. This includes spool directories and files, administrative and logging data, and transient and temporary files. Some portions of /var are not shareable between different systems. For instance, /var/log , /var/lock , and /var/run .
What is the purpose of var directory in Linux?
/var is a standard subdirectory of the root directory in Linux and other Unix-like operating systems that contains files to which the system writes data during the course of its operation.
Must Read
What does VAR mean in Linux?
var stands for variable( it holds variable data, the directory it contains are changing in size every time) /opt stands for optional (generally third party Software are installed in this directory). /