I am just trying out the FISH - (the FriendlyInteractiveSHell) - CLI & whenever I type in an erroneous Command, a new Prompt appears under the faulty Command prompt with a number in square brackets. I have searched through FISH's FAQs etc., but no joy in explaining the meaning of the error-number? If I hit Enter, the prompt just reappears with the error number until I enter a random correct command, such as 'ls'.


1 Answer 1


The number in brackets is the exit status of the last command.

What this means depends entirely on the command. There is a strong understanding that returning 0 means success, but anything else signals some error and the command can choose the exact code.


You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .