Linux

Linux is a family of open-source Unix-like operating systems based on the Linux kernel. Some of the most popular Linux distributions include Debian, Fedora, and Ubuntu.

www.linux.org

git - Delete Git Branches

Delete Git Branches

Below are some steps to clean branches from the git repository to remove the clutter. Delete a Local branch To delete the local branch in Git using the command, we can use one of the followings: # git branch -d branch_name # git branch -D...

c8 hue 6 - How to find, count and kill 🐧 Zombie Processes

How to find, count and kill 🐧 Zombie Processes

If you have zombie processes it means those zombies have not been waited for by their parent (look at PPID displayed by ps -l). You have two choices: Fix the parent process (make it wait);Kill the parent; or live with it. Remember that living with...

Written by Egon Rath

How to create a local Ubuntu mirror

If you need to update more than one Ubuntu based Workstation or Server on a regular base, it can save you a good amount of bandwidth if you provide new packages and updates through a local Ubuntu mirror. In this document i write down the steps...

c8 hue 6 - Installing CentOS 7 🐧 on VirtualBox

Installing CentOS 7 🐧 on VirtualBox

First lets download the VM image from this website. Why use VM images instead of the real CentOS ico? The VirtualBox and VMware images are created in such a way that they are less in size but contains all the standard packages required for instant...

linux - Automatic MySQL Database Backups Using CRONTAB

Automatic MySQL Database Backups Using CRONTAB

Here is how to set up a cronjob that automatically backs up a MySQL database to a file every hour. Okay, so first we need to create a new script that will be executed via cron: #!/bin/bash YEAR=`date +%Y` MONTH=`date +%m` DAY=`date +%d` HOUR=`date...

email 3249062 1280 - Get Email Alert on low Disk Space

Get Email Alert on low Disk Space

Here is a small script that will send you an email when the disk usage rises above the percentage specified by the THRESHOLD variable (90% in the example bellow). If you don’t want to step up to a full monitoring solution such as Nagios...

email 3249062 1280 - Restrict domains in ✉️ Zimbra Mail server

Restrict domains in ✉️ Zimbra Mail server

Here is how to restrict users to send emails to certain domains in the Zimbra mail server. 1. Open file /opt/zimbra/conf/zmconfigd/smtpd_recipient_restrictions.cf and add this line: check_sender_access lmdb:/opt/zimbra/conf/restricted_senders 2...

linux - Introduction to Networking

Introduction to Networking

Installing the Linux operating system is only the first step toward creating a fully functional departmental server or Web site. Almost all computers are now networked in some way to other devices therefore a basic understanding of networking and...