Finding why 'du' and 'df' shows different values?

How to find out what takes disk on your device if ‘du’ and ‘df’ shows different values.

September 11, 2024 · 1 min

Finding your device in a network using nmap

How to find your device in a network if you don’t know what IP it has been assigned?

September 6, 2024 · 1 min

Solving problem with «The container name ... is already in use by container»

How to deal with container naming issue during update of container version

July 29, 2024 · 2 min

Create Linux auto-restartable service on file change

How to create a systemd service that will be automatically restart whenever some configuration file changes?

July 25, 2024 · 4 min

Configuring LUKS to work with YubiKey

How to configure LUKS (full disk encryption) to work with your YubiKey (FIDO2) so you can unlock your disk without typing password.

June 17, 2024 · 4 min

Save Connection Settings in Midnight Commander

In Midnight Commander when you press ctrl + \ you can access directory hotlist and you can quickly choose connection you want to establish. The problem is – you cannot by default save passwords, so every time you select this connection you need to input it. Sure, it’s safe to do so, but if using them in your desktop and you’re the only user of it – you can expect a bit more pragmatic approach....

November 10, 2012 · 2 min

SVN and Time Synchronization Issue on VirtualBox

Some time ago I’ve had a problem with SVN on my VirtualBox guest Ubuntu machine. When the machine was hibernated (it’s state was saved – without shutting it down) there was a time synchronization issue. When I checked out the SVN repository on the guest machine, I couldn’t see any actual changes or new files which I was 100% sure I committed before (because I did it from my host machine just a minute ago)....

February 27, 2012 · 1 min

How to find out what GNU/Linux distribution you're using

Recently I needed to find out what GNU/Linux a terminal-only server is using. The most obvious thing I could think of was to use: uname -a Unfortunately, it will return the kernel information only – no details about the distribution though. The distribution info is located in a different file which is dependent on… the distribution itself. Check out the list of those filenames here. As a majority of those files ends with “release” part, in most cases it should be enough to execute the following command:...

August 19, 2011 · 1 min

Running GUI applications over SSH

If you want to execute a GUI based application on the remote server through SSH, you can achieve it quite easily using the ssh command. Just type ssh -X username@server The -X flag is used to define the DISPLAY environmental variable on the remote host, so each X11 executed application will be forwarded to your machine.

August 19, 2011 · 1 min

Kdenlive -- cannot render in Xvid, H.264, MPEG-4, etc.

It’s at least the third time I try to find a solution for the unavailable codecs proclem during rendering video project in Kdenlive. This time, I’ll write it down and link to this great site to make sure I’ll be able to easily find it next time ;-) The process is quite simple (I’m using Ubuntu 10.10 x86) – just install all the codecs in their full versions: sudo apt-get install libavcodec-unstripped-52 libavdevice-unstripped-52 libavformat-unstripped-52 libpostproc-unstripped-51 libswscale-unstripped-0 and execute the KDEnlive wizard (Settings menu)....

April 1, 2011 · 1 min