von pospiech | Okt 10, 2007 | Linux
Dateien über die Kommandozeile ohne Kenntnis des zum Packformat zugehörigen Progamms entpacken #!/bin/sh while [ x”$1″ != x ]; do case “$1” in *.tar.gz | *.tgz ) tar -xzf “$1” shift ;; *.tar.bz2 | *.tbz ) tar -xjf...
von pospiech | Okt 10, 2007 | Linux
Das Skript convertiert csv Zeilen mit “;” als Trenner in LaTeX kompatible Tabellenzeilen csv2latextable.script if [ -z $1 ] then echo “No file to convert given to script – exit now” exit fi # for “;” seperation sed “s/;/...
von pospiech | Okt 10, 2007 | Linux
Mountet eine CD nach /mnt/isoCD mountCD.sh #!/bin/sh mount -o loop -t iso9660 “$1” /mnt/isoCD
von pospiech | Apr 3, 2007 | Linux
Note: A similar description can be found at Pimp my Suse. [TOC] Installation The Installation worked mainly as usual. It only failed at writing grub into the MBR, which is absolutely unacceptable. I had to install an option for the boot loader in an older distribution...
von pospiech | Apr 3, 2007 | Linux
Sometimes I do not want to reuse my old $HOME/.kde folder completely or other hidden folders after I reinstalled the operating system. In this case I want to copy only selected folders and file to the new $HOME. This script does most of the necessary copy operations...
von pospiech | Apr 2, 2007 | Linux
[TOC] NFS shares First NFS needs to be activated (client and server), then we can start with the configuration files. Configuration files The exported shares are listed in /etc/exports /home/links/Musik/ 192.168.2.0/255.255.255.0(ro,root_squash,sync)...