Hello Nicolas! > bash-5.1$ echo () { echo test } > > echo test > > } > bash-5.1$ echo
You have defined a function echo that - calls itself with the first argument 'test' and the second argument '}' (!!!) - calls itself with the first and only argument test Try type -a echo and Echo() { echo test } Echo test } Echo to get an insight was is happening. So, it's no surprise that bash finally crashes. Most probably you want to insert a ; before the first closing }: echo() { echo test ; } But even now bash will crash. Best regards Martin