30 octubre 2006

Oracle Enterprise Linux

Llamado oficialmente por Oracle: Enterprise Linux
Es un producto derivado de Red Hat Enterprise AS 4.
Es exactamente el mismo producto de Red Hat sin los logos oficiales del "Sombrero Rojo".
Oracle dará soporte a Linux Red Hat Enterprise a un menor costo que el propio Red Hat.
El programa se llama: Oracle's Unbreakable Linux Program.

Red Hat responde a esta noticia.

Capturas de instalación de Enterprise Linux:









27 octubre 2006

Importar datos en Oracle hechos con PIPE

#!/bin/ksh
rm -f import_pipe
mknod import_pipe p
chmod 666 import_pipe
nohup gunzip -c expdat.dmp.gz > import_pipe &
imp userid=system/manager file=import_pipe full=yes ignore=yes
log=importTESTDB.log

rm -f import_pipe

Buscar y reemplazar una palabra desde VI

Suppose you want to replace every occurrence of the word "idiot" with the word "manager". No confirmation needed because all idiots are managers.

Use the command:

:%s/\/manager/g

The parts of this command are:

: Enter command mode
% Perform this command on all lines (% is a synomim for the first to last line.)
s The short form of the :substitute command.
/\/ This text specifies the text we are looking for wand want. The \< tells Vim to match a word start and the \> tells Vim to match the end of a word.
/manager/ The replacement text
g Global flag -- This flag tells Vim to change every occurance on the line, not use the first one.