What does the “MISSING” directive mean in a dircolors file?

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











up vote
0
down vote

favorite












I ran dircolors --print-database to show the default dircolors configuration and it included these lines (reformatted for clarity):



# symlink to nonexistent file, or non-stat'able file ...
ORPHAN 40;31;01

# ... and the files they point to
MISSING 00


I understand how a symlink can point to a nonexistent file. But how does it make sense to specify the color of the pointed-to file, since such a file can’t exist in the first place?







share|improve this question























    up vote
    0
    down vote

    favorite












    I ran dircolors --print-database to show the default dircolors configuration and it included these lines (reformatted for clarity):



    # symlink to nonexistent file, or non-stat'able file ...
    ORPHAN 40;31;01

    # ... and the files they point to
    MISSING 00


    I understand how a symlink can point to a nonexistent file. But how does it make sense to specify the color of the pointed-to file, since such a file can’t exist in the first place?







    share|improve this question





















      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      I ran dircolors --print-database to show the default dircolors configuration and it included these lines (reformatted for clarity):



      # symlink to nonexistent file, or non-stat'able file ...
      ORPHAN 40;31;01

      # ... and the files they point to
      MISSING 00


      I understand how a symlink can point to a nonexistent file. But how does it make sense to specify the color of the pointed-to file, since such a file can’t exist in the first place?







      share|improve this question











      I ran dircolors --print-database to show the default dircolors configuration and it included these lines (reformatted for clarity):



      # symlink to nonexistent file, or non-stat'able file ...
      ORPHAN 40;31;01

      # ... and the files they point to
      MISSING 00


      I understand how a symlink can point to a nonexistent file. But how does it make sense to specify the color of the pointed-to file, since such a file can’t exist in the first place?









      share|improve this question










      share|improve this question




      share|improve this question









      asked Jun 7 at 5:02









      bdesham

      279210




      279210




















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          0
          down vote



          accepted










          With the -l option, ls displays the target of each symbolic link. If you specify a style for MISSING then this will be used to display the target of a broken link. (If you don’t specify a style, or use the default 00, then the target will be displayed with the same style as is used for the link name itself.)






          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
            );



            );








             

            draft saved


            draft discarded


















            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f448330%2fwhat-does-the-missing-directive-mean-in-a-dircolors-file%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
            0
            down vote



            accepted










            With the -l option, ls displays the target of each symbolic link. If you specify a style for MISSING then this will be used to display the target of a broken link. (If you don’t specify a style, or use the default 00, then the target will be displayed with the same style as is used for the link name itself.)






            share|improve this answer

























              up vote
              0
              down vote



              accepted










              With the -l option, ls displays the target of each symbolic link. If you specify a style for MISSING then this will be used to display the target of a broken link. (If you don’t specify a style, or use the default 00, then the target will be displayed with the same style as is used for the link name itself.)






              share|improve this answer























                up vote
                0
                down vote



                accepted







                up vote
                0
                down vote



                accepted






                With the -l option, ls displays the target of each symbolic link. If you specify a style for MISSING then this will be used to display the target of a broken link. (If you don’t specify a style, or use the default 00, then the target will be displayed with the same style as is used for the link name itself.)






                share|improve this answer













                With the -l option, ls displays the target of each symbolic link. If you specify a style for MISSING then this will be used to display the target of a broken link. (If you don’t specify a style, or use the default 00, then the target will be displayed with the same style as is used for the link name itself.)







                share|improve this answer













                share|improve this answer



                share|improve this answer











                answered Jun 7 at 5:02









                bdesham

                279210




                279210






















                     

                    draft saved


                    draft discarded


























                     


                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f448330%2fwhat-does-the-missing-directive-mean-in-a-dircolors-file%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?

                    Bahrain

                    Postfix configuration issue with fips on centos 7; mailgun relay