What binaries are stored in /home//bin?












1















I have been reading an article from GeeksforGeeks that includes the following image of a unix filesystem layout:



enter image description here



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?










share|improve this question







New contributor




peachykeen is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
















  • 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 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


















1















I have been reading an article from GeeksforGeeks that includes the following image of a unix filesystem layout:



enter image description here



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?










share|improve this question







New contributor




peachykeen is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
















  • 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 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
















1












1








1


0






I have been reading an article from GeeksforGeeks that includes the following image of a unix filesystem layout:



enter image description here



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?










share|improve this question







New contributor




peachykeen is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












I have been reading an article from GeeksforGeeks that includes the following image of a unix filesystem layout:



enter image description here



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






share|improve this question







New contributor




peachykeen is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question







New contributor




peachykeen is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question






New contributor




peachykeen is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked 6 hours ago









peachykeenpeachykeen

1083




1083




New contributor




peachykeen is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





peachykeen is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






peachykeen is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.








  • 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 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
















  • 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 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










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












2 Answers
2






active

oldest

votes


















1














What's stored in your home directory are things that




  1. Got copied there when the account was created, probably from some place like /etc/skel.

  2. Things you yourself created, such as text files, scripts etc. that you have written.

  3. 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.






share|improve this answer
























  • Thank you for your detailed post!

    – peachykeen
    6 hours ago



















1














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.






share|improve this answer

























    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.










    draft saved

    draft discarded


















    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









    1














    What's stored in your home directory are things that




    1. Got copied there when the account was created, probably from some place like /etc/skel.

    2. Things you yourself created, such as text files, scripts etc. that you have written.

    3. 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.






    share|improve this answer
























    • Thank you for your detailed post!

      – peachykeen
      6 hours ago
















    1














    What's stored in your home directory are things that




    1. Got copied there when the account was created, probably from some place like /etc/skel.

    2. Things you yourself created, such as text files, scripts etc. that you have written.

    3. 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.






    share|improve this answer
























    • Thank you for your detailed post!

      – peachykeen
      6 hours ago














    1












    1








    1







    What's stored in your home directory are things that




    1. Got copied there when the account was created, probably from some place like /etc/skel.

    2. Things you yourself created, such as text files, scripts etc. that you have written.

    3. 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.






    share|improve this answer













    What's stored in your home directory are things that




    1. Got copied there when the account was created, probably from some place like /etc/skel.

    2. Things you yourself created, such as text files, scripts etc. that you have written.

    3. 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.







    share|improve this answer












    share|improve this answer



    share|improve this answer










    answered 6 hours ago









    KusalanandaKusalananda

    137k17258426




    137k17258426













    • 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





    Thank you for your detailed post!

    – peachykeen
    6 hours ago













    1














    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.






    share|improve this answer






























      1














      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.






      share|improve this answer




























        1












        1








        1







        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.






        share|improve this answer















        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.







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited 5 hours ago

























        answered 6 hours ago









        ParadoxParadox

        185113




        185113






















            peachykeen is a new contributor. Be nice, and check out our Code of Conduct.










            draft saved

            draft discarded


















            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.




            draft saved


            draft discarded














            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





















































            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







            Popular posts from this blog

            Accessing regular linux commands in Huawei's Dopra Linux

            Can't connect RFCOMM socket: Host is down

            Kernel panic - not syncing: Fatal Exception in Interrupt