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

learn more… | top users | synonyms

464
votes
2answers
115k 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?
19
votes
5answers
2k views

Are there pitfalls to putting $HOME in git instead of symlinking dotfiles?

I have for many years had my entire $HOME directory checked into subversion. This has included all my dotfiles and application profiles, many scripts, tools and hacks, my preferred basic home ...
17
votes
1answer
600 views

At what point did the /home directory appear?

Originally in Unix, /usr was used for user (home) directories. So if I had a user named alex, my home directory would be /usr/alex. (Interestingly, Plan 9, the successor to Unix, still has user ...
12
votes
6answers
864 views

Is it a bad idea to use an SD card for home directory?

I'm planning to make an SD card (or a flash drive) my home directory so as to be able to work on different PCs without much hassle. Is this a bad idea for some reason?
12
votes
2answers
1k 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 ...
9
votes
3answers
347 views

Stacked filesystems with write-back

I need to setup a system where a laptop and a desktop computers coexist. The idea is, I bring the laptop into the network and the laptop syncs the /home directory( with some exceptions) with the ...
8
votes
3answers
5k 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 ...
7
votes
2answers
539 views

Is it possible to redefine the tilde ('~', home directory)?

Is it possible to redefine the home directory? e.g. to /ext1/acheong instead of /home/acheong, i.e. expanding the ~ to another directory (as opposed to changing the actual home directory where users' ...
7
votes
5answers
1k views

force copying a corrupted home directory

I have a home directory in a disk that has a lot of corrupted files. I am trying to save most files as possible. I am trying to create a backup of my home directory on an external drive using tar ...
6
votes
2answers
617 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
493 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 ...
5
votes
4answers
2k views

Difference between “/export/home” and “/home”

In our UNIX machine my home path looks like /home/<userid> and we have another batch user whose home looks like /export/home/<userid> I want to know whats the difference between ...
5
votes
3answers
127 views

Splitting the Home dir two different partitions

I run a Ubuntu desktop environment with two harddisks. A small SSD and a large regular disk. Currently i run a setup where my home drive is located on /home/name, but some folders e.g. Downloads ...
4
votes
1answer
251 views

configuration ethics (esthetics): /etc vs $HOME

Ok this may not be a very concrete question, and is perhaps subject to taste, yet I'm struggling to get this right so here it goes. I have a computer. This computer has linux on it (thank god). Arch ...
4
votes
2answers
515 views

conceal home folder completely - is ecryptfs the right choice?

On my Debian-Testing-System, I want to completely conceal the home folders. That means, I not only want the data to be encrypted, but I also want to preclude determining any (or most) information from ...
3
votes
2answers
6k 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 ...
3
votes
3answers
169 views

Convert old /home from ext3 to ext4

I have an old /home partition, that dates back to former linux systems, and it is still in ext3 format. Whereas the rest of my system, / and some other mounted point are devices formated in ext4. I ...
3
votes
1answer
229 views

Where should user configuration files go? [duplicate]

If I look at my home directory there are a large number of dot files. If I am creating a new program that needs a user configuration file, is there any guidance where to put it? I could imagine ...
3
votes
1answer
99 views

Login when root filesystem is full

Will I be able to login into the system if the root filesystem is 100% full? Configuration: home is not a partition but is also placed on the root (i.e. /home is a directory on the partition holding ...
3
votes
1answer
280 views

advantages and disadvantages of manually un/mounting drives.

What are the advantages or disadvantages of manually un/mounting internal drives? I've never really bothered un-mounting internal HDDs after mounting them the first time around but would like to know ...
3
votes
3answers
621 views

Linux and Windows compatible home drive

I want to have a singular home drive for both my Win7 and Arch partitions, so I initially set the partition to NTFS, as so: 5gb / 20gb C: 475gb /home + D: which worked up until I started ...
3
votes
1answer
40 views

/home/user: change directory failed error

I just installed Arch reading from the Beginners' Guide on the Arch Wiki. Once I rebooted Arch, I logged into root then I added my own personal account: useradd fox then passwd fox and set my password ...
3
votes
1answer
577 views

Can I safely delete ~/Trash file?

My Uni account is over disk quota and requesting more quota takes time. Unfortunately, I need disk space now and I noticed that the Trash file in my home directory is quite a large file. Now I’m a ...
3
votes
1answer
41 views

How to run script when SSSD creates home directory for a new user

I have a network with several RHEL6 workstations and RHEL IdM Server (a.k.a. FreeIPA) as a domain controller. Every LDAP user can log into the every workstation. When the user is logging in for the ...
3
votes
1answer
225 views

Dealing with Endless Config files in Home Folder

I'm beginning to have a lot of .[program name]rc files in my home folder. I wish i could create a folder to keep them all in, and then get every program to to look there. Is there an easy way to do ...
3
votes
1answer
1k views

SSH not landing in the home directory

I have recently installed Raspbian into a Raspberry Pi. As part of the installation process I changed the user name and group from the default (pi) to my own (let's call it user) using usermod and ...
3
votes
1answer
2k views

Automatically mount encrypted home folder on login

I'm looking into encrypting my home folder with Truecrypt, and mounting it after I've logged in, which should be pretty straightforward. However, it occurred to me that it should be theoretically ...
3
votes
0answers
223 views

How are you organizing your $HOME? [closed]

I've always wanted to know more about how people (power users and lambda users) were organizing there $HOME. The trend is currently is using xdg-users-dirs which define a set of most used folders like ...
2
votes
1answer
168 views

What exactly is a “home directory”?

When your University sends everyone an e-mail saying "We're sorry! One or more of our disks have failed; thus we've lost 'x' number of home directories on our servers." Is it basically just the root ...
2
votes
2answers
2k views

Disabling (or removing) X from CrunchBang home server

I've just installed crunchbang linux (based on Debian) on some really old hardware (we're talking single cores and DDR memory here) for a simple home server. However, seeing as the hardware sucks ...
2
votes
2answers
63 views

Changing username still leaves old traces

I changed my username about a month ago, and although I have forgotten the specificities of how I had done so, I'm pretty sure I followed the instructions on the Arch Wiki. Since then, some programs, ...
2
votes
4answers
48 views

Installing different distro without losing /home

I have a 2 year old laptop with Linux Mint 13 on it. Recently I've been having some problems with it (computer freezing, my settings suddenly disappearing and more) so I've been thinking about ...
2
votes
1answer
848 views

Users home path in a bash script

I'm writing a bash-script that will be run as a cron job everyday. Very basic, I was wanting to change the wallpaper daily. I have mint-14 with mate. The thing I'm getting caught up on right now ...
2
votes
1answer
63 views

Bad to own a directory outside of your home directory?

Some how, can't remember why, I got into the habit of downloading source to the directory /opt, which I chown to my user/group. I have this feeling that it is not a good thing to do. Is there ...
2
votes
2answers
209 views

How to source correct startup scripts on interactive, non-login shell

I'm trying to set up a sane/usable environment in a barebones OpenSolaris-derivative (OmniOS, a distribution of Illumos/OpenIndiana). I have all the plumbing code I need in .profile, .inputrc, and ...
2
votes
2answers
69 views

overriding HOME location

I'd like to override the user's HOME location locally in a script in order to force an application to store/load its settings portably. export HOME=$TMPDIR/Data export XDG_CONFIG_HOME=$TMPDIR/Data ...
2
votes
4answers
3k 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 ...
2
votes
3answers
1k views

Building a home file server using Arch Linux

I want to create a home file server using my old desktop. I plan on using Arch Linux for this as I'm familiar with it. The desktop has 2 hard drives - the old 20gb one & a new 1TB hdd. I plan on ...
2
votes
1answer
473 views

Dual-booting Windows 7 and Mint 14 with “something else” option

I would like to do a dual boot of Windows 7 and Mint 14 on my Acer netbook which already has Windows 7 Pro 64-bit installed on an 1 TB hard drive. I have already shrunk the Windows 7 partition to ...
2
votes
1answer
282 views

How to copy settings from one machine to another?

I would like to copy my "settings" from my desktop to my laptop. I am running KDE on Arch. I am not sure what to do with ~/.config, ~/.local, and ~/.kde4 since they have subdirectories with names that ...
2
votes
2answers
741 views

How to clean a home directory to install from scratch a previously installed distro?

I am using linuxmint-10-KDE. I have several partitions that I will reuse. One of them is /home. This /home/nomikos has a lot of gnome related files that I want to delete before install the new ...
2
votes
3answers
59 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
2answers
375 views

scp to /home changes permissions?

This would be illustrated very nicely with an scheme. When I write "Test: OK" or "Test: FAIL" I am restarting apache server (httpd service). Basically, performing everything as root in the ...
2
votes
2answers
114 views

Linux multi-user system: Each user's home partition on its own Hard Drive

I've got a pogoplug running Arch Linux that I'm using for a NAS with rsync backing up my data over SSH. Right now, I'm the only one using it, but I'd like to add my roommate as well. She has her own ...
2
votes
1answer
331 views

Setting up a user for sftp acces into a sub directory of another users home directory

An interesting problem. The broader goal is to setup a directory that one of our clients can sftp into (via ssh keys, not user/pass combination) and upload files. This directory will need to be ...
2
votes
0answers
58 views

Autofs home directories with passwordless logins

I want a setup where a user home directory is mounted on login (autofs). This is working with password based authentication. However, I want passwordless authentication, by generating public keys. ...
2
votes
0answers
293 views

Multiple Linux or Unix Distributions, Same Home Partition or Data?

To avoid conflicts I have always installed multiple Linux and Unix distributions each with it's own home partion or directory, and in the era of 3TB hard drives this is often very practical; I also do ...
2
votes
1answer
226 views

Modifying $HOME variable on a session startup script: Gnome ignores it?

I'm modifying the $HOME variable on a /etc/profile.d script. This seems to be OK for console sessions. There are some caveats on graphical sessions, though: Gnome won't load my desktop ...
2
votes
0answers
129 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 ...
1
vote
3answers
491 views

Can I use FAT partition for /home?

I'm new to Debian. I've been using Ubuntu for almost 5 years now and I want to switch and use a different distro. I chose Debian. I would like to know if is it possible store the home directory in a ...