nav-left cat-right
cat-right

Dateien entpacken

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 "$1" shift ;; *.zip) unzip "$1" shift ;; *.ace) unace e "$1" shift ;; *.rar) unrar x "$1" shift ;;...

csv Dateien nach LaTeX konvertieren

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/;/ \& /g; s/$/ \\\tabularnewline/" $1 > $1.latextable.txt   # for tabular seperation # sed "s/\t/ \& /g; s/$/...

Cd mounten

Mountet eine CD nach /mnt/isoCD mountCD.sh #!/bin/sh mount -o loop -t iso9660 "$1" /mnt/isoCD#!/bin/sh mount -o loop -t iso9660 "$1"...

Installation of openSuse 10.2

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 (10.1) to get 10.2 started. After that everything worked again as expected. Grub The reasons for grub not working could be found in /boot/grub/device.map,...

Restore some configuration files

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 for me: CopyConfigFiles.script #!/bin/bash   # --------------------------------------------------------- # copy_and_backup_Files () { COPY=$3...

Local network shares with 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) /home/links/Install/ 192.168.2.0/255.255.255.0(ro,root_squash,sync) /home/matthias/ 192.168.2.0/255.255.255.0(rw,root_squash,sync) /home/sarah/...
Seite 2 von 41234