Meaning of code with exitcode=0 in the .sh file

Asked 1 years ago, Updated 1 years ago, 63 views

I was studying Docker.I saw a code line that said exitcode=0 in the sh file.

I'm not sure what exitcode=0 means.

I would like to ask for url with a brief explanation or explanation of exit code. Thank you.

shell-script bash

2022-09-22 19:18

1 Answers

http://www.tldp.org/LDP/abs/html/exitcodes.html

0 is a success and the rest is an error. Please refer to the link above for the error code.


2022-09-22 19:18

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.