Find the same files by their size:
1 | ls -l | awk '$1!~/^d/{if(size[$5]!=""){ print}size[$5]=$8}' |
Very useful to delete duplicate photos or videos.
Linux TCP/IP, GreenIT and more…
Find the same files by their size:
1 | ls -l | awk '$1!~/^d/{if(size[$5]!=""){ print}size[$5]=$8}' |
Very useful to delete duplicate photos or videos.
31st March has been declared to World Backup Day please remember to ensure your files are backed up on March 31st!
Some stuff written by myself about backuping different stuff:
Create Backups with tartarus
MySQL Dump
Backup your MBR
Rsync Server
Sure you know, this is a really bad idea;) But if you want to register a domain that contains a fückinß umlaut, this solution will work for bind. But I start with a little explanation, you are not allowed to fill the bind configs with umlauts you should transform them to punycode.
Install transformation tool:
1 | apt-get install idn |
Transform you domain:
1 | echo www.größte-scheiße.de | idn -a --quiet |
The output will be: www.xn--grsste-scheisse-9sb.de
Now you can use the converted string of your domain in the bind configuration files.
If you are using putty please set your Translation to UTF8 otherwise idn will not convert your domain;)

A tiny Segmentation fault study example (Page Fault).
This tiny code will produce a SIGSEGV (Segmentation fault) after compiling and executing
Create file example.c and fill it with this code: Continue reading ‘Segmentation fault example’
Another really helpful check for your Icinga or Nagios instance.
If your have any windows machines you can check the Windows Update-State. How many Updates you need to install and if you need to reboot your servers after updating them. Continue reading ‘ip aIcinga/Nagios: Check Windows Updates’