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
Linux Articles
Page 81 of 134
BCC – Dynamic Tracing Tools for Linux Performance Monitoring, Networking and More
BCC (BPF Compiler Collection) is a powerful set of dynamic tracing tools built on top of eBPF (extended Berkeley Packet Filter) technology in the Linux kernel. BCC provides a simple yet effective way to monitor system performance, analyze networking behavior, and trace various system events without requiring kernel modifications or recompilation. What are BCC Tools? BCC tools are designed to provide a user-friendly interface for using eBPF to trace and analyze system events. eBPF is a virtual machine that runs inside the kernel, allowing for efficient and flexible tracing of system activities. BCC tools are written in Python ...
Read MoreHow to Find and Replace Text in a File on Linux
In Linux-based operating systems, there are many ways to search (find) and replace text in a file. Depending on the size of a file and the complexity of the find and replace operation, different tools and commands may be more appropriate. In this article, we'll learn several different methods of finding and replacing text in Linux environments. Using the sed Command The sed (stream editor) command line tool is a powerful utility that can be used to find and replace text in files on Linux. This tool performs text transformations and can operate in both interactive and non-interactive ...
Read MoreLinux ps Command
The ps command is a widely used utility in Linux that provides a snapshot of current processes and their status. It helps monitor running processes, identify process ID (PID), terminal type (TTY), CPU time usage, command name, user ID and other information. This article provides a comprehensive overview of the various use cases of the ps command in real life. Syntax of ps Command The basic syntax of the ps command is as follows − ps [OPTIONS] The ps command supports three different syntax styles: Unix, BSD, and GNU. Unix-style syntax uses options preceded ...
Read MoreExecute a Command in Multiple Directories on Linux
As a Linux user, it's common to run the same command in multiple directories. For example, you might want to search for all files with a certain extension or run a shell script in multiple directories. This task can be time-consuming if done manually, and becomes even more tedious as the number of directories increases. Fortunately, Linux provides several methods for running a command across multiple directories efficiently. Using the Find Command to Execute Commands The find command is one of the most powerful commands available in Linux. It allows you to search files and directories based on ...
Read MoreLinux tr Command
The tr (translate) command is a Linux utility that allows you to perform various transformations on text input. Whether you need to change case, remove repeating characters, delete characters, set complements, or replace specific characters, tr can handle it all. In this article, we'll explore the various options available with the tr command and show you how to use them to transform text. Syntax The basic syntax of the tr command is as follows − tr [OPTIONS] SET1 [SET2] Where − SET1 is a set of characters to be replaced by the ...
Read MoreRecursively Deleting Files With a Specific Extension on Linux
On Linux, there are several ways to recursively remove files with a specific extension from a directory and its subdirectories. Deleting files recursively means deleting all files with the specified extension from the current directory and all nested subdirectories. This operation can be time-consuming if done manually, especially for a large number of files. This article explores four effective methods to recursively delete files with a specific extension on Linux. Using the find Command with -delete Option The most efficient method uses the find command with the built-in -delete option. This approach is fast and doesn't require spawning ...
Read MoreEvil-Winrm : Winrm Pentesting Framework
Penetration testing is a crucial aspect of securing modern systems and networks. It helps identify potential vulnerabilities that attackers can exploit. With the growing complexity of systems and the plethora of attack vectors available, the tools used for penetration testing have evolved over the years. One such tool, Evil-WinRM, has become a go-to tool for pentesters when it comes to attacking Windows-based systems. What is Evil-WinRM? Evil-WinRM is an open source penetration testing framework designed to provide an easy and efficient way to automate various tasks and run complex commands on a remote Windows machine. It is a ...
Read MoreBest Debian-based Linux Distributions
Debian-based Linux distributions are built on the foundation of Debian GNU/Linux, inheriting its stability, extensive package management system, and robust architecture. These distributions offer users access to thousands of pre-compiled software packages through the APT (Advanced Package Tool) system, making software installation and maintenance straightforward. Ubuntu Ubuntu is the most popular Debian-based distribution, developed by Canonical Ltd. It focuses on ease of use, regular release cycles, and comprehensive hardware support. Ubuntu releases new versions every six months, with Long Term Support (LTS) versions every two years that receive five years of security updates. $ lsb_release -a No ...
Read MoreCrucial Linux ls Commands to Know
When working with the Linux operating system, one of the most fundamental skills is navigating and managing files and directories. The ls command is essential for listing directory contents and forms the backbone of file system navigation. This article explores the most crucial ls commands that every Linux user should master to work more efficiently and effectively. Basic ls Command The ls command is the most basic and commonly used command in Linux. When executed without any options, it simply lists the contents of the current working directory. $ ls file1 file2 ...
Read MoreA Beginners Guide to Snaps in Linux
If you're new to Linux, you may have heard the term "snap" being used, but may not be sure exactly what it is. In simple terms, snaps are a type of universal package format for Linux systems that make it easy to install and manage applications. In this beginner's guide, we'll take a closer look at what snaps are, how to use them, and why they're important. What are Snaps? Snaps are a type of package format that make it easier to install and manage applications on Linux systems. They were created by Canonical, the company behind Ubuntu, ...
Read More