In the realm of text processing and data manipulation, Unix-like operating systems offer a powerful tool called SED, or the Stream Editor. Primarily used for parsing and transforming text, SED is an essential utility for system administrators, developers, and data analysts. One of its key functions is the ability to delete lines containing a specific string. This article provides a comprehensive guide on how to accomplish this task efficiently. Why Use SED for Deleting Lines? Deleting lines containing specific text is a common task in text processing. SED is particularly well-suited for this job because: Efficiency: SED processes data streamingly,…
Author: Rahul
PostgreSQL is an open source object-relational, highly scalable, SQL compliant database management system. PostgreSQL is developed at the University of California at Berkeley Computer Science Department. This article will help you for installing PostgreSQL on CentOS, RHEL and Fedora Systems. Adding PostgreSQL Yum Repository The first step is to install PostgreSQL repository in your system, Use one of below commands as per your system architecture and operating system. ### CentOS/RHEL 7 ### rpm -Uvh http://yum.postgresql.org/9.6/redhat/rhel-7-x86_64/pgdg-redhat96-9.6-3.noarch.rpm ### CentOS/RHEL 6 ### rpm -Uvh http://yum.postgresql.org/9.6/redhat/rhel-6-x86_64/pgdg-redhat96-9.6-3.noarch.rpm ### Fedora 26 ### rpm -Uvh http://yum.postgresql.org/9.6/fedora/fedora-26-x86_64/pgdg-fedora96-9.6-3.noarch.rpm ### Fedora 25 ### rpm -Uvh http://yum.postgresql.org/9.6/fedora/fedora-25-x86_64/pgdg-fedora96-9.6-3.noarch.rpm ### Fedora 24 ###…
A while loop is a fundamental control structure in Bash scripting that allows you to execute a block of code repeatedly as long as a certain condition is true. The while loop is an essential tool in any Bash programmer’s toolbox, and is used to automate tasks, perform operations on collections of data, and implement complex algorithms. In Bash scripting, while loops can be used to perform a wide variety of tasks, such as reading and processing files, generating reports, querying databases, and interacting with users. while loops are also often used in combination with other Bash control structures, such…
Bash is a popular shell used on Linux and macOS systems. It is a powerful tool for automating repetitive tasks and can help streamline system administration and development tasks. One of the most commonly used features of Bash is the for loop. In this tutorial, we will cover the basics of for loops as well as advanced for loops examples in Bash and show you how to use them to automate your work. What is a for loop in Bash? A for loop is a control structure in Bash that allows you to execute a set of commands repeatedly. It…
Elasticsearch is flexible and powerful open-source, distributed real-time search and analytics engine. Using a simple set of APIs provides the ability for full-text search. Elastic search is freely available under the Apache 2 license, which provides the most flexibility. This tutorial will help you to setup Elasticsearch single node cluster on CentOS, Red Hat, and Fedora systems. Step 1 – Prerequsities Java is the primary requirement for installing Elasticsearch on any system. You can check the installed version of Java by executing the following command. If it returns an error, install Java on your system using this tutorial. java -version…
Noise is an beautiful and fast GTK3 audio player. Currently, Noise 5.0 version is available to install. To read more out and change log of Noise click here. This article will help you to Install Noise Music Player in Ubuntu systems. Step 1 – Install Noise on Ubuntu Use following set of commands to install or Update Noise music player on your Ubuntu systems. sudo add-apt-repository ppa:elementary-os/daily sudo apt-get update sudo apt-get install noise Step 2 – Launch Noise Player To launch Noise player use GUI icon or use the following command to start it and enjoy audio/videos. noise Congratulation’s!…
Warning – Java 7 is officially deprecated by Oracle team. It is no more available for download on the public network. The Oracle team recommends upgrading to Java 8 or Java 9. You can follow below tutorials to install accordingly. JAVA 8 – Install on Ubuntu, LinuxMint JAVA 9 – Install on Ubuntu, LinuxMint This article will help you to Install Oracle JAVA 7 (JDK/JRE 7u76) on Ubuntu 14.10, 14.04 LTS and 12.04 LTS and LinuxMint systems using PPA File. To Install Java 8 in CentOS, Redhat and Fedora read This Article. Install JAVA Add the webupd8team Java PPA repository…
TLP is an advanced Power Management Tool for Linux systems. It can be a best tool for you if you are using laptop with Linux operating system. This article will help you to install TLP on Ubuntu 14.10, 14.04 and 12.04 system. Features: TLP is a pure command line tool with automated background tasks I/O scheduler (per disk) USB auto suspend with blacklist Enable/disable integrated wifi, bluetooth or wwan devices upon system startup and shutdown Restore radio device state on system startup (from previous shutdown). Radio device wizard: switch radios upon network connect/disconnect and dock/undock Disable Wake On LAN WWAN…
Time zones play a crucial role in ensuring that the system clock displays the correct time, particularly in a multi-user environment. Keeping the system time in sync with the right time zone helps to avoid confusion, reduce errors, and enhance the reliability of your systems. In this article, we will cover the steps involved in configuring the time zone in CentOS Steam 9/8 and other RHEL-based systems, which is a popular Linux distribution used in enterprise environments. Before we get started, it is important to note that you will need root access to your system to perform the steps outlined…
The RPMForge repository has been dis-continued. Please use other yum repositories. Use the below link to find useful yum repositories Top 5 Yum Repositories RPMforge is a collaboration of Dag and other packages. It provides a large number of packages for CentOS and RHEL systems. This article will help you to how to add rpmforge repository on your CentOS/RHEL 7/6/5 systems. To install more yum repositories visit article top 5 yum repositories.