Unix / Linux : How to print duplicate lines from file
|

Unix / Linux : How to print duplicate lines from file

In this post I am sharing a small tip which is very useful while for system admins. The tip is about how to print duplicate lines from file. Sometimes we get the big file with lot of contents.And there may be chances of duplicate lines. To find the duplicate lines from file, use the below…

yum : how to find rpm package which has certain command or file

yum : how to find rpm package which has certain command or file

With this post you will also learn, how to find RPM packages which has certain command or files. You may have encounter with the error like “netstat command not found” on Red Hat based operating system. This time, on exploring and using CentOS 7, I found many changes. Generally I prefer to go with minimal…

Linux : clear command and its keyboard shortcut
|

Linux : clear command and its keyboard shortcut

Today, in this post we will explain about linux clear command and its keyboard shortcut. Like cls command on Windows, on linux we use clear command.clear command is available on all Unix like Operating System. clear command clears output and command on console or terminal window. In short words, clear command clear the screen. But…

Install VLC Media Player on Ubuntu 14.04 LTS

Install VLC Media Player on Ubuntu 14.04 LTS

VLC media player is a portable, free and open-source, cross-platform media player(Linux,Windows,OSX,BSD etc.) and streaming media server written by the VideoLAN project. This is my first post on VLC media player.Recently a question was asked by a newbie to me. His question was , how to install VLC media player on Ubuntu 14.04 LTS. There…

How to install Nagios 4 from source on Ubuntu 14.04 LTS
|

How to install Nagios 4 from source on Ubuntu 14.04 LTS

In this tutorial we will learn, how to install Nagios 4 from source on Ubuntu 14.04 LTS. In this practical I have seen some problems while Nagios core 4 installation. Because in Ubuntu 14.04 LTS is shipped with new Apache 2.4 version ,it was quite obvious some extra steps we have to do. I will…

error: The requested URL returned error: 403 Forbidden while accessing Github repo
|

error: The requested URL returned error: 403 Forbidden while accessing Github repo

After a long time I created a repo on my Github account.Creating a repo is quite easy on Github, simply login to your account and click on ‘create repo’ button. After creating git repo, now it was time to push all my codes from my desktop to github repo. After cloning the repo into my…

FAQ on CentOS 7 / RHEL 7 : Alternate of ifconfig command

FAQ on CentOS 7 / RHEL 7 : Alternate of ifconfig command

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…

How to print particular line number by using sed 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
|

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…