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
Find Files Not Owned by a Specific User in Linux
A Linux system may consist of various users with different permissions. However, sometimes we need to find files that are not owned by a specific user. The find command provides powerful options to search for files based on ownership, allowing you to locate files owned by other users or files with no owner at all. The find command is a versatile utility for searching files and directories based on various criteria including owner, type, permissions, and attributes. It comes pre-installed on almost every Linux distribution and is essential for system administration tasks. How to Find Files Not Owned ...
Read MoreHow to Get the Size of a Directory in Linux?
In Linux, managing disk space effectively requires knowing how to determine directory sizes. A directory in Linux is similar to a folder in other operating systems, organizing files and subdirectories in a hierarchical structure. Directories are treated as files themselves, having attributes, permissions, and metadata such as creation and modification times. Understanding directory sizes helps system administrators monitor disk usage, identify space-consuming files, and maintain optimal system performance. This article explores three practical methods to get directory sizes in Linux. Method 1: Using the "du" Command The "du" command stands for "disk usage" and is the most ...
Read Morectop – Top-like Interface for Monitoring Docker Containers
If you are managing multiple Docker containers, it can be challenging to keep track of their resource utilization, network connectivity, and overall health. ctop is a command-line monitoring tool that provides a top-like interface for monitoring Docker containers in real-time. It displays an intuitive visual representation of container metrics, including CPU, memory, network, and disk usage. What is ctop? ctop is a command-line tool that provides a top-like interface for monitoring Docker containers. It displays an overview of all running containers with real-time CPU and memory usage, container name, image, and ID. The tool allows you to sort ...
Read MoreHow to iterate over a list of files with spaces in Linux?
In order to iterate over a list of files we will need to make use of the find command that Linux provides us with. When dealing with filenames containing spaces, special handling is required to avoid issues with word splitting. Linux find statement is one of the most widely used commands that allows us to walk a file hierarchy. It is used to find specific files or directories and we can append different flags and options to enhance functionality or perform complex operations. Basic Find Command Example Let's start with a simple example of the find statement: ...
Read MoreWhat is memory hierarchy?
The memory hierarchy is a pyramid-like structure that organizes different types of computer memory based on their speed, cost, and capacity. It arranges storage devices from fastest to slowest, creating an efficient balance between performance and cost in computer systems. Memory Hierarchy Structure Memory Hierarchy Pyramid CPU Registers Cache Memory Main Memory (RAM) Secondary Storage Tertiary Storage Fastest, Most Expensive Very Fast, ...
Read MoreWhat are some great features of Windows 10?
Windows 10 is a Personal Computer Operating System developed and released by Microsoft on July 29, 2015. It introduced significant improvements and new features when compared to its predecessor Windows 8, addressing user feedback and modernizing the desktop experience. The Start Menu Windows 10 Start Menu Recent Apps Microsoft Word File Explorer Chrome All Apps Calculator Camera Settings ...
Read MorePartitioning Disks in Linux
In Linux, a disk partition is a logical division of a hard disk drive (HDD) or solid-state drive (SSD) that allows you to manage data in a more organized manner. Partitions enable you to separate data by function, such as isolating system files from user files, or setting up multiple operating systems on a single physical disk. There are several tools available for creating and managing disk partitions in Linux, including fdisk, parted, and gparted. This article focuses on using the command-line utilities fdisk and parted as they are widely available on most Linux distributions and provide precise control ...
Read MoreLinux source Command
The Linux source command is an essential tool for Linux users and administrators. It executes a script file in the current shell environment, allowing you to modify the current shell environment the same way you would if you had typed the commands manually. The source command is crucial for loading configurations, setting variables, and defining functions that persist in your current session. What is the Linux source Command? The source command reads and executes commands from a file within the current shell environment. The file is typically a shell script, but it can be any text file containing ...
Read MoreBash Math Operations (Bash Arithmetic) Explained
Bash arithmetic refers to mathematical operations that can be performed within Bash scripts using special syntax. Bash provides built-in support for integer arithmetic operations, making it easy to perform calculations directly in shell scripts without external tools. This article explores the fundamentals of Bash arithmetic, including syntax, operators, and practical examples for performing mathematical calculations in shell scripts. Basic Syntax Bash arithmetic uses the $(( )) syntax to evaluate mathematical expressions. The basic format is − $(( expression )) The expression can include variables, numbers, and arithmetic operators. The double parentheses tell Bash ...
Read MoreAmanda - An Advanced Automatic Network Backup Tool For Linux
Amanda (Advanced Maryland Automatic Network Disk Archiver) is a powerful open-source backup and recovery solution for Linux systems. Originally developed in 1991 by James Da Silva, Amanda stands out as an enterprise-grade backup tool designed for network environments with multiple clients and diverse storage requirements. How Amanda Works Amanda uses a client-server architecture where the backup server communicates with clients to initiate backups and manage backup schedules. The server runs on a Linux machine and communicates with clients via the network. Clients can be any Linux machine on the network that has Amanda client software installed. ...
Read More