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

Have you been searching for answers about how to install Minecraft on Ubuntu? You’ve come to the right place! This article will tackle everything you need to know about installing Minecraft on Ubuntu. If you are reading this, chances are that you have already fallen in love with Minecraft and want to continue playing it on your Ubuntu machine. However, the installation process isn’t as simple as it is on other platforms such as Windows or Mac OS. If you’re reading this article, then we assume that you have already tried to install the game from its website (if not,…

Read More

Many of the applications required weekly cron jobs to perform a few tasks. For example, perform weekly maintenance, cleanup disk spaces, cleanup mailing list, and other tasks. You may run your weekly tasks on any day of the week. CPU and memory consumption is required for jobs that require a CPU and memory. Those jobs are best to run on a weekend day. Scheduling a Cronjob for Sunday. The day of the week is determined by the fifth section of the cron timer. You can specify a day by using numbers such as 0-7, where 0 and 7 both correspond…

Read More

We’ll learn about how to execute several commands simultaneously in Linux in this article. Every operator has its own advantages when it comes to separating commands. This tutorial will help a little bit in improving how we execute commands and author shell scripts. The Linux operating system offers a simple command line interface for managing the system. There are shells such as Bash, CSH, and Zsh that accept commands from the user and route them to the kernel. A command is used to perform some function on the system. We may also specify multiple shells at once and execute them…

Read More

An access modifier is a special kind of variable declaration that controls how and where other code can use the declared class, variable, or method. This blog will explain what access modifiers are and the three different levels of visibility for classes, methods, and variables with some practical examples. Understanding the scope of your code is essential for writing readable and maintainable programs. Access modifiers are one way to achieve this goal. They tell other users of your code how you want them to interact with specific methods or variables. If you’re new to Java programming, these concepts may seem…

Read More

Have you heard about the new and trending JavaScript library called React.js? It’s so cool that it has been extensively used by developers to create interactive User Interfaces and components in their applications. The React library is also a great choice when you want to build fast and scalable apps with a component-based approach. If you haven’t started using it yet, it’s time you start learning. In this blog post, we will show you how to set up a React development environment on your Mac computer. Read on! Pre-Requisites First, you need to make sure that you have the latest…

Read More

Bash is an acronym of Bourne-Again Shell, which is the successor of Bourne Shell distributed with most of the Linux and GNU operating systems. It comes with multiple advanced features from the previous version. The PATH is an environment variable that stores the directories path containing the executable files. How to Set PATH Variable? Whenever you need to add a new executable in the PATH variable, you can either add it to the start of another directory or at the end of other directories. The system checks for any executable under directories set in PATH from start to end. If…

Read More

In the world of programming, efficiency is key. Automation is one of the most powerful tools in a developer’s toolkit, allowing for the seamless execution of tasks without manual intervention. For Python developers, one of the most accessible and effective methods to automate scripts is through Crontab, a time-based job scheduler in Unix-like operating systems. This article provides a comprehensive guide to scheduling Python scripts using Crontab, ensuring that your tasks are executed efficiently and reliably. Step 1: Writing Your Python Script Before scheduling a task, you need a Python script. Write your Python script to perform a specific task.…

Read More

Some of the tasks are required to run twice per day. You can use */12 in hours section to schedule a job to run at 12AM and 12PM daily. Sometimes you need to run crontab at different hours or minutes. In that case, you can define the hours like 09,17 etc. For example: 0 */12 * * * script.sh The above script will run at 12 AM (00:00:00) and 12 PM (12:00:00) every day. As you can see that using */12 executes cron exactly at 12AM and 12PM. But, sometimes you may need to run crontab at different times like…

Read More

Shell scripts are handy for automating tasks like backup databases, clearing log files, etc. You need to perform some tasks when the script finishes the execution. No matter at which stage the script is finished. For example, a script that clears the log files from the system. The script first checks the size of the log file, if the log file size is lower than the specified size, the script exits. In that case, you still want to run a block of code. To do this, we can use the trap command to catch the EXIT signal and execute a…

Read More

Question: How do I convert all the characters to the lowercase of a string in the bash shell script? In Linux, the tr command is used to translate, squeeze, and/or delete characters. So with the help of the tr command, you can convert the case of any character. You can do this quickly with a single-line command. You can use the following command to convert a string to lowercase. Here the command takes the standard input of a string and processes it. echo “Input string here” | tr ‘[:upper:]’ ‘[:lower:]’ Let’s discuss with an example. Example Let’s create a sample…

Read More