Feeds:
Posts
Comments

Archive for January, 2008

FTP from shell

Maybe it can help you to do automatic ftp from your shell script
ftp -in IP_ADDRESS << EOF
user username password
prompt off
cd $destination_dir
lcd $local_dir
put $files
bye
EOF

Read Full Post »

If you want to get data from Oracle using shell, you can use this script

$SQLPLUS -s $ORACLE_USER/$ORACLE_PASSWD@$ORACLE_SID << EOF >> $FILE
@$SQL_SCRIPT
exit
EOF
In order to avoid feedback and title heading, you may add

set heading off
set feedback off
on your $SQL_SCRIPT

Read Full Post »

Hmm, previously my computer’s sister hit by brontox.
Some files/folders are hiden by the virus.
The “Folder Option” tools didn’t work.
Hmm, I’ve got a way to unhide the files/folders.
Just open the “regedit” and go to this path
HKEY_CURRENT_USER
- Software – Microsoft – Windows – Current Version – Explorer – Advanced
Do change(s) on some parameter on that path.
Don’t worry, [...]

Read Full Post »