There are unfinished transactions remaining. You might consider running yum-complete-transaction
|

There are unfinished transactions remaining. You might consider running yum-complete-transaction

Today while working on CentOS 7, I used yum command to install some packages. But I interrupted the yum command by pressing CTRL + C from keyboard. Which lead me to this error : There are unfinished transactions remaining. You might consider running yum-complete-transaction, or “yum-complete-transaction –cleanup-only” and “yum history redo last”, first to finish…

Install lxml by using pip command on Ubuntu 14.04 LTS

Install lxml by using pip command on Ubuntu 14.04 LTS

lxml is a python library used for processing XML and HTML.In this post we will learn, how to install lxml by using pip command. We will use pip to install lxml on Ubuntu 14.04 LTS. It is important to install dependency prior using pip command to install lxml Install the dependencies. sudo apt-get install libxml2-dev…

sed command to display text between two strings or keywords
|

sed command to display text between two strings or keywords

In this post we will know about sed command to display text between two strings or keywords or words . Sed is a stream editor. A stream editor is used to perform basic text transformations on an input stream (a file or input from a pipeline) (Definition Reference from man page of sed). Knowledge of…

sed : find the pattern (keyword) and delete the line from file
|

sed : find the pattern (keyword) and delete the line from file

sed is stream line editor utility in unix operating systems.sed is a line-oriented text processing utility: it reads text, line by line, from an input stream or file, into an internal buffer called the pattern space. Each line read starts a cycle. To the pattern space, sed applies one or more operations which have been…

How to list users above or below particular user id
|

How to list users above or below particular user id

In rare cases, you will find sometimes we need to list users above or below particular user id. Such requirement mostly come when you are playing around users related troubleshooting. For an example, we want to list the users which are above userid 500 in Linux System. The user related information like username and user…

grep command to find multiple strings or keyword from file

grep command to find multiple strings or keyword from file

This post explains about grep command to find multiple strings or keyword from file. In Linux or Unix like operating system, the grep command utility is widely used. Grep is a command-line utility for searching plain-text data sets for lines matching a regular expression. Grep was originally developed for the Unix operating system, but is…