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..

Sometimes the long running requests failed with the error message “504: Gateway Timeout” in NGINX web server. To solve this issue, you need to increase request timeout in NGINX server configuration. The default, NGINX request timeout is 60 seconds. Which can be increased or decreased by updating the configuration files. In this quick FAQ, you will learn to change the request timeout in NGINX web server. Increase Request Timeout in NGINX For example, you want to increase request timeout to 300 seconds. Then you need to add proxy_read_timeout, proxy_connect_timeout, proxy_send_timeout directives to http or server block. Here the http block…

Read More

Apache, being a widely used web server, offers flexibility in configuring and securing web services. One effective measure to secure an Apache server is by disabling HTTP methods that are unnecessary or pose security risks. The process involves modifying server configuration, specifically through the use of the .htaccess file. Before proceeding, ensure that both the Apache rewrite module and the .htaccess file functionality are enabled on your server. This is crucial for the rewrite rules to be recognized and applied. This comprehensive guide delves into the process of disabling unwanted HTTP methods on an Apache web server, enhancing its security…

Read More

FTP is a file transfer network protocol used to efficiently transfer files among servers and clients over a computer network without any complexity. FTP first applications were written on the command line before GUI OS appeared. Although there are various clients of GUI FTP, software developers still create FTP clients for users based on CLI who prefer utilizing the old-fashioned way. There are numerous Linux FTP Clients which are secure and robust and easily accessible in the market. This article conveys the most reliable and best Linux FTP Clients that one ought to select the finest one to fulfill the…

Read More

Bash is a popular command-line shell used in Linux and Unix operating systems. One of the most useful commands in Bash is printf, which allows users to format and print text in various ways. In this article, we will provide an overview of the Bash printf command and offer a basic usage guide. Overview of Bash printf Command The printf command is used to format and print text in Bash. It allows users to specify the format of the output, including the width of the output, the number of decimal places, and the alignment of the text. The syntax for…

Read More

In this new age watching movies or tv shows is easily done through online streaming sites such as Netflix, Amazon Prime, and Hulu. But not always these streaming sites are available in your region nor everyone can afford a paid subscription. In such cases, people prefer free-online sites but those come with excessive ads pop-ups every few mins. To avoid such situations and hassle-free watching of your favorite movies and shows users simply download their favorite shows and movies from different online sources and watch them using Video Players. Finding the best video player is also a task, sometimes they’re…

Read More

The Sequence Expression is used to create a range of characters and integers by defining a start and endpoint. Usually, the Bash Sequence Expression is used with For Loops. The syntax of Sequence Expression is: {START..END[..INCREMENT]} Here the start and end values are mandatory and can be either characters or integers. Next, the increment value is optional and if we use it then it must be separated from the End value with two dots. If we do not use an increment value then the default value would be 1. Sequence Expression Examples in Bash Let’s take some examples of printing…

Read More

Bash Select construct is used to create a numbered menu from the list of items. That is helpful for shell scripts that required user selection across multiple items. Syntax The select statement has a similar syntax as ‘for loop’ and it is: select ITEM in [List] do [commands] done Here the List can be an array, a range of numbers, a series of strings separated by space, the output of a command, etc. And when the select construct will be invoked, each item from the list will be printed with a numbered sequence. The construct will continue to run until…

Read More

When working with large numbers of files in Linux, it’s not uncommon to encounter the error “/bin/mv: Argument list too long”. This error occurs when attempting to move or rename too many files at once, and is a limitation of the underlying operating system. In this article, we will discuss what causes this error, and explore ways to work around it to perform large-scale file operations efficiently and without error. Whether you’re a beginner or an experienced Linux user, this article will provide you with valuable insights into overcoming this common problem. -bash: /bin/mv: Argument list too long An argument…

Read More

Python is an object-oriented, high-level programming language. As of today, Python 3.10 is the latest stable version available for productions environments. Most of the Debian-based Linux distribution includes older versions of Python in software repositories. Also, the Debian packages are not available for all distributions. This tutorial has been tested on Ubuntu 20.04 Linux system. This tutorial will help you to how to install Python 3.10 on Ubuntu, Debian, and Linux Mint systems using source code. Prerequisites First of all, Log in to your Debian-based system with sudo privileged account access. Open a terminal (CTRL+ALT+T) and execute the below commands…

Read More

Bash is a powerful scripting language that is commonly used for automation and system administration tasks. One of the most important concepts in Bash scripting is control flow, which refers to the way in which the script executes different commands based on various conditions. Two key control flow statements in Bash are break and continue, which can help you control the execution of your code and make it more efficient. What are Break and Continue in Bash? break and continue are two Bash control flow statements that can be used to alter the flow of a loop or switch statement.…

Read More