recursive chmod directories only
find . -type d -exec chmod 755 {} \;
oder (mit Ausgabe)
find . -type d -exec chmod 755 {} \; -print
find . -type d -exec chmod 755 {} \;
oder (mit Ausgabe)
find . -type d -exec chmod 755 {} \; -print
Since I’m using Mac OS X for admin tasks at work I was annoyed about the keymappings and presets in Terminal.app. As bash is the standard shell in Leopard, I missed the settings that I’m accustomed to as a long term Linux user and admin.
If every solution could be so easy. Just create the neccessary config files:
touch ~/.bash_profile
paste the following code in ~/.bash_profile:
if [ -f ~/.bashrc ]; then source ~/.bashrc fi
touch ~/.bashrc
As usual, you can tweak almost all bash settings in your “~/.bashrc”.
Here are some examples:
# Define how Bash prompt looks like: # # User @ Host - working dir export PS1='\u@\h\w: ' # Cli Colors export CLICOLOR=1 # use bold blue for dir’s export LSCOLORS=Exfxcxdxbxegedabagacad # history handling # # Erase duplicates export HISTCONTROL=erasedups # resize history size export HISTSIZE=5000 # append to bash_history if Terminal.app quits shopt -s histappend alias l='ls -al'
Adapt the keyboard mappings to your needs:
touch ~/.inputrc
The following code shows some example setting for your ~/.inputrc:
# do not bell on tab-completion set bell-style none # set bell-style visible set convert-meta off set input-meta on set output-meta on set show-all-if-ambiguous on set visible-stats on set completion-ignore-case On "\e[1~": beginning-of-line "\e[4~": end-of-line "\e[5~": history-search-backward "\e[6~": history-search-forward "\e[3~": delete-char "\e[2~": quoted-insert "\e[5C": forward-word "\e[5D": backward-word "\e\e[C": forward-word "\e\e[D": backward-word
Mama erzählt auf Deinem 40.sten zum dritten Mal, wie Du aus dem Kindergarten geflüchtet bist. Der Herr Schäuble referiert über die Gefahren des Internets. Oder Dubya sagt wieder was ganz besonders schlaues?
Das alles lässt sich ja noch mit Anstand ertragen. Aber dann wird wieder so eine Spitzen-Innovation aus Redmond zum Patent eingereicht. Nachdem Vista ™ – rule the world in one hour edition ™ wie eine Bombe einschlug und unser aller Leben erst lebenswert machte, die nächste Sensation aus dem Hause Microsoft ™:
Automatische, individuell konfigurierbare Winke, Winke Sprüche im Messenger!
Unzählige zerbrochene Beziehungen werden künftig verhindert – wie konnte unsere Spezies bisher ohne dieses bahnbrechende Feature überleben. Wenn das kein Patent ™ wert ist, oder einen Asbach Uralt ™ – Prost!
Ladies + Gents,
according to the famous PC World Magazine, this one rules them all:
The world’s fastest Vista ™ notebook 2007
Fastest: Apple MacBook Pro
The fastest Windows Vista notebook we’ve tested this year is a Mac. Try that again: The fastest Windows Vista notebook we’ve tested this year–or for that matter, ever–is a Mac. Not a Dell, not a Toshiba, not even an Alienware. The $2419 (plus the price of a copy of Windows Vista, of course) MacBook Pro’s PC WorldBench 6 Beta 2 score of 88 beats Gateway’s E-265M by a single point, but the MacBook’s score is far more impressive simply because Apple couldn’t care less whether you run Windows.
warum dieses Blog auf einmal so anders aussieht.
Richtig: bin auf den Mac gekommen
Zugegeben, ich bin ein wenig spät dran (übler Mitläufer). Nach den blumigen Lobpreisungen eines durchaus begabten Coders der mit Vista auf die Klappe fiel (siehe Blogroll), wollte ich’s wissen. In der Firma lag gerade noch ein herrenloses Powerbook G4 17″ und wartete auf sinnvolle Verwendung – ein Wink mit dem Zaunpfahl.
Kurzfassung: innerhalb von 48 Stunden alle produktiven Anwendungen auf OS X migriert. Alles mit Bordmitteln oder Freeware/OpenSource. Seit gut 8 Wochen keine Abstürze, keine Bluescreens. Funktionierendes ACPI, reboot nur in Ausnahmefällen z.B. Programminstallation oder Updates. Wechseln der Monitor-Konfiguration ohne Probleme. WLAN, Bluetooth, Drucken – alles klappt reibungslos.
Die heimische Windows-Workstation wurde mittlerweile durch einen iMac ausgewechselt.
Bye bye WinXP – nicht alles war schlecht, aber die Summe der Probleme nicht akzeptabel.