How to open files with sublime text 3 from terminal?

77,538

Solution 1

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 .

Solution 2

Terminal Command

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

Share:
77,538
sergiomafra
Author by

sergiomafra

Fullstack developer (Python & Javascript) & Graphic Designer

Updated on June 12, 2020

Comments

  • sergiomafra
    sergiomafra about 4 years

    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.