Home » Linux » Applications » Text Editors

Office Software for Linux/Ubuntu – What are the Options?

Office For Linux

This article will cover some options for office productivity software for Linux. Microsoft Office dominates the office productivity space – it’s the industry standard. If you’re in business, other businesses probably expect to be able to send you an Excel or Word file and for you to be able to view or edit it. Microsoft Office, of course, does not run on Linux (unless you want to run an ancient version under emulation). It’s also not open-source or free. Here are some of the best alternatives … Read more

Home » Linux » Applications » Text Editors

How to Use The awk Command in Linux [With Examples]

awk command linux

This guide shows you how to use the awk command in Linux, with plenty of useful everyday examples. AWK is a tool and language for searching and manipulating text available for the Linux Operating System. The awk command and the associated scripting language search files for text defined by a pattern and perform a specific action on the text which matches the pattern. awk is a useful tool for extracting data and building reports from large text files or large numbers of text files – for example processing logs, or … Read more

Home » Linux » Applications » Text Editors

How to Search in Vim Text Editor

How to Search in Vim

This article explains how to search for words and expressions using Vim. Vim is ubiquitous, some tips and tricks can help you in everyday work life. So! Let’s explore simple searching, with Vim. Find a string Starting in normal mode, press forward-slash (/). Type in the string you’re looking for, and press enter. Press n to find the next occurrence. Once you reach the bottom, Vim loops back to the top. Reverse Search If you want to find all previous occurrences of a word, use … Read more

Home » Linux » Applications » Text Editors

Vim: How to Find and Replace

vim find and replace

This tutorial explains how to find and replace words in Vim/Vi. Vim provides the substitute command, similar to sed, for replacing text. Let’s go through and look at your options for finding and replacing text in this popular Linux text editor. Vim Syntax #from :help substitute :[range][substitute]/[pattern/{string}/[flags][count] For each line in [range] replace a match of {pattern} with {string}. For the {pattern} see pattern “:help pattern”. For instance if you wanted to replace all instances of Nov & Dec with Jan. :%s/Nov\|Dec/Jan/G When [range] and … Read more

Home » Linux » Applications » Text Editors

Vim / Vi: Deleting lines

Vim / Vi: Deleting lines

This tutorial will teach you how to delete single, blank, or multiple lines in Vim / Vi by using a pattern or range. Vim is ubiquitous, and it’s everywhere. Learning how to edit, remove, yank, paste, and everything else can help you speed through tasks. Before we get started, let’s turn on line numbers: Press ESC (pressing escape brings you into normal mode) Type :set number (brings you into command mode) Line numbers, voila! Simple Deletion The two basic usages of the d-shortcut, delete a single … Read more

Home » Linux » Applications » Text Editors

How to Save a File and Quit in Vim/Vi

How to Save a File and Quit in Vim Vi

In this guide, we explain how to save a file and quit/exit in Vim, how to save a file without exiting, and how to quit/exit without saving. Vim (Vi IMproved) is an open-source text editor for Unix or Linux. It’s used to write and edit text, either in the command line interface or independently through a GUI. It’s a great tool and like any software tool, one of the first things to learn about it is how to safely exit without losing all of your … Read more