Directories & Files
This course will get you up to speed with the fundamentals of Linux and prepare you for further study.
In this lesson, we're gonna talk about various graphical editors available in the Linux operating system. So far, you've learned about command line editors that are appropriate to use when you connect to a server via SSH or when you're using a terminal emulator application. If you're running Linux as a desktop operating system you also have access to graphical editors.
Emacs not only works at the command line but it also has a graphical mode as well. gedit is the default text editor for the Gnome desktop environment. It's very similar to notepad. gVim is the graphical version of Vim. KEDIT is similar to gedit. It's the default editor for the KDE desktop environment. If you are looking for a Microsoft Word replacement, consider AbiWord or LibreOffice.
LibreOffice not only includes a word processor but it's a complete office suite. It contains a spreadsheet, a database and presentation software. If you're looking for a source code editor to help in computer programming, look at an editor like Kate, there are other options available like Geany or jEdit or even Sublime Text. This is the CentOS Linux distribution with a Gnome desktop environment.
Let's look at the default text editor for Gnome which is gedit. It's a fairly simple text editor but it gets the job done. Well, open up a file. Click on Save to save. And we'll go ahead and close out this program. Emacs also has a graphical mode, all the key bindings work like they do in the command line mode. But with the graphical mode you also have access to a menu and a tool bar. So, just like the other text editor we can open up a file. And like Control + E will work to take us to the end of the line. Like we were in command line mode. Do File and Save. Let's look at the graphical version of them.
Again, the keystrokes that work on command line version of vi, also work in the graphical version. Write to write a file, I'll leave an exit with Q. LibreOffice is an office suite. Let's look at the text editor first. It's very similar to Microsoft Word. Well, close out this application. Let's look at the spreadsheet program, Calc. There's also presentation software. There are a variety of text editors and word processors for Linux. Emacs and vi both have graphical counterparts. Sometimes you may not have access to a graphical environment. For example, when you're connecting to a server over SSH, in that instance, you have to use a command line editor. However, if you do have access to the Linux desktop and graphical environment, feel free to use a graphical text editor of your choice.
Jason is the founder of the Linux Training Academy as well as the author of "Linux for Beginners" and "Command Line Kung Fu." He has over 20 years of professional Linux experience, having worked for industry leaders such as Hewlett-Packard, Xerox, UPS, FireEye, and Amazon.com. Nothing gives him more satisfaction than knowing he has helped thousands of IT professionals level up their careers through his many books and courses.