Linux

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 …

Get your local IP address like pro

2016/07/10

In shell scripts if you need to get you local IP address corresponding to your hostname then you can use this command

web services in c with cgi

2016/06/13

I was trying to setup a simply webservice to reply to POST requests. Earlier this was being done in tomcat which seem a little overkill to me since I already had a webserver up and running. So, a …

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 …

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"; …

Get count of lines in scripts (shell)

2015/10/15

If you have tried to get the count of lines in file, the you would know about “nl” or “wc -l”. But as you are aware these give you number of lines with other details as well and you need to post …

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 …

tracer – trace outdated files on your system

2015/04/30

Tracer finds outdated running applications in your system. Home page : Tracer Home page. To install : sudo dnf install tracer Once you have done that, after every dns update/upgrade you would see a …

tlp – optimize and maximize your battery power.

2014/06/30

If you are concerned about the battery life on your Linux laptop, then you should consider using tlp. tlp customizes your Linux distribution for maximum battery life and thus helps improving battery …

unrar or unar – go open source way

2014/05/15

Recently there was a utility released called unar, a open source replacement for unar. Description:: […] The command-line utilities lsar and unar are capable of listing and extracting files …

terminal in browser.

2014/05/09

Quite a lot of time, we are spending most of the time on Browsers and during this time, leaving the browser just to do some ls or some command for quickly checking something does not look productive …


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