![]() ![]() We’ll use the nano text editor to edit the ~/.bashrc file. Step 1: Open the TerminalĪgain, press Ctrl + Alt + T or search for ‘terminal’ in your system’s application launcher. Method 2: Creating an AliasĪn alias is a shortcut that you can create to represent a command (or set of commands) executed with or without custom options. Now, you can launch Sublime Text by typing subl in your terminal. The subl part is the command you’ll use to launch Sublime Text. /usr/bin/subl: This is the path where the symbolic link is created.Your path might be different depending on how you installed Sublime Text. /opt/sublime/sublime_text: This is the path to the Sublime Text executable.ln -s: This command creates a symbolic link.You’ll need to enter your password to proceed. sudo: This command runs the following command with root privileges.Step 2: Create a Symbolic LinkĮnter the following command in your terminal: sudo ln -s /opt/sublime/sublime_text /usr/bin/subl You can open the terminal by pressing Ctrl + Alt + T or searching for ‘terminal’ in your system’s application launcher. We can create a symlink to Sublime Text in the /usr/bin or /usr/local/bin directory, which are both in your system’s PATH. Method 1: Creating a Symbolic LinkĪ symbolic link, or symlink, is essentially a shortcut to another file. If you haven’t installed it yet, you can download it from the official Sublime Text website. ![]() ![]() Before we proceed, ensure that you have Sublime Text installed on your Linux machine. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |