Skip to main content

What do you know about /var?


/var:
  1.  It is a standard sub-directory 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.
  2. It contains variable data like system logging files, mail and printer spool directories.
  3. Some portions of /var are not shareable between different systems. For instance, /var/log, /var/lock, and /var/run. Other portions may be shared, notably /var/mail, /var/cache/man, /var/cache/fonts, and /var/spool/news.  
  4. It contains a number of sub-directory. These sub-directories is designated by a forward slash (/). Among the other directories that are usually installed by default in the root directory are /bin, /boot, /dev, /etc, /home, /initrd, /lib, /lost+found, /misc, /mnt, /opt, /proc, /root, /sbin, /tmp ,/local, /log, /mail, and /usr....etc
  5. Its contents are not included in /usr because situations can occur in which it is desired to mount /usr as read-only, such as when it is on a CDROM or on another computer. /usr, which is generally the largest directory (at least on a newly installed system) and is used to store application programs, should only contain static data.
  6.  Explanation of some sub-directories:
    1. /var/cache (contains cached data from application programs).
    2.  /var/games (contains variable data relating to games in /usr).
    3.  /var/lib (contains dynamic data libraries and files).  
    4. /var/lock (contains lock files created by programs to indicate that they are using a particular file or device).  
    5. /var/log (contains log files).  
    6. /var/run (contains PIDs and other system information that is valid until the system is booted again).
    7. /var/spool (contains mail, news and printer queues). 
read more.

References:
  1. http://www.linfo.org/var.html 
  2. http://www.tldp.org/LDP/Linux-Filesystem-Hierarchy/html/var.html

Comments

Popular posts from this blog

Cli.java won't compile in jahmm Problem: When you compile Cli.class in terminal or Eclipse, you may get the following error: Cli.java:27: package be.ac.ulg.montefiore.run.jahmm.io does not exist import be.ac.ulg.montefiore.run.jahmm.io.FileFormatException; ^ Cli.java:54: cannot find symbol symbol : class AbnormalTerminationException 9 more errors Solution: You must to pass parameters to your class. The class takes 5 parameters which are: Parameter 1: should be one of the following: create:  creates a new HMM description file, print:  prints a HMM learn-kmeans:   applies the k-Means algorithm learn-bw:  applies the Baum-Welch algorithm generate:    generates an observation sequence given a HMM distance-kl:    computes the distance between two HMMs Parameter 2: -opdf. It takes one of the following: -r: argument describes that HMM will take 4 integers. For example, -r 4 means that HMM takes ...

Merge & Split PDF Files

The following Tools allow you to do many functions on PDF files. In this post we will concern with Merging and Splitting PDF Files. The following too ls are ordered from Free to Trial versions: 1. Icecream Split&Merge Icecream Split&Merge, a free application that does exactly what it says; enables you split and merge PDF files quickly and easily. (Free) URL: http://icecreamapps.com/PDF-Split-and-Merge/ 2. PDFSAM PDF Split and Merge is an easy-to-use tool with graphical and command line interfaces to spit, merge, mix, and rotate your PDF documents. (FREE) URL: http://www.pdfsam.org/download/ 3. SODAPDF SODAPDF tools provide many methods such as combining different file types into one PDF and splitting PDFs. It also merge different PDFs into a large one. (FREE) You can merge your PDFs through: CREATE & CONVERT > Combine Files OR split your PDF through: CREATE & CONVERT > Batch Files You can also merge ...

Let's appear easily with NO Subscription & NO Money require

Would you like to start a video chat with one or more friend(s)? Do you want to avoid the subscription routine? Do you need to video chat without any paid money or without any installation? If your answer with YES, so let's APPEAR.IN Appear.in is a video chatting web site that allows you to video chat with your friends without any money paid or any subscription steps. All what you need to do is just: 1. Pick a name for your chatting room. 2. Click create. 3. Hit copy link. 4. Send the link on email,  chat,  SMS to who you want to talk. 5. Once your friends click the link, they  will appear in the room with you. Note. If you have an IPhone you must install the application of the appear.in first.