Resetting a Windows XP/7/8 password, the Linux way

What happens if a Windows user loses his or her password? No problem, Windows was never meant to be secure. Only appear as if it was. There are several automatic tools out there. I preferred running my Fedora-based LiveUSB and fix it while actually seeing what I’m doing. The whole thing is about modifying the [...]

Using perl for in-place search-and-replace

To make a long story short: $ perl -pi.bak -e ‘s/this/that/g’ `find inhere/ -type f` or to delete entire lines that contain a certain substring: $ perl -pi.bak -e ‘s/^.*?RUNTIME_PARAM.(?:OUTPUT|SHARED)DIR.*?[\n\r]+//gm’ $(find . -iname \*.xci) This will create backup files. Yes, you want them. Really. Otherwise, in particular under Windows, errors like this may show up: [...]