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

learn more… | top users | synonyms

27
votes
2answers
1k 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?
662
votes
2answers
136k views

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

I have often wondered why the ~ (tilde) represents the home directory of a user. Is there a reason behind this, or is it just some infrequently used character?
24
votes
2answers
3k 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 ...
7
votes
2answers
15k 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 Hoons-...
6
votes
2answers
844 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 ...
10
votes
2answers
12k 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 ...
14
votes
3answers
548 views

Clean $HOME directory

During a few years, in my $HOME directory a lot of hidden files and directories appeared. I would like to continually delete the unneeded ones. How can I find out which applications created those ...
7
votes
1answer
2k 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 gnome-...
20
votes
3answers
3k views

Tilde (~) inside working unix directory

So, Im working in a UNIX environment and I noticed that inside my working directory, which is miles miles away from my UNIX home, there is a ~. Now, once in the past, I did rm -rf ~ from my working ...
3
votes
1answer
510 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 ...
9
votes
3answers
21k 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 ...
5
votes
3answers
10k 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 ...
3
votes
2answers
57 views

Who is creating Documents/Video/Pictures/etc. in home directory

I had Ubuntu-14.04 installed in a minimum configuration, i.e. with no X Windows support. Later I added x-server packages for my card, and a lightweight WindowManager (I don't want KDE or GNOME), so I ...
3
votes
3answers
776 views

To secure my data, is it good to have separate data partition (along with separate home partition)

I am installing fresh Ubuntu 15.10 on my laptop after erasing my hard disk completely. Now, what I am interested to know is whether it is good to have a separate data partition along with separate ...
1
vote
1answer
595 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 ...
4
votes
4answers
13k 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 ...
4
votes
2answers
18k views

Invalid cross-device link while Hardlinking in the same file system

I have /home/myuser/Desktop/rc/.netrc file that i want hardlink to /root, ie home directory of root user. When i do: ln /home/user/Destkop/rc/.netrc /root it gives the following error: ln: ...
3
votes
3answers
1k 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
285 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
395 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 ...
2
votes
4answers
5k 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
1answer
1k 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 ...
1
vote
2answers
37 views

How do you access the contents of a previous mount after switching to a different the partition?

I installed an additional Linux installation into a separate partition set the /home directory into that partition as well and afterwards I modified /etc/fstab to point to the old partition. How can ...