Is there a way to do it? I looked for a similar question but only found one on MAC OSX. However, I'm using Ubuntu 14.04.
Asked
Active
Viewed 9.7k times
39
-
6just use `subl path_to_file` - `subl` should be on your path – Keith Hall Apr 19 '16 at 12:44
-
Try this https://askubuntu.com/questions/273034/lauching-sublime-text-from-command-line – idleberg Apr 20 '16 at 08:08
2 Answers
71
Yes ,There's a way. Just Use the command subl
to open sublime text from terminal.
if you want to open a specific file use subl path/to/the/file
.
But sublime text must be installed using ppa. For particular installation of sublime text 3 using ppa refer This Link on .

sergiomafra
- 1,174
- 2
- 13
- 21

Devansh Upadhyay
- 726
- 7
- 4
-
1`` for mac this has to be run first: https://stackoverflow.com/a/18842982/10018427 – Alex Szücs Feb 06 '23 at 14:08
4
Terminal Command
$ subl modules/custom/js/drop-down.js

dipenparmar12
- 3,042
- 1
- 29
- 39

Manikandan
- 590
- 2
- 4
- 13