Is there a Linux command that will list all available commands and aliases for this terminal session?
As if you typed \'a\' and pressed tab, but for every letter of
You can always to the following:
1. Hold the $PATH environment variable value. 2. Split by ":" 3. For earch entry: ls * $entry 4. grep your command in that output.
The shell will execute command only if they are listed in the path env var anyway.