Command-line-fu
Man lernt ja immer wieder was neues:
$ sudo !!
Useful when you forget to use sudo for a command. “!!” grabs the last run command.
Man lernt ja immer wieder was neues:
$ sudo !!
Useful when you forget to use sudo for a command. “!!” grabs the last run command.
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.
CatsWhoCode hat 19 nützliche ffmpeg Commands zusammen gesucht.
Praktisch, denn wer kann sich schon all diese Optionen merken
Eric Wendelin: awk is a beautiful tool
Gerade bei Chapter Three gefunden:
# Download a Copy of Drupal
wget http://ftp.drupal.org/files/projects/drupal-5.9.tar.gz
# Extract it,
gzip -d drupal-5.9.tar.gz
tar xf drupal-5.9.tar
# and Enter its Directory
cd drupal-5.9
# Use Find to Detect Each Local File in Drupal Core and Execute a
# Command to Copy the File to the Live Version of the Website
# this just echos the commands
find * -type f -exec echo cp {} /path/to/www/{} \;
# this actually runs the commands
find * -type f -exec cp {} /path/to/www/{} \;
# This command can also be used to see what core changes
# are going to be (or have been) made.
find * -type f -exec diff {} /path/to/www/{} \;
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.