Home > OS >  The shell test
The shell test

Time:10-01

Ask, why 0 & gt; 1 status code is 127, the test 0 & gt; 1 the status code is 0?

CodePudding user response:

127 is an invalid command
Test the grammar wrong, should return 1

CodePudding user response:

reference 1st floor wisewoman response:
yeah I also think we should return 1, but the actual is 0

CodePudding user response:

refer to the second floor ljr_123 response:
Quote: refer to 1st floor wisewoman response:
yeah I also think we should return 1, but the actual is 0


The test should be no & gt; CodePudding user response:

reference zhouchao6 reply: 3/f
Quote: refer to the second floor ljr_123 response:

Quote: refer to 1st floor wisewoman response:
yeah I also think we should return 1, but the actual is 0


The test should be no & gt;
not to compare the size

CodePudding user response:

I already know why
  • Related