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

Simplify Linux Security with a Permissions Calculator | Learn ‘chmod’ Command

linux permissions calculator,chmod

In Linux, every file and directory has an associated set of permissions. These permissions determine who can read, write, or execute the file or directory. Using the chmod command is a fundamental aspect of Linux and Unix-like operating systems. Understanding Linux Permissions File Permissions Basics In Linux, permissions are represented either in symbolic notation (rwx) … 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. Lets jump right in… Step 1: Ensure Installation Before we can restart SSH service, we … 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

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

bash arguments, pass parameter, pass argument to script

The find command in Linux/Unix is extremely powerful and can take some time to learn all of its uses. In previous articles, we have explained how to it to find files greater than or less than a certain size, find number of files in a folder, and finding the largest files on your computer. This article … Read more

Solution: incompatible implicit declaration of built-in function ‘bzero’

While using the bzero() function you may have run into the message warning: incompatible implicit declaration of built-in function ‘bzero’. The solution for this common, annoying, message is straightforward. Simply include the header file <string.h> and the warning will go away! What is bzero? bzero() is a function in C and C++ programming languages, commonly used in … Read more

Apply Heartbleed patch to your Hostgator dedicated server

Since you stumbled on this article, you must already be aware of the Heartbleed security vulnerability that affects a large number of internet websites.  The target audience for this article is to administrators of Dedicated servers on Hostgator or any other provider. Identify if your server is affected by Heartbleed Visit the detection tool website … Read more

Insert/Add String to Beginning of a File

bash arguments, pass parameter, pass argument to script

In a previous article, I showed you how to append a string to the end of file. Now I will show you how to insert a string to the beginning of a file in Linux. The solution is not as obvious as the former, but I will show you a quick and easy way using … Read more

Fetch error installing Java on Ubuntu 11.04. Solved!

I am running Ubuntu 11.04 and was trying to install the Java OpenJDK 6.0 (and 7.0) on my system but I received the following error: Unable to fetch some archives, maybe run apt-get update or try with –fix-missing? I tried installing several different Java packages but all of them failed with the same error. Finally, … Read more

How to install Ruby 1.8.7 on CentOS 5.5 Linux

ruby, php, java, python code

Have you tried doing yum install ruby in CentOS 5.5? If you have the default repositories configured, you will notice that it installs the ancient Ruby 1.8.5. Not ready to move up to Ruby 1.9, but would like to install Ruby 1.8.7 – well here is how to do it! Install Ruby 1.8.7 on CentOS … Read more

Linux – How to disable ‘Last Login’ welcome message

When you login (via SSH or other method), to a Linux box, you will see a Welcome message that displays your Last Login time and date as well as other general information regarding the system. Here is an example: Linux sp-ubuntu 2.6.35-24-generic #42-Ubuntu SMP Thu Dec 2 01:41:57 UTC 2010 i686 GNU/Linux Ubuntu 10.10 Welcome … Read more