Today,in this post we will learn, How to show line numbers with less command in Linux.In our previous post we have described about how to show line number with cat command. Less command is similar to more command but it has more features.As the name suggest, it read less output rather than reading the entire […]
Articles
How to test rpm package before installation
In this tutorial we will know, how to test rpm package before installation .You may have seen while installing the rpm package file by using rpm -i command, some problem may occur. It can be issue with dependency,GPG signature or corrupt rpm package etc. As a Linux System Engineer,this command is very useful and should […]
How to find installation date and time of rpm package
In this post,we will know the linux command to find installation date and time of rpm package. As a Linux System Administrator,we take part in IT auditing activity. Sometimes for cross check we require the exact date and time of rpm file installed in Red Hat based Operating System (RHEL/CentOS/Scientific Linux). Hence,for auditing purpose,it is […]
create a system account below uid 500 on RHEL/CentOS/Scientific Linux
In this post we will know,how to create a system account below uid 500 on Red Hat based operating system.In Red Hat based operating system,the system account are below UID 500. The UID below 500 are reserved for system use ,it should not be assigned to other users. We can easily check the system user […]
Extract single and selected files from RPM package on Linux
Question : How can I extract single and selected files from RPM package on Linux. Answer : You can extract the single and number of selected files from RPM package by using rpm2cpio and cpio command.To achieve this task we will first list the number of files inside RPM package. After getting files name, we […]
linux command to list the files from rpm package without extracting
Question: What is the linux command to list the files from rpm package without extracting ? Answer : To do listing of files from rpm file package we will use rpm2cpio and cpio command. It is good practice to check list of files before extracting files from rpm package. By viewing list of files we […]
How to extract RPM package on Linux system
In this tutorial we will learn, how to extract RPM package on Linux system. Extracting the rpm has one the important command and it will surely help you in System Administration. Many times I solved some problem which is caused by file corruption of particular package. Here is the story from my experience.One day,my colleague […]
Install and upgrade to latest Git version on Ubuntu/Debian/Linux Mint
In this tutorial we will learn,how to install and upgrade to latest Git version on Debian based Operating System.At the time of writing this post,git version 1.9.1 has been released on 2014-03-18. The information of new Git version release can be obtained from git-scm.com The practical has been tested successfully in Ubuntu,Debian and Linux Mint. […]
XAMPP : Mysql # 2002 – No such file or directory
After installing XAMPP in CentOS ,I tried to open the phpmyadmin of XAMPP. I opened the phpmyadmin URL in web browser and found the below given error. Error MySQL said: Documentation #2002 – No such file or directory The server is not responding (or the local server’s socket is not correctly configured). Later, I noticed […]
How to install XAMPP on CentOS/RHEL 6.5
In this tutorial we will learn,how to install XAMPP in CentOS/RHEL 6.5.We will install XAMPP version 1.8.3. XAMPP is a open source cross platform software stack package mainly used for web server solution. XAMPP is available for Windows,MAC OSX,Solaris and Linux(WAMP, MAMP, SAMP, LAMP). XAMPP stands for –X = Cross Platform (Windows,MAC OSX,Solaris and Linux)A […]
New XAMPP security concept
After installing XAMPP, I saw apache Error page “Access to the requested object is only available from the local network.”I have installed XAMPP for Linux version 1.8.3-3 on CentOS 6.5 . After installation of XAMPP, I opened the URL address in web browser.By-default the URL redirected to Alias /xampp and It shown a apache “Error […]
know about GECOS in Linux
Question: What is GECOS in Linux ? How to set GECOS for user on Linux ? Answer: GECOS in linux is also known as comment field for User.The comment or GECOS field is used for informational purpose. In comments field generally we write the information related to user for eg. employee id,phone number,department name,branch name […]
Print double hyphen sign simultaneously in post of Octopress
After spending lot of time on this issue.I finally found the solution to print double hyphen sign simultaneously in post of Octopress.Octopress uses markdown as a default text editor.In recent time,Octopress come up as a promising bloging platform.I was working on my staging blog which is based on Octopress. While writing the post in Octopress,I […]
show post excerpt in atoms feed of octopress
In this tutorial we will learn, how to show post excerpt in atoms feed of octopress. After installing Octporess in Linux system, I am still exploring many things. For blogging platform,I mostly use and install wordpress.In recent time,the octopress came up with promising new blogging platform. It is quite obvious some good features of WordPress,I […]
Squid proxy server to block websites listed in file
In this tutorial we will use Squid proxy server to block websites listed in file. Here,we will list the website in a file called “restricted-sites.squid”. In our last post we have already setup the squid transparent proxy. The How to guide will help to install and configure the latest Squid Server. Advantage of using file […]















