Q Quốc Đặng Member Jan 12, 2022 #1 How do I find exit code from previous command? Answer To display the exit code for the last command you ran on the command line, use the following command: $ echo $? The displayed response contains no pomp or circumstance. It’s simply a number.
How do I find exit code from previous command? Answer To display the exit code for the last command you ran on the command line, use the following command: $ echo $? The displayed response contains no pomp or circumstance. It’s simply a number.