Article Categories
- All Categories
-
Data Structure
-
Networking
-
RDBMS
-
Operating System
-
Java
-
MS Excel
-
iOS
-
HTML
-
CSS
-
Android
-
Python
-
C Programming
-
C++
-
C#
-
MongoDB
-
MySQL
-
Javascript
-
PHP
-
Economics & Finance
Articles on Trending Technologies
Technical articles with clear explanations and examples
10 Cool Software to Try from COPR Repo in Fedora
If you're a Fedora user, you might be familiar with the standard software repositories available in the Fedora distribution. However, there is a lesser-known repository called COPR that offers users access to a vast collection of cool and useful software. In this article, we'll explore what COPR is, how to use it, and some of the most interesting software available in the COPR repo for Fedora. What is COPR? COPR stands for "Cool Other Package Repo". It's a community-driven software repository system developed by Fedora users to offer alternative software packages that may not be available in the ...
Read MoreHow to Delete a Postgres User (Drop User)?
PostgreSQL, commonly known as Postgres, is a powerful open-source relational database management system that has been around for over 30 years. It is known for its robustness, scalability, and flexibility, making it suitable for business-critical systems, web applications, and data warehousing. As with any database management system, it is important to know how to manage users in Postgres effectively. In this article, we will discuss how to delete a Postgres user (Drop User). Deleting a user might be necessary when it is no longer required or when there are security concerns. The process involves revoking privileges from the user ...
Read MoreCpustat – Monitors CPU Utilization by Running Processes in Linux
Cpustat is a command-line utility for monitoring CPU utilization by running processes in Linux. It allows users to view the amount of CPU time being used by individual processes and groups of processes, providing insights into how system resources are being utilized. With Cpustat, users can identify processes that are consuming too much CPU time and take action to optimize system performance. Installing Cpustat Cpustat is available for most Linux distributions and can be installed using the package manager. On Debian/Ubuntu, use the following command to install − sudo apt-get install cpustat On Fedora/CentOS, ...
Read MoreHow to resume a partially transferred file over ssh on Linux?
File transfer interruptions are common when copying large files over SSH connections. Network instability, connection timeouts, or accidental process termination can cause transfers to fail partway through. While the scp command doesn't support resuming interrupted transfers, Linux provides rsync as a powerful alternative that can resume partially transferred files. The scp command forces you to restart the entire transfer from the beginning, overwriting any partially transferred data. This becomes extremely frustrating and time-consuming when dealing with large files or unreliable network connections. What is Rsync? Rsync (Remote Sync) is a versatile command-line utility for synchronizing files and ...
Read MoreCreating a Hex Dump of a File
A hex dump displays the binary contents of a file in hexadecimal format, making it readable for humans. This is essential for programming, reverse engineering, data recovery, and debugging executable files. Linux provides several built-in tools to generate hex dumps of files. To demonstrate these tools, let's first create a sample text file − $ cat > example.txt This is our sample text in the file. We will convert it into hex using various tools. ^D Using hexdump Command The hexdump command is a built-in Linux utility that displays file contents in hexadecimal, decimal, ...
Read MoreRainbow Stream – An Advanced Command-line Twitter Client for Linux
Rainbow Stream is a free and open-source Twitter client for Linux command-line, released under MIT License. It is capable of showing real-time tweet streams, composing tweets, searching, favoriting, and more. It is written in Python and built on top of Twitter API and Python Twitter Tool. To run this application in your console you must have installed Python and pip version 2.7.x or 3.x. Features Free and open-source Twitter client for Linux command-line Capable of rendering Twitter images in terminal Supports proxy connections Interactive mode support Theme customization capabilities Real-time Twitter stream display Tweet, search, and favorite ...
Read MoreKilling all members of a process group in Linux
As a Linux system administrator, dealing with processes is a frequent task. Generally, they're easy to stop, however in certain cases − when there are large numbers of processes within the same groups − additional steps might be needed. We'll take a closer look at how to manage processes using the concept of process groups and how to terminate all processes that belong to one particular group efficiently. Process Groups A process group in Linux is a collection of related processes that share the same Process Group ID (PGID). Each process group has one group leader whose ...
Read MoreEncrypting and Decrypting Directory in Linux
Directory encryption in Linux provides essential security for protecting sensitive data from unauthorized access. There are several methods available, each with different strengths and use cases. This guide covers the most popular utilities for encrypting and decrypting directories. GPGtar for Archive Encryption GPGtar is a utility that combines tar archiving with GPG encryption, allowing you to encrypt entire directories as compressed archives. It uses GNU Privacy Guard (GPG) to encrypt files within a tar archive, making it ideal for securing large numbers of files at once. Creating an Encrypted Archive To create an encrypted tar archive ...
Read MoreDelete Lines in a Text File That Contain a Specific String
Text files are widely used for storing data and information in various fields such as computer science, engineering, healthcare, finance, etc. However, sometimes it is necessary to remove certain lines that contain specific strings or patterns from a text file. This task can be accomplished easily using various programming languages and command-line tools. Prerequisites Before proceeding further, we need to make sure that we have following prerequisites − A text file containing data and information. A programming language such as Python or command-line tools like Bash. Basic knowledge of regular expressions (regex) for pattern matching. ...
Read MoreDevice Management in Operating System
An essential part of an operating system is device management, which controls how software applications interact with the hardware attached to the computer system. It involves the process of detecting, configuring, allocating, and managing access to devices like printers, scanners, storage units, and network interfaces. The device management system ensures that hardware devices are used effectively by providing a consistent and reliable interface between software and hardware components. Device Management Architecture Device Management Architecture User Space Application 1 ...
Read More