Stoppt die Vorratsdatenspeicherung! Jetzt klicken &handeln! Willst du auch an der Aktion teilnehmen? Hier findest du alle relevanten Infos und Materialien:

Archived entries for bash

Search And Replace

Bash Skript von AskApache zum Suchen und Ersetzen in einem Folder - ok das geht auch mit TextMate oder BBedit, aber die Kommandozeile ist ja auch was feines;-)

This bash shell script searches in a directory you specify for any files containing a string and replaces that string with another string. It’s nice because it asks you if you would like to be prompted for each operation, or to run without user-input.

Bash Tips

Im Textmate Blog gibt es einige Tips für den Umgang mit der Bash. Extrem nützlich fand ich folgende Einträge in ~/.profile


# remove duplicates from the history

export HISTCONTROL=erasedups

# increase the history size

export HISTSIZE=10000

# ensures that when you exit a shell, the history from that session is appended to ~/.bash_history.

shopt -s histappend

Drupal Backup

Zufällig gerade gefunden: fullsitebackup.sh.

Ausprobiert, funktioniert super.



Copyright © 2004–2009. All rights reserved. – Impressum

RSS Feed. This blog is proudly powered by Wordpress and uses Modern Clix, a theme by Rodrigo Galindez.