44

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.

2
  • 7
    just use subl path_to_file - subl should be on your path Commented Apr 19, 2016 at 12:44
  • Try this askubuntu.com/questions/273034/… Commented Apr 20, 2016 at 8:08

3 Answers 3

74

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 .

Sign up to request clarification or add additional context in comments.

1 Comment

for mac this has to be run first: stackoverflow.com/a/18842982/10018427
4

Terminal Command

$ subl modules/custom/js/drop-down.js

1 Comment

A score hunter's addition
0

for linux system: create symbolic binary file link to the usr/bin/local dir. then it can access by terminal.

for arch i use bash sudo ln -s /opt/sublime_text/sublime_text /usr/local/bin/subl and it works

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.