This may seem like a stupid question.
I'm using Ubuntu 15.10 with GNOME Terminal 3.16.2. When I was new to the system, I often typed 'l' or 'la' instead of 'ls' to list files, and would then be told that these were not valid commands. I obviously then typed 'ls' properly. Now I notice that typing 'l' and 'la' do the same thing as 'ls'.
What's going on here? Has the terminal learnt the common mistakes that I make, and made aliases to account for them, or is this a new feature that I've installed without realising?
type la
will help. Are they links?/bin/ls -l $(type -p la )
. Some programs behave differently depending on the name (argv[0]
). – waltinator Apr 09 '16 at 20:37