Dr. Muhammad Abdullah

howto · 2025-03-13

DNS Lookups in Python

This article explores DNS lookups in Python, detailing how to use the socket and dnspython libraries. Learn to perform basic and advanced DNS queries, including local name resolution with the /etc/hosts file. Enhance your network programming skills with practical examples and clear explanations.

howto · 2025-03-12

How to Set Command Timeout in Batch

This article discusses how to set command timeouts in Batch scripts, focusing on Git commands. Learn effective methods to manage command execution time, ensuring your scripts run smoothly and efficiently. Explore practical examples and enhance your Batch scripting skills today.

howto · 2025-03-12

How to Combine XML Files in Batch

This article demonstrates combining multiple XML documents into one large file using the Batch command and script.

howto · 2025-03-11

How to Solve Error: MySQL Error Server PID File Could Not Be Found

This article explains easy fixes for the MySQL error: Server PID file could not be found. Learn how to check your MySQL configuration file, verify server status, and adjust directory permissions to resolve this common issue. Get your MySQL server running smoothly again with these simple solutions.

howto · 2025-03-11

How to Get Timestamp in Bash

This article covers how to get timestamps in Bash scripts, focusing on methods to create timestamp variables using the date command and Git commands. Learn how to format timestamps for various needs, use them in Git hooks, and enhance your scripting capabilities. Discover practical examples and explanations to streamline your workflow and improve productivity.

howto · 2024-02-15

How to Kill Process in Bash

This article explains killing a Linux process using Bash.

howto · 2024-02-15

How to Copy Constructor for Singly Linked List in C++

This is a compact article to write a copy constructor with singly linked lists in C++.

howto · 2024-02-02

Urlencode Data for the curl Command in Bash

The article explains how we can urlencode data for the curl command in bash.

howto · 2024-02-02

How to Suppress Output in Bash

This article guides to suppress all the output of a command using Bash.

howto · 2024-02-02

ash Nohup vs Ampersand

This article discusses the difference between nohup and ampersand operator for running Linux processes in the background.

howto · 2024-02-02

How to Change CMD Text Color Using Batch

This article talks about changing the text color of cmd with Windows Batch script every 1 second.

howto · 2024-02-02

How to Get a Return Value From a Thread in Python

This article is guide to getting the return value from a thread in Python.

howto · 2023-10-10

Python Multiprocessing Logging

A comprehensive article about logging in multiprocessing paradigm using Python.

howto · 2022-09-07

String Comparison Operator in Bash

This article explains the string comparison in Bash using an if statement.