How Do I Open Notepad in Ubuntu Terminal?
Contents

Once you find the application, click on it. Now click on Install to start the installation of the Notepad-plus-plus application. Once the installation is completed, you can launch the application from the Ubuntu Dash menu. Or you can also type notepad-plus-plus in Terminal to launch the application.

How do I open a Notepad file in Ubuntu?

3 Answers

  1. Open your .bashrc startup script (runs when bash is started): vim ~/.bashrc.
  2. Add the alias defintion to the script: alias np='<path_to_textEditor>’ For Notepad++ it would be: alias np=’/mnt/c/Program Files (x86)/Notepad++/notepad++.exe’

How do I open Notepad in Terminal Linux?

The easiest way to open a text file is to navigate to the directory it lives in using the “cd” command, and then type the name of the editor (in lowercase) followed by the name of the file.

Elena Rostova

Elena Rostova

Lead Health, Wellness & Medical Journalist

Elena Rostova holds a Master's degree in Public Health Journalism. She covers groundbreaking medical research, holistic wellness trends, mental health awareness, and nutritional science.

Share this article
Twitter Facebook Pinterest