Category Archives: Tips and tricks

Search files with apt-file

Here is a quick tip if you ever need to find out, which Debian package has the file x or y.

To find your files you can use apt-file. First, install it. Then update apt-file caches – so it can go through files and search:

sudo apt-get -y install apt-file

sudo apt-file update

And finally search a file. Let´s say that I want to see, where is the file called something.json.

sudo apt-file search something.json

The above command will take a little while and if all goes well you should have your results when the command is complete.

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