Bash – what’s the use of “fi ;;”? February 8, 2023 by Tarik fi closes the if statement, while ;; closes the current entry in the case statement.