Sublime Forum

Subl on Ubuntu terminal doesn't do anything

#1

I get into a Ubuntu box via SSH. I installed Sublime and verified subl is in the /usr/local/bin folder. However, when I try to open it using "subl " I get nothing. No errors, nor warnings, I’m just returned to the bash command prompt. I understood subl would allow editing files from the terminal command line. Is there something else I need to do?

Notes:

  • “/usr/local/bin” is in my path.
  • If I try "sublx " I get “command not found”, so I assume it is recognizing “subl” as a valid executable, but it is just not doing anything.

Any help would be appreciated.

0 Likes

#2

The subl command lets you use the command line to open files in Sublime Text, but Sublime Text is a graphical editor. If you are connected via SSH without any graphics on the Linux system it’s not going to work.

1 Like