First find all the files you want to convert and store their filenames in a file

Iterate through that files and make a jpeg from them

Finally move all jpgs to a separate location if necessary


There is a handy tool for in-depth settings in yout linux, install dconf with:

Open the tool. Now check some interessting paths:


Simply redirecting a domain, ending with source to target/index.html

Redirecting can also be done with the Redirect Command

Redirecting a complete folder structure can be done like this:

Redirect a request for a specific file to a folder (http://www.test/upload/file.pdf ->
The flag R stands for redirect, L stands for Last (the rule will be executed immediately, without chaining another rule)


Veröffentlicht unter httpd.

In reality you have quite often perform a certain command on several files. First i detect all files I’m looking for and store them in a filelist.

Second i run through this file, line by line and perform my command on all filename I’ve received one step before.

You need to replace in several files. You can do it with sed. Be aware about masking special chars. In the example below the string „my\folder“ is replaced with „your\folder“.
Replacing with sed works like this: sed -i s#old#new#g
The delimiter (in this case the #) can be changed. The first sign after the s acts as delimiter.


Getting the size of all files and folders inside the current directory can be done by typing:

Get filesize in descending order from all files in a recursive folder structure

Another quite handy tool is ncdu. It provides you the disc usage in a graphical way on the shell. Install it like this:

List folders bigger 1Mb and list them in descending order

List the ten largest folders inside a recursive folder structure


A handy tool for dealing with different bash sessions is tmux. It’s comparable with gnu screen but by far more advanced. You can get it with:

Launch it by typing:

Dealing with sessions brings great power. You can set up your multi-windows panes on a remote machine, in a seperate session. Now you can detach from this session and log out. When you later ssh back into this machine you can reattach this session and all your views are restored.

Executing commands tmux specific is usually prefixed with the key combination ctrl+b. See the following list what you can do with tmux.


Want to have a more advanced and easy (intuitive) tool than top, for monitoring, sorting, filtering, killing processes? than htop is the tool of your choice.
Simply install it by using:

and start it with:

Have fun watching your processes.

show all visible characters like spaces, tabs, line breaks / hide all visible characters

Enable / Disable syntax highlighting

Enabling current row and column highlighting

Enabling relative line numbering (cursor is always at zero)

Indentation in vi

you want to mark something in visual mode, and indent the selected part several times to the left or the right?
First, you add these lines to your .vimrc

Now you can visually select a text passage (press v move the arrow keys), afterward, indent it to the left by pressing < or indent it to the right by pressing >


Search and replace

Copy and paste and selecting stuff

Sorting and manipulating the contents structure

Moving the cursor



Statistics about the world

Digital tunes

Catalog of data visualization

Fun – must seen
everybody wants to kill bruce

Translate every website in german dialects

Online editor and compiler/interpreter for various languages

Statistics about the world

Balance sheets of most german companies

The best way to get free https for your webpage – from start to finish in 30 seconds

Good resource for physical algorythms