The /home directory or partition contains user-specific configuration files, caches, application data and media files.

learn more… | top users | synonyms

17
votes
2answers
2k views

Why do some applications use ~/.config/appname for their config data while others use ~/.appname?

I've noticed that some applications put their configuration files to ~/.config/appname while others use ~/.appname (the classic way, AFAIK) for this. What's the sense in this distinction and what ...
6
votes
2answers
732 views

Isn't $HOME supposed to be the location of the user's home directory?

I'm having trouble with a web application I'm writing: The web application, which runs as user nobody, needs to launch an inkscape process to manipulate some SVG files. Because this runs as user ...
577
votes
2answers
124k views

Why was '~' chosen to represent the home directory?

I have often wondered why the ~ represents the home directory of a user. Is there a reason behind this, or is it just some infrequently used character?
22
votes
2answers
932 views

Does ~ always equal $HOME

I know this has probably been asked before, but I couldn't find it with Google. Given Linux Kernel No configurations that change $HOME bash Will ~ == $HOME be true?
8
votes
2answers
7k views

Installing a package locally to a user - best practices?

I want to install Git locally to a user on a RHEL server (I don't have root access) What would be your cleanest/ most organized way of installing software to a local user account? Installing ...
5
votes
2answers
11k views

How to add home directory path to be discovered by Unix which command?

I have installed node.js at custom location and added the location to the $PATH in .profile file. Hoons-MacBook-Air:npm Eonil$ node --version v0.6.2 Hoons-MacBook-Air:npm Eonil$ which node ...
4
votes
1answer
761 views

how to make gnome use my home folder as Desktop folder?

Environment: Debian 7, gnome-shell. I dislike having a Desktop folder and a Home folder. I like all the applications to use my home folder. Specifically I am concerned about nautilus and ...
3
votes
1answer
185 views

Ubuntu user disappeared from machine

Unsolved mystery - I was given a coworker's Ubuntu 12.04.1 LTS machine and set up my own (sudo/admin) user on there from the command line. I switched to my user (from his sudo/admin user) and ...
8
votes
3answers
13k views

~ is $HOME, but sometimes?

This is kind of a trivial and dumb question. cd ~ does the same thing as cd $HOME which is also the same as cd /home/tandu However, cd ~not-tandu changes to /home/not-tandu Is this ...
2
votes
3answers
513 views

Authentication refused: bad ownership or modes for file /var/git/.ssh/authorized_keys [duplicate]

EDIT The issue as exposed here is solved (about files modes of the .ssh folder. But an other issue persists so I create a new question : > Unable to login with SSH-RSA key I can no longer ...
1
vote
1answer
267 views

Temporarily use something else as home directory

If it is possible, should be pretty basic, but I am puzzled how to ask Google the right question (or it is impossible). Lets say we have /home/user/ ...conf /home/user/candidate/ ...conf We have ...
2
votes
3answers
673 views

setting environment variable as a function of another env variable [duplicate]

I would like to set an environment variable (that we'll call "TEST") to store the path to a sub-directory of my home directory : something like /home/myself/dir/. I would like to use the $HOME ...
2
votes
0answers
226 views

/home is Read Only after coming out of screensaver (intermittent)

I am using Linux Mint 13 (Maya) and I have my "/home" partition formatted as ext4 and mounted at "dev/sdc1". Occasionally I have a strange problem coming up that looks a lot like this bug that I ...
2
votes
4answers
4k views

Problem changing the /home directory to another location

I decided to move my /home directory to a separate parition. But, since I am using more than one linux distro, I want to separate the /home directories as follows: /dev/sdax/ubuntu /dev/sdax/debian ...
1
vote
4answers
349 views

Why is the available space in my $HOME decreasing?

My OS is Ubuntu 12.04. As System Monitor shows, "free" for my $HOME is 1.6GiB, but "Available" is 222.7 MiB and is keeping slowly decreasing from around 750 MiB yesterday. I am not aware that I am ...
1
vote
4answers
9k views

What type of permissions should a user's home directory and files have?

I'm working with a fresh install of Ubuntu 12.04 and I've just added a new user: useradd -m testuser I thought that the -m flag to create a home directory for users was pretty standard, but now ...
0
votes
1answer
655 views

Single-user binary installation location?

I'd like to install a binary for only my user, because I don't have root, and therefore don't have access to /usr/bin. I've tried ~/bin, and it can't find the binary. I'm on Mac OS 10.6.7. Is there ...