Linux
Battery life on laptops
2018/02/05
To improve your laptop battery life, just do the following:
search for a port number
2017/09/11
I find myself doing google everytime I want to search for port number mapping. So, here is a short script to do just that 🙂
Fix weird flux menu
2017/05/03
Some distro’s just add all the items under single menu and thus the menu itself becomes unusable because of the number of items in the submenu and this I did not like and hence ceated this simply …
Windows Vs Linux – One more time
2017/04/07
Image via Wikipedia […] One of the most written and commented articles has to be Linux vs Windows (of course there are competitors like vim vs emacs) but none has been covered so much as Linux …
Kernel dropped packet analysis
2017/02/27
Found a simple method to check for all the packets dropped by kernel. First you need to install dropwatch with dnf install dropwatch and details of the package […] Once that is done, you will …
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 …