Menu of Filip Rooms' site
Home Sourcecode CV Favorite Links All Links Notes Pictures
Valid HTML 4.01!
Valid CSS!
Free Software Magazine
Free Software Daily

Sysadmin related notes

Usually extracts from other website; local copy not to have to read the full page again...
Useful command: "nm" to check symbols in an object file (i.e., compiled source to be linked)

Update fails/ package database inconsistent

dpkg --configure -a

KDE windows have no border, buttons, ...

clean .kde dir (profile corrupt)

Note on installation of linux GRUb

Careful where to install GRUB when installing different systems: Grub installs might overwrite each others system files when not careful.

Installation of linux with propriatary drivers


Install XV

Source code: http://www.trilon.com/xv/ However, not free software and not maintained since 1994... So, compile it yourself from source: That's it, now it should compile and install (worked for me for Mandriva 2008.1 and kubuntu 8.04)

Rename multiple files

(from http://www.debian-administration.org/articles/150) Move files with extensions in uppercase "JPG" to lowercase "jpg":
for i in *.JPG; do mv "$i" "${i/.JPG}".jpg; done

Convert multiple files with ImageMagick (no name keeping)

(from http://studio.imagemagick.org/pipermail/magick-users/2007-March/019326.html)
convert *.tif image%02d.jpg

Check if CD/DVD burning was successful

(from http://www.g-loaded.eu/2006/10/07/verify-a-burned-cddvd-image-on-linux/)

Winmail.dat

Open with tnef reader, like ktnef (which is a TNEF viewer/extractor, which fully integrates with the KDE environment (mime types, ...) and can be registered as opening application for e-mail clients).

Directory permission value

So chmod 754 file.ext results in giving permission for read/write/execute to yourself (7=4+2+1), read and execute permission to people of your group and read permission to other users of the system.

Wifi under linux

http://ndiswrapper.sourceforge.net/

Recursive search for files containing multiple strings

find | grep -e "string1" -e "string2"
Need to put backslash before a point ("\.") to have a point in the search string.