This question already has an answer here:
- How do I create a permanent Bash alias? 8 answers
I want to run a program, for example
gedit from terminal.
How can I run
gedit through terminal by just typing
ge on terminal?
You can add an alias for the command. Open your terminal with ctrl+alt+t and type:
Find alias section and add alias:
Changes will take affect in the new terminal.
An option is to create a directory ~/bin, and make a link from there to gedit:
You can do that with any application; to find out where to link to, type: