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.

Mousepad

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

Nano

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

Last updated