Forrest logo
back to the subl tool

subl:tldr:fa944

subl: Open a file or directory in a new window.
$ subl -n ${filename}
try on your machine

The "subl" command is typically used in the context of the Sublime Text editor. Here's an explanation of the command you provided:

  • "subl" is the command to launch Sublime Text.
  • "-n" is a flag or option passed to the "subl" command. In this case, it stands for "new window" and is used to open a new window of Sublime Text.
  • "${filename}" is a placeholder for a specific file name. You would replace "${filename}" with the actual name of the file you want to open.

Overall, the command "subl -n ${filename}" will open a new window in Sublime Text and load the file specified by "${filename}" into that new window.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the subl tool