I want to run a program, for example gedit from terminal.
How can I run gedit through terminal by just typing ge on terminal?
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:
nano ~/.bashrc
Find alias section and add alias:
alias ge='gedit'
Changes will take affect in the new terminal.
An option is to create a directory ~/bin, and make a link from there to gedit:
ln -sf /usr/bin/gedit ~/bin/ge
You can do that with any application; to find out where to link to, type:
which [applicationname]
e.g.
$ which gedit
/usr/bin/gedit