Fedora
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 …
enki editor – amazing for md and rst files
2016/09/12
First, you need to install enki. YOu can do so with sudo yum install enki And then you can use the editor as usual. The first thing that you will notice is the navigator window. And here is screenshot …
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
sysreporter on Fedora – basic system report in email
2016/07/18
From the packages github page: […] SysReporter (System Reporter) is a bash script that runs and aggregates a set of reports about its host system. The report can then be emailed to the system …
firewalld – enable logging
2016/05/16
firewalld by default does not allow packets that are dropped. In some cases, you need to find out if some packet is being dropped or not. For doing so you may want to enable logging of dropped packets …
speed up journalctl
2016/04/25
Sometime back I noticed that whenever I run my favourite command, viz. journalctl -xn -f -l it was taking more time than usual. So, I thought to dig more into it and finally found that the following …
Most simple and fast lightweight container with Fedora systemd
2016/04/15
If you need to have a quick bash shell in sandbox with not network as well, then the most simple command I could find so far is: sudo virt-sandbox -c lxc:/// /bin/bash For this you will need to have …
virsh – show ip address of all running VMs
2016/02/01
If you are using the libvirt and associated tools, then you must be aware about virt-manager. However this being a GUI tools, it is not possible to always use this. “virsh” is a good option for this. …
Disk usage by file type
2015/11/30
Trying to find the total usage for each of the file types by extension, then here is a quick bash function for you : disk_usage_type () { find . -name '*'$1 -ls | awk ' BEGIN{ a[0]="Bytes"; a[1]="KB"; …
Text file based presentation tool – pinpoint
2015/10/05
Pinpoint description: […] Pinpoint is a presentation tool. The source file for the presentation is text file and thus very easy to manage. You can see an example with : […] …
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 …
Network Manager post-up script (dispatcher script)
2015/09/07
Network manager is supposed to be much better than network, how so? it supports dnsmasq for one… Dnsmasq with netowrkmanager Local name resolution Also Network Manager supports dispatcher scripts. How …