Author: Rahul

I, Rahul Kumar am the founder and chief editor of TecAdmin.net. I am a Red Hat Certified Engineer (RHCE) and working as an IT professional since 2009..

Before diving into the technicalities, it’s crucial to understand what a POST request is and why a JSON payload is used. A POST request is used to send data to a server to create/update a resource. The data sent to the server is stored in the request body of the HTTP request. JSON (JavaScript Object Notation) is a lightweight data-interchange format that is easy for humans to read and write, and easy for machines to parse and generate. This article will guide you through the process of making a POST request with a JSON payload using cURL, taking a simple…

Read More

Tasksel is a tool for Debian based systems to install multiple related packages as a co-ordinated “task” onto your system. This provides an easy way to setup your server for the specific purpose. For example, you need to setup your server as LAMP based web hosting server. Therefore you can simply tell tasksel to install lamp-server. Similarly, you can use dns-server to install complete dns server on your system. Install Tasksel First of all, You need to install tasksel package on your system, which is available under default package repositories for Debian systems. You can install it using apt-get simply.…

Read More

Pip is the standard package manager for the Python programming language. It help you to install and manage packages on your system, which is not a part of the Python standard library. Using Pip you install required dependencies for a Python application. It uses Python Package Index (PyPI) for the packages and install on your system. In this tutorial, you will learn to install Pip on your Linux based system. Also includes basis commands to work with Pip on your system. Step 1 – Install PIP There are several methods available for the Pip installation on any Linux system. You…

Read More

The Domain Name System (DNS) is a fundamental part of the internet infrastructure, as it translates human-readable domain names into IP addresses. DNS servers are responsible for handling these translations and can be categorized into two types: authoritative and non-authoritative. In this article, we will explain the differences between these two types of DNS servers and their roles in the DNS process. What are the Authoritative DNS Server? Authoritative DNS servers are the primary source of truth for a specific domain’s DNS records. They contain the official, up-to-date DNS records for a domain and are responsible for providing accurate information…

Read More

Have you ever wanted to make a directory in Linux, but didn’t know how? The `mkdir` command is the answer! mkdir stands for “make directory”, and it’s one of the most useful Linux commands. It allows you to create directories (folders) in the Linux file system. You can create a single directory with a single command, or multiple directories at once with a single command. It’s incredibly useful for organizing files, and it can save you a lot of time and hassle. In this article, we will go over 10 practical examples of the mkdir command in Linux. Linux cd…

Read More

PPK (PuTTY Private Key) and PEM (Privacy Enhanced Mail) are two file formats that are commonly used for SSH and SSL/TLS connections. While PPK files are primarily used with PuTTY on Windows, PEM files are more widely supported and can be used with various tools and platforms. If you have a PPK file and need to use it with a tool or platform that requires a PEM file, you can convert the PPK file to a PEM file. In this article, we will explore how to convert a PPK file to a PEM file on Linux and Windows. You may…

Read More

The cd command is the most basic command for working with directories in the shell. That’s because it’s used so often. Any time you need to change locations in a file system, you’ll be using a cd to do so. You might not know this, but the cd (change directory) command has many different uses and applications that extend beyond simply changing your current working directory. In this article, we will introduce you to these various uses of the cd command in Linux and become familiar with its most common usages. Syntax: cd [-L|[-P [-e]] [-@]] [dir] Before continuing, you…

Read More

Git is a powerful distributed version control system widely used by developers to manage their code. One of the essential aspects of Git is configuring your commit username and email, as it helps to establish your identity when collaborating with other developers. In this article, we will cover different ways to set up your Git commit username and email, including global configuration, per-repository settings, and how to handle multiple Git accounts. Prerequisites Before proceeding, ensure you have the following: Git installed on your computer. A terminal or command prompt for executing Git commands. Global Configuration Setting up your Git username…

Read More

Q. How do I run a SQL text file on MySQL prompt? How to source .sql file on MySQL command prompt? How do execute the .sql file in MySQL command prompt? How to Run SQL Text File on MySQL Command Prompt? If you are on MySQL command prompt and need to execute all SQL queries contained in SQL file. You can simply do this by using source option to load any .sql file on your MySQL database. This executes all SQL queries available in a text file on selected database. For example, you have a database schema file schema.sql to…

Read More

Grep is a powerful tool for searching a text, Grep means “Global regular expression print”. Basically, Grep searches a text file for the specified regular expression and outputs any line containing a match to standard output. So Grep command can be used to search some kind of text, word, pattern or sentence in a text file or a number of text files. Suggested Read: 12 Awesome Linux Find Command Examples In this tutorial, we will show you how to use the Grep command with some practical examples. Prerequisites A system running the Linux operating system. Access to a terminal/command line.…

Read More