Articles on Trending Technologies

Technical articles with clear explanations and examples

How to Forward Ports With Iptables in Linux?

Satish Kumar
Satish Kumar
Updated on 17-Mar-2026 2K+ Views

Port forwarding is a technique that allows external devices to access services running on internal network devices by redirecting traffic through specific ports. When you want to run a web server from your home computer, external users need to connect through your public IP address via port 80 (HTTP) or port 443 (HTTPS). Without proper port forwarding configuration, incoming connection requests are blocked by your router's firewall, preventing access to internal services. Iptables is a powerful Linux firewall utility that operates at the kernel level, providing robust packet filtering, NAT (Network Address Translation), and connection tracking capabilities. It can ...

Read More

cfiles - A Fast Terminal File Manager with Vim Keybindings

Mrudgandha Kulkarni
Mrudgandha Kulkarni
Updated on 17-Mar-2026 503 Views

cfiles is a terminal-based file manager written in C that combines speed, lightweight design, and Vim keybindings. It provides an efficient alternative to graphical file managers for users who prefer command-line interfaces and are familiar with Vim navigation patterns. What is cfiles? cfiles is designed to be fast, lightweight, and highly customizable. While inspired by ranger (another popular terminal file manager), cfiles distinguishes itself through its native Vim keybinding support and minimalistic approach. The tool focuses on providing essential file management functionality without unnecessary bloat, making it ideal for system administrators and developers who work extensively in terminal ...

Read More

How to exit from a Linux terminal if a command failed?

Mukul Latiyan
Mukul Latiyan
Updated on 17-Mar-2026 1K+ Views

It is a common scenario that certain commands might fail for various reasons − differences between GNU and BSD versions of core utilities, logical errors, or missing dependencies. When commands fail, you may want to terminate the process or exit the terminal without manually pressing CTRL + C. Here are several methods to handle command failures gracefully. Using bash exit command with || The logical OR operator (||) allows you to execute a command only if the previous command fails. This is useful when you want to exit the terminal immediately upon command failure. my_command || ...

Read More

Apple iOS Architecture

Ricky Barnes
Ricky Barnes
Updated on 17-Mar-2026 12K+ Views

iOS is the operating system created by Apple Inc. for mobile devices. iOS powers many Apple mobile devices such as iPhone, iPod, and iPad. It is the second most popular mobile operating system globally, trailing only behind Android in market share. The iOS architecture follows a layered design pattern. It contains intermediate layers between applications and hardware, ensuring they do not communicate directly. The lower layers provide basic system services, while higher layers offer user interface components and sophisticated graphics capabilities. iOS Architecture Overview iOS Architecture Layers ...

Read More

Transactional memory

Arnab Chakraborty
Arnab Chakraborty
Updated on 17-Mar-2026 941 Views

Transactional memory originated in database theory and provides an alternative strategy for process synchronization. It allows multiple operations on shared data to be grouped together and executed atomically, without the complexity of traditional locking mechanisms. A memory transaction is an atomic sequence of memory read-write operations. If all operations in a transaction complete successfully, the transaction is committed. Otherwise, the operations must be aborted and rolled back to maintain data consistency. Traditional Locking vs Transactional Memory Consider a function update() that modifies shared data. Traditionally, this function would use mutex locks or semaphores: void update() ...

Read More

How to use date command in day to day practical usage

Lakshmi Srinivas
Lakshmi Srinivas
Updated on 17-Mar-2026 351 Views

In this article, we will learn about the date command in Linux and how to practically use it in day-to-day usage with some practical examples. The date command is used to print or change the system date and time, making it an essential tool for system administrators and users. General Syntax [root@localhost ~]# date [OPTION]... [+FORMAT] [root@localhost ~]# date [-u|--utc|--universal] [MMDDhhmm[[CC]YY][.ss]] Key Features of the Date Command Print current date and time on the system Display date and time in custom formats Read dates from files Display Universal Coordinated Time (UTC) Set system ...

Read More

Linking with x86 shared library on Linux x64

Satish Kumar
Satish Kumar
Updated on 17-Mar-2026 543 Views

Dynamic Link Libraries, also known as Shared Libraries, are collections of compiled code, data, and resources that can be loaded and executed by an application at runtime. Shared libraries are commonly used in development of Linux applications and are an integral part of x86 architecture. In this article, we will explore the process of linking with x86 shared libraries on Linux x64 systems. Understanding x86 Shared Libraries An x86 shared library is a file that contains compiled code, data, and resources that can be shared among multiple applications at runtime. Shared libraries are loaded into memory only when ...

Read More

Testing Bash Scripts With Bats in Linux

Kunal Verma
Kunal Verma
Updated on 17-Mar-2026 735 Views

Bash Automated Testing System (BATS) is a testing framework designed specifically for bash scripts. It allows developers to write automated tests for their bash code, ensuring scripts function correctly before deployment and improving code reliability in production environments. BATS provides a structured approach to testing bash scripts similar to testing frameworks available for other programming languages like Python or Java. It uses a simple syntax that makes writing and maintaining tests straightforward for shell script developers. What is BATS? BATS stands for Bash Automated Testing System. It is a TAP-compliant testing framework that runs tests written in ...

Read More

A Guide To Buying A Linux Laptop

Satish Kumar
Satish Kumar
Updated on 17-Mar-2026 1K+ Views

Linux is a popular open-source operating system that is favored by many programmers, developers, and tech enthusiasts. If you're looking to buy a Linux laptop, you may be wondering where to start. In this guide, we'll go over everything you need to know before making a purchase, including hardware requirements, compatibility, and popular brands. Hardware Requirements for a Linux Laptop Before diving into specifics of different Linux laptop models, it's important to know what hardware requirements your laptop should have to run Linux smoothly. The good news is that Linux doesn't require a lot of computing power, so ...

Read More

Apt Linux Command with Examples

Satish Kumar
Satish Kumar
Updated on 17-Mar-2026 1K+ Views

If you are using Linux as your operating system, then you might be familiar with the apt command. APT stands for "Advanced Package Tool" and it is a package manager used in Linux distributions like Ubuntu, Debian, and others. APT is a command-line tool that allows users to search, install, remove, and manage software packages on their Linux system. Basic Package Management Operations Updating Package Lists Before installing any package on your Linux system, it's important to update package lists. APT uses package lists to know which packages are available for installation. sudo apt update ...

Read More
Showing 8371–8380 of 61,297 articles
« Prev 1 836 837 838 839 840 6130 Next »
Advertisements