One-Liners

check your ldiretor clients

ipvsadm -L -n

To skip an error on a mysql slave

SET GLOBAL SQL_SLAVE_SKIP_COUNTER = 1;
I always forget that one.

Change the extension of every .html file in your CWD to .php

Rename replaces string X in a set of file names with string Y.
rename 's/.html$/.php/' *.html

Get the env for a running process

ps auxwwe

Rename everything in a dir

perl -e'@files=`ls`; foreach(@files){chomp($_); print `mv $_ $_.ready`;}'

Check for support server SSL/TLS versions

openssl s_client -connect localhost:443

Check for a specific protocol

openssl s_client -host localhost -port 443 -ssl2


Share and Enjoy:

  • Print this article!
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • Live
  • MySpace
  • Netvibes
  • Reddit
  • Slashdot
  • SphereIt
  • StumbleUpon
  • Suggest to Techmeme via Twitter
  • Technorati
  • Twitter
  • Yahoo! Bookmarks

Comment Form

Recent Posts

  • longchamp: nordstrom http://jmultipleir-djjq.04FORDPARTS.US/tag/nordstrom+longchamp+purses/ : purses.. [...]
  • r2: r2 http://eavedaspaxf.AUTOPARTSVILLE.INFO/tag/r2+Sap+Aveda/ : Sap... Aveda... [...]
  • price: Microwave http://aemersonw0mq76.BEDROOMPROPERTY.INFO/tag/price+Emerson+Microwave/ : Emerson [...]
  • projection: projection http://aprojectionvbt-i0.03GMCPARTS.US/tag/projector+projection+TV/ : projector. [...]
  • Perfume: Perfume http://dnurserywclsbf.bestpartsstore.info/tag/pictures+Perfume+givenchy/ : Perfume. [...]