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. InstallationGrubSystem ConfigurationNetworkprinterRemoval of unwanted FunctionsSambaSetup of /etc/hostsNetwork sharesSetup of apacheKde ConfigurationUpdatesmartyast / opensuseupdaterNvidia Video Driver Installation / X SetupSetup of /homeNew Home / Configuration filesDirectories and Linksmp3 and dvd with openSuse 10.2Installation of further...

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

InstallationGrubSystem ConfigurationNetworkprinterRemoval of unwanted FunctionsSambaSetup of /etc/hostsNetwork sharesSetup of apacheKde ConfigurationUpdatesmartyast / opensuseupdaterNvidia Video Driver Installation / X SetupSetup of /homeNew Home / Configuration filesDirectories and Linksmp3 and dvd with openSuse 10.2Installation of further packagesRSIbreakLaTeXFonts3rd party programsNFS sharesConfiguration...
Seite 2 von 41234