I experienced an interesting problem: on a Debian Jessie host with squidguard: update-squidguard threw the following error-message:
root@34697f9f06a2:/# update-squidguard /usr/sbin/update-squidguard: 69: test: dbhome: unexpected operator Rebuild SquidGuard database - this can take a while.
On Debian Wheezy it returns with the following error:
This is a one-liner to search for installed packages containing a searchstring and then deinstall them using "apt-get remove":
apt-get remove --purge $(dpkg --get-selections | cut -f 1 | grep DPKG-SEARCHSTRING | xargs echo " " | tr -d '\n')
I used Fluxbox/Blackbox wm for more than 10 years. It's a great window manager for people who prefer a lightweight system and love to customize their system. Now it was time for a change...
To find out the serial number of a disk I mostly use one of the following commands:
/sbin/udevadm info --query=property --name=sdb | grep ID_SERIAL ## or hdparm -i /dev/sdb | grep SerialNo
Normally I don't use the "print"-key on my keyboard. I woud like to use it to quickly create screenshots. So I'll map the following command to my .fluxbox/keys-file:
sleep 5s && import /home/dr/Screenshots/`date +%F-%T`.jpg
After 5 seconds of idle-time this command will activate a screenshot. After the cursor changed I can select a window or a region on my screen. The screenshot will be saved with it's date and time under /home/dr/Screenshots.
I tried to create an Ubuntu-container on my Debian Jessie Server and I got the following error-message: