Installing gedit

Text Editor

Gedit

  • Installs gedit, a graphical text editor for GNOME.

sudo apt install gedit 

  • Opens or creates test.txt in gedit (GUI editor). If test.txt doesn't exist, it will create it.

gedit test.txt 

Mousepad

  • Opens or creates test.txt in Mousepad, another GUI text editor (default in Xfce). Requires Mousepad to be installed.

mousepad test.txt

Nano

  • Opens or creates test.txt in nano, a terminal-based text editor.

nano test.txt

Last updated