ls error code 2
Clash Royale CLAN TAG#URR8PPP
up vote
0
down vote
favorite
I was reading the man of ls and in the end it talks about the Exit status of ls. It says:
Exit status:
0 if OK,
1 if minor problems (e.g., cannot access subdirectory),
2 if serious trouble (e.g., cannot access command-line argument).
But the thing is that i don't understand what they mean by:
cannot access command-line argument
I have never encountered a situation where i could not acces the arguments passed to my program and i was searching on the web about this particular situation and i couldn't get many information other then this site
which wasn't really clear to me and i was unable to reproduce the error. I'm not sure if i'm miss understanding the MAN page
Ps: I'm not sure if I'm miss understanding the man page or it's a real thing to can not be able to access the arguments AND thanks in advance for your answers.
linux ls c c++ return-status
New contributor
add a comment |Â
up vote
0
down vote
favorite
I was reading the man of ls and in the end it talks about the Exit status of ls. It says:
Exit status:
0 if OK,
1 if minor problems (e.g., cannot access subdirectory),
2 if serious trouble (e.g., cannot access command-line argument).
But the thing is that i don't understand what they mean by:
cannot access command-line argument
I have never encountered a situation where i could not acces the arguments passed to my program and i was searching on the web about this particular situation and i couldn't get many information other then this site
which wasn't really clear to me and i was unable to reproduce the error. I'm not sure if i'm miss understanding the MAN page
Ps: I'm not sure if I'm miss understanding the man page or it's a real thing to can not be able to access the arguments AND thanks in advance for your answers.
linux ls c c++ return-status
New contributor
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I was reading the man of ls and in the end it talks about the Exit status of ls. It says:
Exit status:
0 if OK,
1 if minor problems (e.g., cannot access subdirectory),
2 if serious trouble (e.g., cannot access command-line argument).
But the thing is that i don't understand what they mean by:
cannot access command-line argument
I have never encountered a situation where i could not acces the arguments passed to my program and i was searching on the web about this particular situation and i couldn't get many information other then this site
which wasn't really clear to me and i was unable to reproduce the error. I'm not sure if i'm miss understanding the MAN page
Ps: I'm not sure if I'm miss understanding the man page or it's a real thing to can not be able to access the arguments AND thanks in advance for your answers.
linux ls c c++ return-status
New contributor
I was reading the man of ls and in the end it talks about the Exit status of ls. It says:
Exit status:
0 if OK,
1 if minor problems (e.g., cannot access subdirectory),
2 if serious trouble (e.g., cannot access command-line argument).
But the thing is that i don't understand what they mean by:
cannot access command-line argument
I have never encountered a situation where i could not acces the arguments passed to my program and i was searching on the web about this particular situation and i couldn't get many information other then this site
which wasn't really clear to me and i was unable to reproduce the error. I'm not sure if i'm miss understanding the MAN page
Ps: I'm not sure if I'm miss understanding the man page or it's a real thing to can not be able to access the arguments AND thanks in advance for your answers.
linux ls c c++ return-status
linux ls c c++ return-status
New contributor
New contributor
New contributor
asked 2 mins ago
samad uddin
1
1
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
samad uddin is a new contributor. Be nice, and check out our Code of Conduct.
samad uddin is a new contributor. Be nice, and check out our Code of Conduct.
samad uddin is a new contributor. Be nice, and check out our Code of Conduct.
samad uddin 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%2f477390%2fls-error-code-2%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