I have been reading an article from GeeksforGeeks that includes the following image of a unix filesystem layout:
After some reading (mainly of this post) I was able to determine the difference between /bin
and /usr/bin
. But, I haven't found anything detailing what /home/<username>/bin
is used for. What binaries are stored here? Is it packages that a user might have downloaded from the web, or something similar?
/home/<username>/bin
directory isn't part of the Filesystem Hierarchy Standard. It also isn't, as far as I'm aware, a standard directory in use by any of the major Linux distributions. If you see a directory there, then it's likely that a user of your system created it - either a system administrator, or you yourself. Can you explain what's motivating you to ask about this directory? – igal Mar 21 '19 at 22:18bin
directory. Also, when I looked at my unix machine's filesystem, I didn't see the folder so I was a bit curious. Thanks for sharing the hierarchy standard. I haven't seen that wiki article. :) – peachykeen Mar 21 '19 at 22:23bin
directory in your home directory would be if you don't have administrative privileges on the system in question - in which case you can't install software in the otherbin
directories. – igal Mar 21 '19 at 22:26