Rename multiple files on shell

To rename multiple files in the current folder, you can use the following command:

In this case, I had a bunch of files that I had to rename temporarily. They all started with Scheldon_ and had the fileending .xml. The snippets above first rename these files to Scheldon_SOMEWHAT.xml_bkp and then back to the original name Scheldon_SOMEWHAT.xml.

Reset Google Authenticator for Synology Diskstation

Today I had to reset Google Authenticator two step authentication for Synology Diskstation. I realised, that I wasn’t able to login into my Synology DS 212+ anymore. The problem was, that my mobile phone had crashed before a view months and I had configured the Synology NAS to use the Google Authenticator  for a two step […]

Mount ISO file under Ubuntu Linux

Today I had the challenge, that I wanted to copy a DVD and  play it with the VLC media player (http://www.videolan.org/vlc/index.html). Therefore I had to learn how to mount iso file(s) under Linux. In my case it was Ubuntu 16.04.1. (see also my article about how to get your Linux distribution and version). How to […]

Custom install path for composer package

Recently I had to build a custom Composer package that had to be installed to a custom install path inside of the target application. But the install path should have been only different for this single package. All other Composer packages had to be installed unter the vendor folder furthermore. Requirements I had the following requirements […]

No space left on device under Ubuntu Linux

Today I had problems (“No space left on device” errors) during a system upgrade of Ubuntu Linux. There where error messages telling me the boot Partition is full:

That’s why I had to find out, whats in this boot folder.

As you can see this folder contains all required stuff to boot the […]

Search query: list files containing a certain term

To get a list of files that contain a certain term for the current directory you can use this command to find the search query:

This shell command searches the current directory recursively (-r) and lists (-l) all files containing the search query SEARCHTERM. SEARCHTERM can also be a regular expression. Example result:

If you […]

AWS reinitialize Elastic Beanstalk environment

To initialize a Amazon Webservice Elastic Beanstalk environment you generally use the command:

But sometimes you need to reinitialize the environment, because you made a mistake or want to change the programming language or AWS region of the connected environment. In these cases you can reinitialize Elastic Beanstalk Environment by the -i parameter:

The -i […]