Ash Ash - 4 months ago 7x
Linux Question

Linux Terminal Shortcuts

Is there any way to make "shortcuts" to programs on the linux mint terminal?

I'm trying to make a shortcut to sublime text, and I want to write something like "Sublime" and it opens automatically, is there any way to do this? I'm not finding it on google


You could create a symlink to the Sublime program:

ln -s /opts/sublime/sublime /home/ash/sublime

This assumes that your Sublime program be located at /opts/sublime/sublime and that you want the symlink to be located in your /home folder.

Now if you cd to your directory, you will see the symlink there:

cd /home/ash/
ls -l

/home/ash/sublime -> /opts/sublime/sublime

And if you want to run Sublime from your home folder you can just type: