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

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, 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 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
GIT

Ever had a need to temporarily store changes that you made to your code? Without committing it? For example, you were in the middle of branch editing and someone asked you to collaborate on a different one? If you didn’t, you most likely will somewhere down the road in your developer career. At that point, it will be extremely useful to know how to use git stash. With the help of that command, you can temporarily store your current work to jump onto something else. Read on and find out how to Git stash changes. How to Use Git Stash…

Read More

Whenever the user executes some command in the terminal, the output is displayed there in the terminal as an output. We can change this behavior through the use of the command “tee”. The Tee command in Linux is mostly used in combination with other commands, it reads the input and in response to that writes the output to one or more files. It does this so that the output can be displayed as well as saved to a file at the same time. In this article, we will learn more about the tee command, from its syntax to its use…

Read More
GIT

Tags work as an additional identifier for a particular incident. And in the case of Git, Tags are used as the reference points in your development workflow and it denotes special events like a new version release or new commit. You can create a new tag to give a reference for your newly launched version. We use tags for future reference of our previous releases and commits. And we can create and delete as per our convenience. To delete a tag from a local repository, We can use the “git tag -d” command followed by the tag name you want…

Read More