Crontab is a Linux/Unix system utility to manage the scheduling of tasks. You can use it to specify which tasks run at which times, and create complicated rules for managing their periodicity. Here at NameHero, we’ve written before about how to create cronjobs, but the kind of cronjobs in that article, aren’t the same as […]
Category: Linux Command Line
What Is Linux Tail Command And How To Use It
Have you ever found yourself knee-deep in Linux logs, desperately searching for that crucial information buried somewhere in the vast sea of text? Fear not, as Linux has many tools available to help filter through information. In this article we’ll focus on one of those tools called the tail command. Introduction Logging is the silent […]
Linux File Truncation: Truncate Like A Master
The term truncate is used to describe the action of shortening or pruning something. So in the case of files on a computer, we are referring to either removing contents from the file to make it smaller or removing everything so that only a blank file remains. In this article, we will delve into the […]
How To Change A Directory In Python
Despite being over three decades old, Python is still an extremely relevant and popular programming language. The fact that it’s easy to understand, and works on a variety of platforms with little to no modification of code, along with its community support and deep integration with various libraries, make it a “must-have” tool in the […]
Git Branch Naming Conventions
When you first start using git, it can be intoxicating to see how easily you can create new branches and merge them. You feel powerful – as if you can do whatever you want and git will keep track of everything for you. And it’s true! Using git for software development gives you a level […]
The Linux Stat Command: Your Key to Advanced File Information
On Linux systems, everything things is made of up files and folders. The stat command holds the key to unraveling a wealth of information about your files and directories like permissions, ownership, size, or timestamps. Join us on a journey through the depths of file metadata as we delve into the versatile capabilities of the […]
How To Search and Replace Using The Vim Text Editor
Born from the ashes, Vim is an open-source text editing tool, aptly named “Vi Improved.” Renowned for its heightened efficiency and versatility, Vim emerged from the remnants of the original Vi editor. Its inception aimed to elevate Vi’s capabilities, resulting in a text editor that boasts robustness, extensibility, and a feature-rich environment. Setting itself apart […]
How to Use Git Stash Restore to Work Multiple Projects
Software development is rarely so kind as to be linear. It would be great if we could work continuously on a single feature without distractions, and only move to something else when the previous job was done. In reality, however, even single developers who work on a project don’t have the luxury of working on […]
Yum vs. Dnf: All You Need To Know
Those of you who work on Fedora, CentOS, or RHEL are familiar with yum. Fedora users might have forgotten yum altogether because it was replaced by dnf so long ago. But other, downstream releases like RHEL and CentOS, took another four years to catch up and continued using yum. Dnf is yum’s replacement and is […]
Git Checkout Remote Branch: How To Checkout a File From Another Branch
In the landscape of collaborative software development, Git emerges as a robust version control system. Its versatility extends beyond code, finding applications in diverse projects where versioning and collaboration are paramount. Operating on a distributed model, Git empowers developers to work concurrently, each maintaining a complete repository copy on their local machine. This article delves […]
