What does the âÂÂMISSINGâ directive mean in a dircolors file?
Clash 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?
shell coreutils
add a comment |Â
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?
shell coreutils
add a comment |Â
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?
shell coreutils
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?
shell coreutils
asked Jun 7 at 5:02
bdesham
279210
279210
add a comment |Â
add a comment |Â
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.)
add a comment |Â
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.)
add a comment |Â
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.)
add a comment |Â
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.)
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.)
answered Jun 7 at 5:02
bdesham
279210
279210
add a comment |Â
add a comment |Â
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
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
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
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
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