Question : Recently CentOS 7 and RHEL 7 is released. After doing minimal installation, I have not find ifconfig command. Do we have alternate of ifconfig command ? Let me describe the problem – After installation, I have to connect my system to internet. But ifconfig command is not found . I read your previous […]
linux command
How to print particular line number by using sed command
This is a single line sed command to illustrate the example of , ” How to print particular line number by using sed command ” . sed command are the ultimate stream line editor. Often we generally share sed related tips. Given below is content of file called test. Absolute path is /tmp/test This is […]
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
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
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 […]
remove html tags by using sed command
In this post we are sharing tips to remove html tags by using sed command. Today, while working on migration of site from wordpress to static site, I used lots of sed command. I am sharing some sed command which are always successful for me. In html tags generally the tags are coded in this […]