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

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
Git Add Remote Origin GIT

Git has become an indispensable tool for developers worldwide, enabling efficient code versioning and collaboration. One of Git’s most powerful features is its ability to work with remote repositories, which allows teams to seamlessly collaborate on projects. In this article, we will guide you through the process of adding a Git remote repository to your local project, helping you streamline collaboration and improve your team’s productivity. Step 1: Create a New Local Repository (Optional) If you don’t already have a local Git repository, you can create one by following these steps: Open your terminal or command prompt. Navigate to your…

Read More
How to Git Reset to Head GIT

In the world of software development, Git has become an essential tool for version control, helping teams collaborate on code more efficiently. Git tracks changes in code bases, allowing developers to maintain a history of changes and revert back to previous versions if needed. Among Git’s numerous commands, `git reset` is crucial for undoing changes. In this article, we will focus on the `git reset HEAD` command, including its usage and examples. Understanding Git Reset Before we dive into `git reset HEAD`, let’s first understand git reset. The `git reset` command is primarily used to undo changes. It can move…

Read More

Concatenating strings in Bash is as simple as combining them with the double-quote (“ ”) character. However, if your strings consist of more than a couple of words or include special characters, you may need to use a different method. Fortunately, the Bash programming language provides several methods for concatenating strings. This article explores five common ways to combine strings in your Bash scripts and programs. Keep reading to learn more about concatenating strings in Bash and which method is best for your specific situation. Concatenate Strings The simplest way to combine strings in Bash is to use the double-quote…

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, 2022: Feature freeze March 31, 2022: Expected beta release April 14, 2022: Final freeze and release candidate version will be out. April 21, 2022:…

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 working 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 utilization, memory consumption, compatibility, and usefulness. Every user has their own requirements, so choose the best fit for your own. In this article, we list…

Read More
Git delete files 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