In Python, we have a data structure called a “dictionary” that’s used to hold key/value pairs. Thanks to the flexibility of data types in Python, these values can also include lists, which means you can associate more than one value with a single key if you want. You can also associate another dictionary with a […]
Category: Linux Command Line
Managing Linux System Resources With The Ulimit Command
If you are working in a shared Linux environment it is crucial to manage system resources. If you don’t and something happens to one user account it could end up using more resources than expected causing degraded performance for everyone else using the server. One way to limit system resources is to use the ulimit […]
How to Append an Item to a Python Array
Appending an item to a Python array is easy, though the terminology requires some clarification. By default, Python doesn’t use “arrays” as is commonly understood in most programming languages but instead uses “lists”, which serve the same functionality for most ordinary use cases. However, there are some important differences between the two, and I’ll explain […]
How To Check Linux CPU Usage
The CPU or central processing unit is a hardware component of a computer that carries out instructions from software. The CPU can be thought of as the computer brain. So as you can guess complete utilization of the CPU resources means that everything has to wait for spare CPU cycles. In this blog post, we […]
Understanding DNS Cache: How to Flush DNS on Linux
Are you experiencing technical issues that are believed to be caused by DNS caching on your Linux system? In this blog post, we explain what is DNS, DNS caching, how to flush system-level cache from the command line, and how to flush your web browser DNS cache. What Is DNS? DNS is an internet protocol […]
Nginx Basics: From Nginx Restart To Configuration Checks
Nginx (pronounced as “engine-x”) is a popular web server and reverse proxy server. The Nginx web server has multiple versions, though this guide focuses on the open-source version. This post will look into how to manage Nginx using the systemctl command on a traditional install and the case of a cPanel installation, focused from a command […]
How to Use the Cat Linux Command
“Cat” is one of the most well-known commands in Linux, and has a history dating back to the 1960s and 70s. The original purpose of the command was to concatenate files and display the results on the standard output, from which functionality the command gets its name – short for “concatenate”. Throughout all the many […]
Ubuntu Time Essentials: From Time Zones to NTP
Setting the correct timezone on your Ubuntu system is crucial for maintaining accurate time and date information, which is essential for scheduling tasks, logging events, and ensuring proper system functionality. In this guide, we will walk you through the process of setting the date, time zone, and time, as well as configuring NTP. We will […]
x86 vs. x64: Understanding The Differences
In the ever-evolving landscape of computer technology, the choice between x86 and x64 architectures holds significant importance for users seeking to optimize their system performance and software compatibility. In this post, we delve into the differences between x86 and x64 processors and how they impact the way we interact with data and applications in today’s […]
How To List Remote Branches In A Git Repository
In this article, we will explore the process of listing remote branches in Git and understand the importance of effectively managing and tracking these branches in a collaborative development environment. Listing remote branches is a fundamental task that allows developers to view and access the different branches stored on remote repositories. Introduction Git enables seamless […]
