/usr duplicate /

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
0
down vote

favorite












I am learning linux file system from Centos and noticed that:



[root@iz2ze9wve43n2nyuvmsfx5z ~]# ls /
bin dev home lib64 media opt root sbin sys usr
boot etc lib lost+found mnt proc run srv tmp var


and the /usr



[root@iz2ze9wve43n2nyuvmsfx5z ~]# ls /usr
bin etc games include lib lib64 libexec local sbin share src tmp


only one of them is a linked



[root@iz2ze9wve43n2nyuvmsfx5z ~]# ls -l /usr
total 120
dr-xr-xr-x. 2 root root 32768 Sep 18 22:44 bin
drwxr-xr-x. 2 root root 4096 Apr 11 2018 etc
drwxr-xr-x. 2 root root 4096 Apr 11 2018 games
drwxr-xr-x. 51 root root 4096 Jul 4 11:27 include
dr-xr-xr-x. 30 root root 4096 Apr 11 2018 lib
dr-xr-xr-x. 43 root root 36864 Aug 10 16:31 lib64
drwxr-xr-x. 24 root root 4096 Aug 10 13:53 libexec
drwxr-xr-x. 15 root root 4096 Aug 19 02:38 local
dr-xr-xr-x. 2 root root 12288 Sep 6 12:28 sbin
drwxr-xr-x. 96 root root 4096 Aug 10 16:33 share
drwxr-xr-x. 4 root root 4096 Apr 11 2018 src
lrwxrwxrwx 1 root root 10 Jun 15 22:08 tmp -> ../var/tmp


Why they are identical to one another? Is it the rare case on Centos?










share|improve this question









New contributor




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























    up vote
    0
    down vote

    favorite












    I am learning linux file system from Centos and noticed that:



    [root@iz2ze9wve43n2nyuvmsfx5z ~]# ls /
    bin dev home lib64 media opt root sbin sys usr
    boot etc lib lost+found mnt proc run srv tmp var


    and the /usr



    [root@iz2ze9wve43n2nyuvmsfx5z ~]# ls /usr
    bin etc games include lib lib64 libexec local sbin share src tmp


    only one of them is a linked



    [root@iz2ze9wve43n2nyuvmsfx5z ~]# ls -l /usr
    total 120
    dr-xr-xr-x. 2 root root 32768 Sep 18 22:44 bin
    drwxr-xr-x. 2 root root 4096 Apr 11 2018 etc
    drwxr-xr-x. 2 root root 4096 Apr 11 2018 games
    drwxr-xr-x. 51 root root 4096 Jul 4 11:27 include
    dr-xr-xr-x. 30 root root 4096 Apr 11 2018 lib
    dr-xr-xr-x. 43 root root 36864 Aug 10 16:31 lib64
    drwxr-xr-x. 24 root root 4096 Aug 10 13:53 libexec
    drwxr-xr-x. 15 root root 4096 Aug 19 02:38 local
    dr-xr-xr-x. 2 root root 12288 Sep 6 12:28 sbin
    drwxr-xr-x. 96 root root 4096 Aug 10 16:33 share
    drwxr-xr-x. 4 root root 4096 Apr 11 2018 src
    lrwxrwxrwx 1 root root 10 Jun 15 22:08 tmp -> ../var/tmp


    Why they are identical to one another? Is it the rare case on Centos?










    share|improve this question









    New contributor




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





















      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      I am learning linux file system from Centos and noticed that:



      [root@iz2ze9wve43n2nyuvmsfx5z ~]# ls /
      bin dev home lib64 media opt root sbin sys usr
      boot etc lib lost+found mnt proc run srv tmp var


      and the /usr



      [root@iz2ze9wve43n2nyuvmsfx5z ~]# ls /usr
      bin etc games include lib lib64 libexec local sbin share src tmp


      only one of them is a linked



      [root@iz2ze9wve43n2nyuvmsfx5z ~]# ls -l /usr
      total 120
      dr-xr-xr-x. 2 root root 32768 Sep 18 22:44 bin
      drwxr-xr-x. 2 root root 4096 Apr 11 2018 etc
      drwxr-xr-x. 2 root root 4096 Apr 11 2018 games
      drwxr-xr-x. 51 root root 4096 Jul 4 11:27 include
      dr-xr-xr-x. 30 root root 4096 Apr 11 2018 lib
      dr-xr-xr-x. 43 root root 36864 Aug 10 16:31 lib64
      drwxr-xr-x. 24 root root 4096 Aug 10 13:53 libexec
      drwxr-xr-x. 15 root root 4096 Aug 19 02:38 local
      dr-xr-xr-x. 2 root root 12288 Sep 6 12:28 sbin
      drwxr-xr-x. 96 root root 4096 Aug 10 16:33 share
      drwxr-xr-x. 4 root root 4096 Apr 11 2018 src
      lrwxrwxrwx 1 root root 10 Jun 15 22:08 tmp -> ../var/tmp


      Why they are identical to one another? Is it the rare case on Centos?










      share|improve this question









      New contributor




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











      I am learning linux file system from Centos and noticed that:



      [root@iz2ze9wve43n2nyuvmsfx5z ~]# ls /
      bin dev home lib64 media opt root sbin sys usr
      boot etc lib lost+found mnt proc run srv tmp var


      and the /usr



      [root@iz2ze9wve43n2nyuvmsfx5z ~]# ls /usr
      bin etc games include lib lib64 libexec local sbin share src tmp


      only one of them is a linked



      [root@iz2ze9wve43n2nyuvmsfx5z ~]# ls -l /usr
      total 120
      dr-xr-xr-x. 2 root root 32768 Sep 18 22:44 bin
      drwxr-xr-x. 2 root root 4096 Apr 11 2018 etc
      drwxr-xr-x. 2 root root 4096 Apr 11 2018 games
      drwxr-xr-x. 51 root root 4096 Jul 4 11:27 include
      dr-xr-xr-x. 30 root root 4096 Apr 11 2018 lib
      dr-xr-xr-x. 43 root root 36864 Aug 10 16:31 lib64
      drwxr-xr-x. 24 root root 4096 Aug 10 13:53 libexec
      drwxr-xr-x. 15 root root 4096 Aug 19 02:38 local
      dr-xr-xr-x. 2 root root 12288 Sep 6 12:28 sbin
      drwxr-xr-x. 96 root root 4096 Aug 10 16:33 share
      drwxr-xr-x. 4 root root 4096 Apr 11 2018 src
      lrwxrwxrwx 1 root root 10 Jun 15 22:08 tmp -> ../var/tmp


      Why they are identical to one another? Is it the rare case on Centos?







      filesystems






      share|improve this question









      New contributor




      rider dragon 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




      rider dragon 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








      edited 3 mins ago









      JdeBP

      30.5k464139




      30.5k464139






      New contributor




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









      asked 1 hour ago









      rider dragon

      1032




      1032




      New contributor




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





      New contributor





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






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




















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          1
          down vote



          accepted










          On a CentOS 7 system, /bin, /lib, /lib64, and /sbin are normally symbolic links to their corresponding directories in /usr. You can see this by looking at the output of ls -l /.



          The /etc and /usr/etc directories are distinctly separate. In my experience, most programs check /etc for their configurations but likely can be configured to use /usr/etc if you really wanted to.






          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',
            convertImagesToLinks: false,
            noModals: false,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: null,
            bindNavPrevention: true,
            postfix: "",
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            );



            );






            rider dragon 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%2f477377%2fusr-duplicate%23new-answer', 'question_page');

            );

            Post as a guest






























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes








            up vote
            1
            down vote



            accepted










            On a CentOS 7 system, /bin, /lib, /lib64, and /sbin are normally symbolic links to their corresponding directories in /usr. You can see this by looking at the output of ls -l /.



            The /etc and /usr/etc directories are distinctly separate. In my experience, most programs check /etc for their configurations but likely can be configured to use /usr/etc if you really wanted to.






            share|improve this answer
























              up vote
              1
              down vote



              accepted










              On a CentOS 7 system, /bin, /lib, /lib64, and /sbin are normally symbolic links to their corresponding directories in /usr. You can see this by looking at the output of ls -l /.



              The /etc and /usr/etc directories are distinctly separate. In my experience, most programs check /etc for their configurations but likely can be configured to use /usr/etc if you really wanted to.






              share|improve this answer






















                up vote
                1
                down vote



                accepted







                up vote
                1
                down vote



                accepted






                On a CentOS 7 system, /bin, /lib, /lib64, and /sbin are normally symbolic links to their corresponding directories in /usr. You can see this by looking at the output of ls -l /.



                The /etc and /usr/etc directories are distinctly separate. In my experience, most programs check /etc for their configurations but likely can be configured to use /usr/etc if you really wanted to.






                share|improve this answer












                On a CentOS 7 system, /bin, /lib, /lib64, and /sbin are normally symbolic links to their corresponding directories in /usr. You can see this by looking at the output of ls -l /.



                The /etc and /usr/etc directories are distinctly separate. In my experience, most programs check /etc for their configurations but likely can be configured to use /usr/etc if you really wanted to.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered 58 mins ago









                GracefulRestart

                91417




                91417




















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









                     

                    draft saved


                    draft discarded


















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












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











                    rider dragon 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%2f477377%2fusr-duplicate%23new-answer', 'question_page');

                    );

                    Post as a guest













































































                    Popular posts from this blog

                    How to check contact read email or not when send email to Individual?

                    Displaying single band from multi-band raster using QGIS

                    How many registers does an x86_64 CPU actually have?