> On 2018 Jul 20 , at 9:27 a, Mr Guiguilebreton <gmadec...@gmail.com> wrote:
> 
> Hello, check this command in GNU bash, version 3.2.57(1)-release
> (x86_64-apple-darwin17):
> 
> ls () { ls -lG;}; ls

You wrote a recursive function with no base case. Don't do that.

    ls () { command ls -lG; }; ls

or use an alias for one of its few legitimate use cases

    alias ls='ls -lG'

Reply via email to