`type -a ls` produce three identical ls address
Clash Royale CLAN TAG#URR8PPP
up vote
0
down vote
favorite
When I check the ls
command, there exist a series of them:
$ type -a ls
ls is /usr/local/opt/coreutils/libexec/gnubin/ls
ls is /usr/local/opt/coreutils/libexec/gnubin/ls
ls is /usr/local/opt/coreutils/libexec/gnubin/ls
ls is /bin/ls
If view them from the folder
$ ls /usr/local/opt/coreutils/libexec/gnubin/ | grep "ls"
false
ls
It's single one ls command rather than three.
What's the reason, type -a produce three identical /usr/local/opt/coreutils/libexec/gnubin/ls
?
bash
New contributor
add a comment |Â
up vote
0
down vote
favorite
When I check the ls
command, there exist a series of them:
$ type -a ls
ls is /usr/local/opt/coreutils/libexec/gnubin/ls
ls is /usr/local/opt/coreutils/libexec/gnubin/ls
ls is /usr/local/opt/coreutils/libexec/gnubin/ls
ls is /bin/ls
If view them from the folder
$ ls /usr/local/opt/coreutils/libexec/gnubin/ | grep "ls"
false
ls
It's single one ls command rather than three.
What's the reason, type -a produce three identical /usr/local/opt/coreutils/libexec/gnubin/ls
?
bash
New contributor
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
When I check the ls
command, there exist a series of them:
$ type -a ls
ls is /usr/local/opt/coreutils/libexec/gnubin/ls
ls is /usr/local/opt/coreutils/libexec/gnubin/ls
ls is /usr/local/opt/coreutils/libexec/gnubin/ls
ls is /bin/ls
If view them from the folder
$ ls /usr/local/opt/coreutils/libexec/gnubin/ | grep "ls"
false
ls
It's single one ls command rather than three.
What's the reason, type -a produce three identical /usr/local/opt/coreutils/libexec/gnubin/ls
?
bash
New contributor
When I check the ls
command, there exist a series of them:
$ type -a ls
ls is /usr/local/opt/coreutils/libexec/gnubin/ls
ls is /usr/local/opt/coreutils/libexec/gnubin/ls
ls is /usr/local/opt/coreutils/libexec/gnubin/ls
ls is /bin/ls
If view them from the folder
$ ls /usr/local/opt/coreutils/libexec/gnubin/ | grep "ls"
false
ls
It's single one ls command rather than three.
What's the reason, type -a produce three identical /usr/local/opt/coreutils/libexec/gnubin/ls
?
bash
bash
New contributor
New contributor
New contributor
asked 2 mins ago
rider dragon
32028
32028
New contributor
New contributor
add a comment |Â
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
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.
rider dragon 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
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f478053%2ftype-a-ls-produce-three-identical-ls-address%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