11
rated 0 times
[
11]
[
0]
/ answers: 1 / hits: 4563
/ 1 Year ago, fri, may 12, 2023, 10:10:05
What is the ~/.var
folder used for and is it safe to remove the content within this folder?
More From » filesystem
What is the ~/.var
folder used for and is it safe to remove the content within this folder?
Well, /var
contains variable data files. This can include spool directories and files, administrative and logging data, and transient and temporary files.
Since it's under your home directory, it's probably safe to assume that files under ~/.var
serve the same purpose as files under /var
except that they are for your user only.
Perhaps an application that you use is storing important files there. You can certainly inspect the files yourself.
A good rule of thumb is that if you don't know what something does in a system or config folder, it's best to leave it alone.