29 July 2016
Today is sysadmin-day: Special thanks to all system administrators: you do a great job!
23 July 2016
Most linux-users know $OLDPWD. It’s an environment variable to get the recently used directory. Sometimes it would be nice to remember more visited directories. In such cases pushd and popd would be a good choice..
Most common shells do have a directory stack. By looking in the man-page of bash I found the following description of the DIRSTACK:
8 July 2016
This article explains how to use sysrq for emergency reboots or shutdowns.
8 July 2016
ssh-keygen is a very handy tool for managing ssh-keys. By far the most common use of ssh-keygen is for generating ssh-keys. But this tool can do a bit more..
8 July 2016
Today I inserted another sim card in my fairphone 2. I want to use LTE with this card, but I wasn’t able to configure 4G/3G/2G. 2G was selected and the button was disabled. So I just had 2G. The other card worked as expected and I was able to choose 4G/3G/2G. This bothered me the whole day.
In the evening I figured out how to fix the problem:
26 June 2016
Sometimes it’s necessary to install cronjobs out of scripts. It’s not a good idea to directly write to /var/spool/cron/crontabs. Various things might happen like permission problems or simply problems with the format. It’s better to make this in two steps.
21 June 2016
http://wttr.inis a very nice Weather-Site. It’s possible do download the result via curl in a colorful format for the command-line:
curl -4 http://wttr.in/Wien
Or even the moonphase:
18 June 2016
Tiva cc3200 is a small board with an integrated wifi-chip. The Linux-kernel needs a few configs to be able to talk to this board using a serial console( via usb):
13 June 2016
Recording any terminal session to a gif is easy. I use ttyrec to record a session and ttygif to convert it to GIF.
13 June 2016
There are plenty of settings for the language in vim. Regarding to vim’s documentation there is a very simple way to set the language for a vim-session to english:
env LANG=en_US.UTF-8 vim