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 15 of 20
Linux stat Command with Examples
The stat command in Linux is a powerful tool for retrieving detailed information about files and file systems. It displays comprehensive data including file permissions, timestamps, ownership, inode numbers, and filesystem properties. This command proves invaluable for system administration, troubleshooting, and security analysis. Basic File Information The most common usage displays complete file metadata − $ stat /var/log/syslog File: /var/log/syslog Size: 602244 Blocks: 1200 IO Block: 4096 regular file Device: 803h/2051d Inode: 175419 ...
Read MoreDisplay Custom Welcome Messages on the Linux Terminal
On Linux systems, the terminal is a powerful tool for executing commands and managing tasks. Personalizing the terminal can significantly improve user experience and make the Linux environment feel more welcoming. This article explores how to display custom welcome messages on the Linux terminal, creating a personalized greeting each time you open a terminal session. Understanding the Bashrc File The .bashrc file is a shell script that runs automatically whenever a new terminal session starts. It provides an excellent opportunity to display custom messages, system information, or motivational quotes. To begin customization, navigate to your home directory using ...
Read MoreLinux who Command with Examples
The Linux who command is a fundamental system utility that displays information about users currently logged into the system. It shows login names, terminal devices, login times, and remote host information. This command is essential for system administrators to monitor active user sessions and track system access. Basic Usage The simplest form of the who command displays all currently logged-in users: who user1 pts/0 2021-12-20 10:01 (192.168.1.100) user2 pts/1 2021-12-20 10:03 (192.168.1.101) admin ...
Read MoreLinux zcat Command with Examples
The zcat command in Linux is a tool for displaying the contents of compressed files in the gzip format. It functions like the cat command but is specifically designed for working with compressed files. The command reads compressed files and outputs their uncompressed content to standard output without modifying the original compressed file. Syntax zcat [options] file.gz [file2.gz ...] Basic Usage To view the contents of a compressed file, use the following command − zcat example.txt.gz This displays the uncompressed contents of example.txt.gz directly in the terminal without extracting the ...
Read MoreLossless Real-Time Data Compression with Zstandard (zstd)
Zstandard (zstd) is a high-performance, lossless data compression algorithm developed by Yann Collet. It provides excellent compression ratios while maintaining fast compression and decompression speeds, making it ideal for real-time data processing. Zstd is open-source and supports various data types including text, images, audio, and video files across multiple platforms including Linux, Windows, macOS, and FreeBSD. The algorithm uses advanced techniques like entropy coding and dictionary compression to achieve superior performance compared to traditional compression methods. Its adaptive nature allows it to optimize compression based on data patterns, making it particularly effective for repetitive data structures. Key Features ...
Read MoreMOSINT – OSINT Tool for Emails in Kali Linux
MOSINT is an advanced Open Source Intelligence (OSINT) tool specifically designed for email investigations within the Kali Linux environment. This powerful Python-based tool enables security professionals and ethical hackers to extract valuable insights from email addresses through passive reconnaissance, information gathering, and breach detection. MOSINT leverages the robust foundation of Kali Linux's pre-installed security tools to facilitate comprehensive email intelligence gathering operations. The tool's simplicity and versatility make it an essential component for conducting effective email investigations and enhancing security measures. Installing and Configuring MOSINT MOSINT harnesses the power of Kali Linux, a renowned operating system specifically ...
Read MoreMTR – A Network Diagnostic Tool for Linux
MTR (My Traceroute) is a powerful network diagnostic tool that combines the functionality of traceroute and ping commands. It provides real-time network path analysis by sending packets to a target host and measuring round-trip times, packet loss, and latency at each hop along the route. Unlike traditional traceroute tools that provide a one-time snapshot, MTR continuously monitors the network path, displaying live statistics in an interactive format. This makes it invaluable for diagnosing network performance issues, identifying bottlenecks, and troubleshooting connectivity problems in Linux environments. How MTR Works MTR sends a series of packets with incrementing TTL ...
Read MoreNewsboat – RSS/Atom Feed Reader for Linux Terminals
If you are a Linux user who likes to keep up with the latest news and articles from your favorite websites and blogs, Newsboat is an excellent RSS/Atom feed reader designed for terminal environments. Newsboat is free, open-source, and offers a highly customizable experience, making it an ideal choice for Linux users who value flexibility and efficiency in their workflow. This article provides a complete guide on how to install and use Newsboat, including adding and managing feeds, navigating articles, and using keyboard shortcuts to optimize your productivity. Whether you are a beginner or an expert Linux user, this ...
Read MoreNewsroom – Linux Client to Get Your Favorite News
In today's world, staying informed about the latest news is essential for our daily lives. However, the sheer volume of news available can be overwhelming, making it difficult to keep up. Fortunately, there are several news readers available that can help us navigate the vast amount of information out there. In this article, we'll explore everything about Newsroom, a lightweight and open-source newsreader specifically designed for Linux users. We'll delve into the installation process and the necessary requirements for setting up Newsroom, and provide examples to guide you through the entire setup. Whether you want to stay informed or ...
Read MoreHow to Block USB Storage Devices in Linux Servers?
USB storage devices have become ubiquitous in our technology-driven world, but they also pose a significant security threat to organizations. Attackers can exploit these devices to introduce malware, steal sensitive data, or gain unauthorized access to a network. To protect Linux servers against such attacks, administrators can take proactive measures by blocking USB storage devices. This article will delve into the various ways to accomplish this, including the benefits of each approach and the necessary steps to implement them. Method 1: Using udev Rules The udev system in Linux manages devices and their files. By using udev ...
Read More