What Is Var Used for in Linux?
Contents /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...
/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.
What is the purpose of var run directory?
A new TMPFS-mounted file system, /var/run , is the repository for temporary system files that are not needed across system reboots in this Solaris release and future releases. The /tmp directory continues to be repository for non-system temporary files.
Must Read
What does var do in Ubuntu?
/var is dedicated to variable data, such as logs, databases, websites, and temporary spool (e-mail etc.) files that persist from one boot to the next. A notable directory it contains is /var/log where system log files are kept.