Linux

Separation Anxiety: A Tutorial for Isolating Your System with Linux Namespaces

2017/02/06

With the advent of tools like Docker, Linux Containers, and others, it has become super easy to isolate Linux processes into their own little system environments. This makes it possible to run a whole …

Fix fonts quickly with auto-hinting

2016/09/30

Very quick hack to fix the font hinting automatically. Just execute the below: sudo ln -s /usr/share/fontconfig/conf.avail/10-autohint.conf /etc/fonts/conf.d/10-autohint.conf After this you should see …

power saving on laptop

2016/09/22

One of the easiest way to make sure that you can have a decent battery life is sudo yum install tlp smartmontools sudo systemctl enable tlp sudo systemctl start tlp And after this you can check the …

xsos – a tool for sysadmins and support

2016/08/24

Here is a very nice article that you may find useful https://access.redhat.com/discussions/469323

ssh – remove offending key.

2016/04/04

Whenever a system/server is re-installed or the host key changed for any reason, you would have seen the “host key verification failed”. And as usual you would have to go to known_hosts file and …

How to verify sha256sum for multiple file or one file.

2015/10/30

So, lets say you have downloaded the SHA256SUMS files. This file contains the sha256sum for multiple files and you want to compare the values for only one or some of them, then the simplest thing you …

Executing commands on multiple hosts

2015/09/21

If you have to execute the same command in multiple hosts, then you can use mussh: […] First install mussh with the following command dnf install mussh Now to run this for multiple hosts, you …

evvsubst – substitute variables in text in shell

2015/07/09

First you need to install gettext, which by the way might be already installed, however you can install with dnf install gettext Details of the package: […] Usage examples:

Easily monitor and archive your system log reports.

2015/06/29

If you want to monitor your server logs and also like them to be emailed then just Logwatch may not be sufficient. It sends you a mail but does not archive them, so head over to epylog […] To …

ssh authorized keys – limit ssh session to custom command

2015/03/04

If you want a ssh key to be able to run a custom command only and nothing beyond that, then you can use the “command” option in the authorized_keys file of ssh. For example, to limit user to run only …

script to get hard disk health in fedora/ubuntu

2014/12/01

First, put this in a script. #!/bin/bash #Change as appropriate HDD=sda export sub="SmartCtl data for HDD" echo 'To: <Your Email> Sub: [Cron] $sub MIME-Version: 1.0 Content-Type: text/html …

Apache server-status – better looking

2014/08/18

Apache provides a module to see the server-status. However the page is not too good looking. So, if you want to see a better looking information page, then you can download : …


This website uses cookies to ensure you get the best experience on our website. Learn more Got it