March 2013

find | xargs

Today cron doesn’t want to regexp my “cp [a-Z]* …”. Even if i set SHELL=/bin/bash in the crontab it got the error “cp: cannont stat [a-Z]*: No such file or directory”. Manually on the shell there is no problem with regexp (it’s locales fault; cron uses the POSIX locale and here I should use [a-zA-Z] […]

find | xargs Read More »

udev rules

Looks like Linux 3.8 has a stupid bug. The e1000e driver for Intel NICs does not work correctly (ref. here). In short: The powersaving prevents the NIC from comming up correctly. So I wrote a udev rule to always power on my NIC. In fact there are only a little chances I won’t need it:

udev rules Read More »