Top 5 Ways to Fix “No Space Left on Device” Error in Linux

fix linux no disk space

Encountering the “No Space Left on Device” error in Linux can be perplexing, especially when a glance at your disk storage suggests ample space. This discrepancy between expected and actual storage availability is a common stumbling block for many users. Understanding the root causes of this error is crucial for effective troubleshooting. This article dives … Read more

How to Check Which GPU Is Being Used on Linux with 1 Command

check active gpu on linux

In Linux computing, understanding which Graphics Processing Unit (GPU) is currently active is crucial for optimizing performance and resource allocation. Whether you’re a gamer seeking the best graphics experience, a graphic designer in need of precise rendering capabilities, or a researcher conducting computational analyses, knowing how to check which GPU is being used can significantly … Read more

Linux Tips: How to Run a Bash Script (Quickstart Guide)

how to run a bash script

Mastering how to run a bash script not only streamlines system administration but also enhances the efficiency of automation processes. This article dives into essential aspects such as script permissions, execution methods, passing arguments, and troubleshooting, aiming to equip readers with the knowledge to execute Bash scripts with confidence and precision. Setting Up Your Environment … Read more

The Ultimate Guide to GPU Overclocking on Linux [2024]

overclock gpu on linux

Overclocking a GPU on Linux can significantly enhance system performance, making it a sought-after technique among Linux users. This process involves increasing the clock rate of your GPU beyond the manufacturer’s settings to boost computational power for tasks such as gaming, rendering, and data processing. In this article, we will explore various tools and methods … Read more

Step-by-Step Tutorial: How to Write a Bash Script

how to write bash linux

Bash scripting stands as a cornerstone in the automation of tasks across Linux and Unix systems. Mastering the art of scripting in Bash enables individuals to efficiently handle repetitive tasks, significantly boosting productivity and facilitating the automation of complex processes. This article aims to guide readers through the foundational aspects of Bash scripting, encompassing its … Read more

How to Check a GPU on Linux and Perform Real-Time Monitoring

linux check gpu

In Linux computing, understanding your system’s Graphics Processing Unit (GPU) specifications is crucial for optimizing performance, especially in gaming and professional applications that demand high graphical processing power. Whether you’re troubleshooting, monitoring performance, or simply curious about your system’s capabilities, knowing how to check GPU on Linux can provide valuable insights. Linux supports a wide … Read more

Linux Essentials – How to Use BASH ‘exit’ Command

how to exit bash

Bash, the Bourne Again SHell, stands as a cornerstone of Linux and Unix-like operating systems, providing a powerful command-line interface and scripting language. Mastery of Bash commands not only enhances productivity but also plays a crucial role in system security and resource management. A fundamental aspect of this mastery is knowing how to properly exit … Read more

Linux Tips: How to Concatenate Strings in Bash

bash concatenate strings

Concatenating strings in Linux BASH is often necessary when performing data processing tasks. This article will dive into the various methodologies to concatenate strings, each accompanied by practical examples to illuminate their application in real-world scenarios. Prerequisites Before embarking on the journey of string concatenation in Bash, certain prerequisites must be met to ensure a … Read more

Linux: How to Append to a File using `cat` with Examples

append to file with cat

Appending text to files is a fundamental task in Unix and Linux systems, allowing users to add information to the end of a file without altering its existing content. The cat command, alongside utilities like echo and printf, plays a crucial role in file manipulation tasks. This article delves into how to use cat to … Read more

How to Force Quit a Program on Ubuntu

force quit ubuntu

In Ubuntu, encountering a program that refuses to respond is not uncommon. Unlike Windows, where a simple Ctrl + Alt + Delete offers a straightforward solution through the Task Manager, Ubuntu requires a different approach. This article delves into the various methods available to force quit unresponsive programs in Ubuntu. From utilizing the System Monitor … Read more

How to List Linux Services With the systemctl Command

systemctl list services

In Linux system administration, understanding and managing system services is pivotal for ensuring optimal performance and security. Systemd, a modern system and service manager, has emerged as the standard across many Linux distributions, replacing older init systems. This evolution brings a unified and powerful platform for managing system processes. Central to systemd is the systemctl … Read more

Start Developing .NET Core on Linux/Ubuntu in 5 minutes

.net framework, .net, microsoft, development

The Microsoft .NET framework is a powerful and versatile platform for developing a wide range of applications. Initially, .NET was restricted to Windows environments, but with the advent of .NET Core, you can now develop .NET applications on macOS and Linux too. This blog will walk you through the process of creating a .NET project … Read more

BlueStacks Linux (Android): A Step-by-Step Guide

bluestacks linux

BlueStacks Linux is a revolutionary piece of software that bridges the gap between desktop and mobile. By using this cutting-edge emulator, users can run Android applications directly on their desktop operating systems, such as Linux. With the increasing demand for mobile apps in various sectors, BlueStacks has become an indispensable tool. When it comes to … Read more

3 Ways How to ‘Sleep’ in a Linux Bash Shell Script

sleep in shell script

Shell scripting is a powerful programming method used to automate tasks in Unix and Linux systems. An integral part of shell scripting is the ‘sleep‘ command, often used to pause the execution of a script for a specified amount of time. Its usage helps manage system resources better and control script execution flow. Understanding Sleep … Read more

Bash Parse YAML: 4 Simple Examples

bash parse yaml

Introduction to Bash Bash, or Bourne Again Shell, is a command interpreter and a well-admired Unix shell introduced by the GNU Project. Bash allows users to type text-based commands, which it interprets to perform a wide variety of tasks such as executing programs, manipulating files, and handling system operations. It’s popular due to its versatility … Read more

Lightweight Linux Distros: Guide to the Top 10 Best

lightweight linux distros

I. Introduction A Linux lightweight distro refers to a Linux operating system that is built to be minimalistic and uses fewer resources than conventional ones. This provides numerous benefits, including faster boot times, less disk space usage, and improved system performance, particularly on older hardware. This article will delve into the world of Linux lightweight … Read more

How to Restart SSH in Solaris 10/11

restart ssh solaris, restart sshd

Today, let’s delve into how to initiate the SSHD service in both Solaris 10 and Solaris 11, two widely utilized versions of the Solaris Operating System. With the right steps, you’ll be able to restart SSH service in Solaris easily. Are you looking for information on how to restart SSH on Ubuntu, CentOS, and other … Read more

5 Ways to Pass Command-Line Parameters to a Linux Shell Script

bash arguments, pass parameter, pass argument to script

Command-line parameters are an efficient way to control the behavior of your shell scripts. They can make your scripts more dynamic, easier to use, and more powerful. In this blog post, we will delve into five ways you can pass command-line parameters to a Linux shell script. First, a little about various Linux Shells… Linux … Read more

RPM Installation Dependencies – Explained

rpm dependencies, linux, ubuntu

You will learn how to manage dependencies during RPM installation on Linux servers such as CentOS, RHEL, Fedora, and Ubuntu. We’ll provide step-by-step instructions on how to properly handle dependency issues and solve common issues. Whether you build your own RPM or use third-party, we’ll cover it in this guide. About RPM and Dependencies Each … Read more

Build an RPM in CentOS, RHEL and Ubuntu Linux

build rpm linux, build rpm ubuntu

RPM Package Manager, commonly known as RPM, is a versatile open-source package management tool that provides a simple way to build, install, verify, update, and uninstall software packages. This article guides you through the steps to build an RPM package on various Linux distributions: Ubuntu, CentOS, Fedora, and Red Hat Enterprise Linux (RHEL). Before proceeding, … Read more

How to Append Files in Linux: A Comprehensive Guide

how to append files in linux

If you are a Linux user, understanding how to append files in Linux is an essential skill that will undoubtedly prove useful in various scenarios. The term ‘append’ in computing means to add or attach something at the end. In Linux, it specifically refers to adding data to the end of a file. This article … Read more

Simple script to monitor Xen node utilization with email alert

Here is a simple script that utilizes xentop to monitor your Xen server. You can schedule this via cron to run every X minutes to track the load average and if gets too high, it will email you (be sure you change your-emailid to your actual email address) #!/bin/bash loadavg=`uptime | awk ‘{print $10}’` process=`nproc` … Read more

How to Find Files Owned by Group(s) in Linux

bash arguments, pass parameter, pass argument to script

Here is powerful and simple use for the Linux find command – finding files or folders by one or more groups. Let’s get right onto the examples: Find files by group students find -type f . -group students Find folders/directories by group students find -type d . -group students Find files by groups student and teachers find -type … Read more