Category Archives: Tips and tricks

Checking the checksums

This post is mostly about Security Hash Algoritms and how you can use them to verify the integrity of your files.


Let’s say you downloaded something. The website had a sha1sum there and you want to verify that you actually got the file you wanted – and not some tampered malware. Checking is as easy as writing:

sha1sum <filename> .

Or if you want to verify a checksum even more easily, pipe it and use grep.

sha1sum <filename> | grep <checksum_listed_on_the_page> .

If you get the hash as an output that usually means that things are ok. If you get nothing then there is a mismatch.

SHA256 Continue reading

Run Gui application in a Docker

This post was originally released on 14th of January

RunIT Browser was first introduced in PostX Gnu/Linux Debian base. Now, since Fedora base is coming there are dependency issues, which will inhibit RunIT functionality.

One way to run the browser is via Docker. With below commands you can easily run RunIT Browser in a docker container. Here I will be running a Debian Stretch based container.

On a local machine

#xauth list –> Copy the code after COOKIE-1 or similar. This might be needed on some cases.

Continue reading

Changing IP to static on Fedora,CentOS and Oracle Linux

This post was originally released on 14th of January 2017.

DHCP is great but there usually comes a time when you need to make sure that your IP stays always the same. This post outlines the steps you can take to setup a static IP on Fedora, Centos and Oracle Linux.

Before you begin do these two steps in terminal:

yum -y install net-tools

ip a

After ip a, you will see something like this:

2: eno1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
link/ether dc:4a:3e:43:dc:1c brd ff:ff:ff:ff:ff:ff
inet brd scope global dynamic eno1
valid_lft 68056sec preferred_lft 68056sec
inet6 fe80::593e:cf18:df4e:f815/64 scope link
valid_lft forever preferred_lft forever

Take note of your network adapter name(eno1).

Get your current IP (inet line)

Broadcast address(brd)

Get your gateway details by typing route -n

Continue reading

Essential terminal tricks you should know

Here are few of my favorite terminal tricks that might be useful to other users as well.

1. Your live media automatically logs you in but you need to set a custom DPI value, Press Control+ALT+F3 (usually also F4,F5,F6 will work) and open another instance of a virtual terminal. The actual number of terminals depends upon system settings. From another virtual terminal instance you can easily start a new session. This time around the automatic login should not happen since the live media already has reached this goal with the initial instance. This trick might not work with heavy window managers but with lightweight ones it should work just fine. Continue reading