how to launch sublime from terminal code example

Example 1: how to open terminal in sublime text ubuntu

# how to open terminal in sublime text ubuntu
>> open sublime text 3 editor
>> Ctrl+Shift+P <-- it will open package manager
>> Type install package and Select it.
>> Type terminus 
>> install it. once complete installation Ctrl+Shift+P and search for Terminus init then it will open terminal.

Example 2: how to open sublime in linux

sudo ln -s /snap/sublime-text/38/opt/sublime_text/sublime_text /usr/local/bin/subl

Example 3: how to run your code in sublime text

Step1: Go to tool this is loacted at the top 
Step2: click build 

Shorcut: a shortcut to run it is ctrl+b