What binaries are stored in /home//bin?
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?
filesystems
New contributor
add a comment |
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?
filesystems
New contributor
2
The/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
6 hours ago
Thank you for your response @igal. I have seen it referenced in a few places like the article I shared above. But, it didn't really make sense to me why there would be this directory in the first place instead of just using some otherbin
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
6 hours ago
I didn't see it referenced in the article. I did a text search and didn't see that it was included in the graphic. The most common reason for having abin
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
6 hours ago
@igal it isn't referenced in the article, but in the filesystem hierarchy image I linked above which made it confusing.
– peachykeen
6 hours ago
add a comment |
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?
filesystems
New contributor
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?
filesystems
filesystems
New contributor
New contributor
New contributor
asked 6 hours ago
peachykeenpeachykeen
1083
1083
New contributor
New contributor
2
The/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
6 hours ago
Thank you for your response @igal. I have seen it referenced in a few places like the article I shared above. But, it didn't really make sense to me why there would be this directory in the first place instead of just using some otherbin
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
6 hours ago
I didn't see it referenced in the article. I did a text search and didn't see that it was included in the graphic. The most common reason for having abin
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
6 hours ago
@igal it isn't referenced in the article, but in the filesystem hierarchy image I linked above which made it confusing.
– peachykeen
6 hours ago
add a comment |
2
The/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
6 hours ago
Thank you for your response @igal. I have seen it referenced in a few places like the article I shared above. But, it didn't really make sense to me why there would be this directory in the first place instead of just using some otherbin
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
6 hours ago
I didn't see it referenced in the article. I did a text search and didn't see that it was included in the graphic. The most common reason for having abin
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
6 hours ago
@igal it isn't referenced in the article, but in the filesystem hierarchy image I linked above which made it confusing.
– peachykeen
6 hours ago
2
2
The
/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
6 hours ago
The
/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
6 hours ago
Thank you for your response @igal. I have seen it referenced in a few places like the article I shared above. But, it didn't really make sense to me why there would be this directory in the first place instead of just using some other
bin
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
6 hours ago
Thank you for your response @igal. I have seen it referenced in a few places like the article I shared above. But, it didn't really make sense to me why there would be this directory in the first place instead of just using some other
bin
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
6 hours ago
I didn't see it referenced in the article. I did a text search and didn't see that it was included in the graphic. The most common reason for having a
bin
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 other bin
directories.– igal
6 hours ago
I didn't see it referenced in the article. I did a text search and didn't see that it was included in the graphic. The most common reason for having a
bin
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 other bin
directories.– igal
6 hours ago
@igal it isn't referenced in the article, but in the filesystem hierarchy image I linked above which made it confusing.
– peachykeen
6 hours ago
@igal it isn't referenced in the article, but in the filesystem hierarchy image I linked above which made it confusing.
– peachykeen
6 hours ago
add a comment |
2 Answers
2
active
oldest
votes
What's stored in your home directory are things that
- Got copied there when the account was created, probably from some place like
/etc/skel
. - Things you yourself created, such as text files, scripts etc. that you have written.
- Things other programs created or stored on your behalf, such as mail, cache files, configuration files etc.
The way you organise your $HOME
is largely up to you (some applications may expect to find certain files in particular locations). For example, you may want to put executable scripts that you create (or programs that you compile) under $HOME/bin
and then add that directory to your $PATH
, but you may just as well have a $HOME/exe
or $HOME/runnables
directory that serves the same purpose. Or several of them, if that makes more sense to you.
There is no standard that dictate the organisation of the user-created files under $HOME
.
Thank you for your detailed post!
– peachykeen
6 hours ago
add a comment |
The binaries which could be placed there would be for a particular user purposes only. But with current standards, this is deprecated and discouraged.
As you could see from the File Hierarchy Standard from the Linux Foundation website, the concept of /home
is host-dependent and even considered as optional:
/home is a fairly standard concept, but it is clearly a site-specific
filesystem. The setup will differ from host to host. Therefore, no
program should assume any specific location for a home directory,
rather it should query for it.
However, having /home/username/bin/
is something you can encounter on RPM-based distributions, such as Fedora, Red Hat Entreprise Linux or Suse. On this aspect, they are not considered fully FHS-compliant if binaries are placed in $HOME/bin
directory which should be placed in standardized folders.
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "106"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
peachykeen is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f507829%2fwhat-binaries-are-stored-in-home-username-bin%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
What's stored in your home directory are things that
- Got copied there when the account was created, probably from some place like
/etc/skel
. - Things you yourself created, such as text files, scripts etc. that you have written.
- Things other programs created or stored on your behalf, such as mail, cache files, configuration files etc.
The way you organise your $HOME
is largely up to you (some applications may expect to find certain files in particular locations). For example, you may want to put executable scripts that you create (or programs that you compile) under $HOME/bin
and then add that directory to your $PATH
, but you may just as well have a $HOME/exe
or $HOME/runnables
directory that serves the same purpose. Or several of them, if that makes more sense to you.
There is no standard that dictate the organisation of the user-created files under $HOME
.
Thank you for your detailed post!
– peachykeen
6 hours ago
add a comment |
What's stored in your home directory are things that
- Got copied there when the account was created, probably from some place like
/etc/skel
. - Things you yourself created, such as text files, scripts etc. that you have written.
- Things other programs created or stored on your behalf, such as mail, cache files, configuration files etc.
The way you organise your $HOME
is largely up to you (some applications may expect to find certain files in particular locations). For example, you may want to put executable scripts that you create (or programs that you compile) under $HOME/bin
and then add that directory to your $PATH
, but you may just as well have a $HOME/exe
or $HOME/runnables
directory that serves the same purpose. Or several of them, if that makes more sense to you.
There is no standard that dictate the organisation of the user-created files under $HOME
.
Thank you for your detailed post!
– peachykeen
6 hours ago
add a comment |
What's stored in your home directory are things that
- Got copied there when the account was created, probably from some place like
/etc/skel
. - Things you yourself created, such as text files, scripts etc. that you have written.
- Things other programs created or stored on your behalf, such as mail, cache files, configuration files etc.
The way you organise your $HOME
is largely up to you (some applications may expect to find certain files in particular locations). For example, you may want to put executable scripts that you create (or programs that you compile) under $HOME/bin
and then add that directory to your $PATH
, but you may just as well have a $HOME/exe
or $HOME/runnables
directory that serves the same purpose. Or several of them, if that makes more sense to you.
There is no standard that dictate the organisation of the user-created files under $HOME
.
What's stored in your home directory are things that
- Got copied there when the account was created, probably from some place like
/etc/skel
. - Things you yourself created, such as text files, scripts etc. that you have written.
- Things other programs created or stored on your behalf, such as mail, cache files, configuration files etc.
The way you organise your $HOME
is largely up to you (some applications may expect to find certain files in particular locations). For example, you may want to put executable scripts that you create (or programs that you compile) under $HOME/bin
and then add that directory to your $PATH
, but you may just as well have a $HOME/exe
or $HOME/runnables
directory that serves the same purpose. Or several of them, if that makes more sense to you.
There is no standard that dictate the organisation of the user-created files under $HOME
.
answered 6 hours ago
KusalanandaKusalananda
137k17258426
137k17258426
Thank you for your detailed post!
– peachykeen
6 hours ago
add a comment |
Thank you for your detailed post!
– peachykeen
6 hours ago
Thank you for your detailed post!
– peachykeen
6 hours ago
Thank you for your detailed post!
– peachykeen
6 hours ago
add a comment |
The binaries which could be placed there would be for a particular user purposes only. But with current standards, this is deprecated and discouraged.
As you could see from the File Hierarchy Standard from the Linux Foundation website, the concept of /home
is host-dependent and even considered as optional:
/home is a fairly standard concept, but it is clearly a site-specific
filesystem. The setup will differ from host to host. Therefore, no
program should assume any specific location for a home directory,
rather it should query for it.
However, having /home/username/bin/
is something you can encounter on RPM-based distributions, such as Fedora, Red Hat Entreprise Linux or Suse. On this aspect, they are not considered fully FHS-compliant if binaries are placed in $HOME/bin
directory which should be placed in standardized folders.
add a comment |
The binaries which could be placed there would be for a particular user purposes only. But with current standards, this is deprecated and discouraged.
As you could see from the File Hierarchy Standard from the Linux Foundation website, the concept of /home
is host-dependent and even considered as optional:
/home is a fairly standard concept, but it is clearly a site-specific
filesystem. The setup will differ from host to host. Therefore, no
program should assume any specific location for a home directory,
rather it should query for it.
However, having /home/username/bin/
is something you can encounter on RPM-based distributions, such as Fedora, Red Hat Entreprise Linux or Suse. On this aspect, they are not considered fully FHS-compliant if binaries are placed in $HOME/bin
directory which should be placed in standardized folders.
add a comment |
The binaries which could be placed there would be for a particular user purposes only. But with current standards, this is deprecated and discouraged.
As you could see from the File Hierarchy Standard from the Linux Foundation website, the concept of /home
is host-dependent and even considered as optional:
/home is a fairly standard concept, but it is clearly a site-specific
filesystem. The setup will differ from host to host. Therefore, no
program should assume any specific location for a home directory,
rather it should query for it.
However, having /home/username/bin/
is something you can encounter on RPM-based distributions, such as Fedora, Red Hat Entreprise Linux or Suse. On this aspect, they are not considered fully FHS-compliant if binaries are placed in $HOME/bin
directory which should be placed in standardized folders.
The binaries which could be placed there would be for a particular user purposes only. But with current standards, this is deprecated and discouraged.
As you could see from the File Hierarchy Standard from the Linux Foundation website, the concept of /home
is host-dependent and even considered as optional:
/home is a fairly standard concept, but it is clearly a site-specific
filesystem. The setup will differ from host to host. Therefore, no
program should assume any specific location for a home directory,
rather it should query for it.
However, having /home/username/bin/
is something you can encounter on RPM-based distributions, such as Fedora, Red Hat Entreprise Linux or Suse. On this aspect, they are not considered fully FHS-compliant if binaries are placed in $HOME/bin
directory which should be placed in standardized folders.
edited 5 hours ago
answered 6 hours ago
ParadoxParadox
185113
185113
add a comment |
add a comment |
peachykeen is a new contributor. Be nice, and check out our Code of Conduct.
peachykeen is a new contributor. Be nice, and check out our Code of Conduct.
peachykeen is a new contributor. Be nice, and check out our Code of Conduct.
peachykeen is a new contributor. Be nice, and check out our Code of Conduct.
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f507829%2fwhat-binaries-are-stored-in-home-username-bin%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
2
The
/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
6 hours ago
Thank you for your response @igal. I have seen it referenced in a few places like the article I shared above. But, it didn't really make sense to me why there would be this directory in the first place instead of just using some other
bin
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
6 hours ago
I didn't see it referenced in the article. I did a text search and didn't see that it was included in the graphic. The most common reason for having a
bin
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
6 hours ago
@igal it isn't referenced in the article, but in the filesystem hierarchy image I linked above which made it confusing.
– peachykeen
6 hours ago