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
Operating System Articles
Page 125 of 171
Execute 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 MoreA Brief Introduction to \'Makefiles\' in Open Source Software Development
As an open-source developer, you might have come across the term Makefile while exploring different projects. A Makefile is a script that automates the build process for software projects, containing instructions that specify how to compile, link, and test code. This article provides a brief introduction to Makefiles, covering what they are, why they are important, and how to create one. What is a Makefile? In simple terms, a Makefile is a script that automates the build process for a software project. It contains a list of instructions that specify how to compile, link, and test code. Makefiles ...
Read MoreA Command Line Web Browsing with Lynx and Links Tools
In today's world, we rely heavily on graphical user interfaces (GUI) for web browsing, but there are still situations where using a command-line web browser is necessary. Command-line web browsers are valuable in low-resource environments, remote servers, or when working exclusively through terminal interfaces. Lynx and Links are two of the most popular command-line web browsers that offer a fast and efficient way to browse the web through the terminal. What is Lynx? Lynx is a text-based web browser that allows users to browse the web in a terminal environment. Developed in 1992, it has remained popular due ...
Read MoreA Complete Guide to Usage of \'usermod\' command
As a system administrator, you frequently need to modify user accounts on your Linux system. The usermod command is a powerful Linux utility that enables you to modify user account information such as username, user ID (UID), group ID (GID), home directory, login shell, and more. What is the Usermod Command? The usermod command is a Linux system administration tool that modifies existing user account properties. It works by updating the /etc/passwd, /etc/shadow, and /etc/group files that store user account information on your Linux system. Unlike useradd which creates new users, usermod changes existing user accounts without deleting ...
Read More