Find the "shortcut" names list of executable scripts
Matthew Barrera
I am searching for hours with different key words without success.
The context: I give a name to some scripts .sh in order to make them executable anywhere.
For instance, the script gogo.sh is in /etc/gogo_program directory. In order to execute gogo.sh anywhere without having to cd to /ect/gogo_program, I gave it a name, a kind of "shortcut" called Cparti. So, launching a terminal anywhere I just need to type Cparti to execute it.
The problem is I don't find the command that lists all these terminal "shortcuts". I did it months ago, now I forgot and even searching with keywords like "alias" and so on, it does not give me the list of "shortcuts". And I need it because I have to check which are present, and have to clean it.
Thanks.
Ubuntu 18.04.5 LTS
31 Answer
Here's how:
find $(echo $PATH | tr ':' ' ') -type l -ls