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 by Prince Yadav
Page 14 of 20
Creating dialog boxes with the Dialog Tool in Linux
The Dialog tool is a command-line utility in Linux that allows developers to create interactive dialog boxes within shell scripts. These dialog boxes provide a user-friendly interface for displaying information, receiving input, and making selections, significantly enhancing the usability of command-line applications. Dialog boxes serve as an excellent bridge between the command line and graphical user interfaces, offering a text-based visual interaction that is both accessible and functional. This makes them particularly valuable for system administration scripts and user-interactive applications. Installing Dialog Tool Before creating dialog boxes, ensure that the Dialog tool is installed on your Linux ...
Read MoreCRLFuzz – A Linux Tool to Scan CRLF Vulnerability Written in Go
CRLFuzz is a powerful Linux tool written in Go that scans for CRLF (Carriage Return Line Feed) vulnerabilities in web applications. CRLF vulnerabilities occur when applications mishandle line termination characters, potentially leading to HTTP response splitting, cross-site scripting (XSS), and session hijacking attacks. This tutorial covers the installation process, demonstrates CRLFuzz usage with various command-line options, and explains how to effectively identify CRLF vulnerabilities to strengthen web application security. What are CRLF Vulnerabilities CRLF vulnerabilities arise when user input containing carriage return (\r) and line feed () characters is not properly sanitized. Attackers can exploit this to ...
Read MoreHow to use the “Curl” command in Linux?
The curl command is a versatile tool in the Linux environment, enabling data transfers to and from servers using various protocols including HTTP, HTTPS, FTP, and SMTP. This command-line utility is renowned for its robustness and flexibility, making it essential for sending HTTP requests, retrieving files, uploading data, and testing APIs. Checking Curl Version Before using curl, verify its installation and version information using the --version flag. This displays version details, supported protocols, and features. $ curl --version curl 7.72.0 (x86_64-pc-linux-gnu) libcurl/7.72.0 OpenSSL/1.1.1g zlib/1.2.11 Release-Date: 2021-02-24 Protocols: dict file ftp ftps gopher http ...
Read MoreHow to View Configuration Files Without Comments in Linux?
In this article, I'll show you how to view configuration files without comments in Linux using a few simple commands. Removing comments from configuration files can help you more easily find the information you need and make modifications to system settings. We'll explore two methods to accomplish this task − using the grep and sed commands. With these methods, you can effortlessly streamline your Linux system's configuration files, making it easier to locate critical information and adjust settings as needed. If you need to remove comments from a configuration file in Linux, the grep command is a straightforward and ...
Read MoreDEBUGFS Command to Show File Creation Times in Linux
The DEBUGFS command is a powerful utility in Linux that grants access to the file system of a block device. One of its notable features is its ability to reveal the creation time of a file, which cannot be easily obtained through typical Linux commands. This piece of information is stored in a data structure known as the inode, which houses diverse particulars about the file, including its creation time. To obtain this data, the DEBUGFS command accesses the inode of the file and provides a comprehensive view of the file system. This command facilitates the identification of the ...
Read MoreHow to Watch Live Cricket Scores in Linux Terminal using Cricket-CLI?
If you are a cricket fan who uses Linux, you may be wondering how to keep track of live cricket scores on your terminal. Fortunately, there is a solution that can provide you with live updates without leaving the command line interface: Cricket-CLI. In this tutorial, we will show you how to use Cricket-CLI to watch live cricket scores in your Linux terminal. We will walk you through the installation process, explain how to use the tool, and even show you how to customize it to suit your preferences. What is Cricket-CLI? Cricket-CLI is a command-line interface ...
Read MoreDeprecated Linux Networking Commands and Their Replacements
Linux is a very popular operating system among developers and system administrators due to its strong and robust command-line interface (CLI). However, some of the networking commands have become outdated over time, making way for newer and more efficient options. In this article, we'll have a look at some of the deprecated commands and their new modern-day replacements to help you keep up with your Linux networking configurations. In this tutorial, we'll go through each of the deprecated commands and their corresponding substitutions. We'll also provide examples of how to use the new commands. By the end of this ...
Read MoreInstall and use 7zip on Linux
Linux is a popular open-source operating system that offers many advantages, such as being free, customizable, and secure. One of the challenges that Linux users face is finding the right tools for certain tasks, such as compressing and decompressing files. Fortunately, 7zip is a powerful and versatile compression tool that can help us with this task. In this tutorial, we will walk through the process of installing and using 7zip in Linux. We will cover different ways to install 7zip, including via the command line and package manager, and provide step-by-step instructions. We will also explain the basic usage ...
Read MoreKill Processes in Linux using Fkill
Fkill is a versatile and user-friendly command-line tool that simplifies the process of managing and terminating processes on Linux systems. Its intuitive interactive interface enables efficient process management and system troubleshooting. One of the unique features of Fkill is its ability to terminate processes by their name, Process ID (PID), or port number. This flexibility helps identify and terminate stubborn processes that refuse to close, resulting in improved system performance. Installation Fkill is installed via npm (Node.js package manager). Use the following command: sudo npm install -g fkill-cli The installation will display output ...
Read MoreLinux sdiff Command Examples
The sdiff command is a powerful Linux utility that provides side-by-side file comparison with interactive merging capabilities. Unlike traditional diff commands that show differences vertically, sdiff displays files in parallel columns, making it easier to visualize changes and identify discrepancies between two files. This command is particularly useful for system administrators, developers, and anyone who needs to compare configuration files, source code, or text documents. The interactive nature of sdiff allows users to selectively merge changes, creating a unified output file based on their preferences. Syntax The basic syntax for the sdiff command is: sdiff ...
Read More