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

One of my development server contains millions of files under a single directory. To free the disk space, we decided to move to them a new folder created on another disk attached to same system. When tried to move file with mv command, received the following error. -bash: /bin/mv: Argument list too long The “Argument list too long” error, generally comes, when we passed a large number of parameters to single command. A system variable ARG_MAX defines the Maximum Character Length of Arguments In a shell command. The Solution The quick solution is to use xargs command line utility or…

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 LinuxMint systems using source code. T 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

Loops in a programming language, allows you to run commands multiple times till a particular condition. Even in Bash we have mainly three loops – until, while, and for. Sometimes you need to alter the flow of a loop and terminate it. Here comes the Break and Continue statement. They help you in terminating or managing the cycle of a loop. Here we will show you how you can use Break and Continue statements in Bash. Bash Break Statement The Bash Break statement helps in terminating the current loop and passing program control to the command that follows the terminated…

Read More
GIT

Every time you clone a Git repository, you are actually downloading your project locally. This means that you will have a local copy of the Git repository tied to your project. Local copy that was created this way will be automatically connected to the remote repo. But what if you created a local copy first? In that case, you will have to add a Git remote repository. Read on and learn how to do that. How to Add Git Remote You will notice word origin In an example of the syntax that you see below. Origin is not a flag…

Read More
GIT

Git reset is a process that is pretty similar to undoing the recent Git commit that we covered in one of the previous tutorials. However, in this one, we will cover Git reset to Head in more depth. We will check what the revert command does and what is mixed reset. Read on and find some tips and tricks about Git reset. Reset Last Git Commit to HEAD In our previous article, we used git reset –soft HEAD~1 to undo the last commit without losing changes that were uncommitted. Additionally, we used git reset –hard HEAD~1 to undo everything, even…

Read More

String concatenation is a method of adding two or more strings together by placing one at the end of another. Being a common requirement for any programming language, a built-in function or special character is used to perform the concatenation operation. But when it comes to Bash then there is no built-in function for combining two strings. So how String Concatenation is performed in Bash? Bash Concatenate Strings In Bash, the String Concatenation is performed by using the operator += or by just writing two strings together. Let’s see how. The simplest way to concatenate is to write both the…

Read More

Ubuntu 22.04 codename is Jammy Jellyfish. Which is the next LTS (Long Term Support) release of the Ubuntu versions. The development has been started for and the release date for Ubuntu 22.04 is set to April 21, 2022. Anyone can download the Ubuntu 22.04 daily build ISO image from its official download page. Ubuntu 22.04 Lifecycle Here is the few dates set for the Ubuntu 22.04 LTS Jammy Jellyfish lifecycle. Oct 2021: Development Started February 24, 2021: Feature freeze March 31, 2021: Expected beta release April 14, 2021: Final freeze and release candidate version will be out. April 21, 2021:…

Read More

Linux desktop environment contains a bundle of applications created in a manner to work with one another and give a consistent User Experience(UX). A tremendous sum of Linux clients inclines toward to work on the OS through the terminal of the command-line, but you will also be able to use the graphical UI rather than using the terminal. Since there is no particular best Linux desktop environment as it depends upon distinctive components like simple to utilize, memory consumption, compatibility, and usefulness. Every user has their own requirements, so choose the best fit for your own. In this article, we…

Read More
GIT

During the development process bunch of files will be added to your repository. On the other hand, a bunch of them will be removed. Either because they are no longer needed or because they became surplus to the requirements. Deletion of something is easy in the IT industry, it tends to happen accidentally and when we least want it to happen, right? The same is with file deletion on Git. But to avoid all the confusion between deletion of the file from the repository or from the filesystem, in this tutorial we will learn how to delete files on Git.…

Read More

Every server which is accessible from the Internet is at great risk of brute-force and malware attacks. Hackers try to use brute-force attempts to get access to applications that are accessible on public networks. Fail2ban is a tool that is used to protect Linux-based machines from automated attacks by improving their security. It monitors the logs for any malicious activity and allows the user to temporarily or permanently block remote IP addresses This how-to guide will explain how to install, configure and set up Fail2ban on a Debian 11 based system. How to install Fail2ban on Debian 11 Fail2ban is…

Read More