2010-02-01から1ヶ月間の記事一覧
expat をインストールする $ cd /tmp $ wget http://surfnet.dl.sourceforge.net/sourceforge/expat/expat-2.0.1.tar.gz $ tar xzvf expat-2.0.1.tar.gz $ cd expat-2.0.1 $ ./configure $ make $ make check $ sudo make install git をインストールする $ …
$ touch a $ touch b -t `date -d "-1 days" '+%Y%m%d%H%M'` $ ls -l total 0 -rw-r--r-- 1 oracle oinstall 0 Feb 3 16:10 a -rw-r--r-- 1 oracle oinstall 0 Feb 2 16:10 b $ ls|while read line do if [ "`stat --print=%y $line|perl -ple 's/([0-9\-:\s…
$ touch a $ stat --print=%y a 2010-02-03 15:44:12.000000000 +0900
結論としては、ゲストOSの設定がダメダメだっただけでしたw 環境 VMware Workstation 7.0.0 build-203739 ゲストOS # cat /etc/issue Red Hat Enterprise Linux Server release 5.3 (Tikanga) Kernel \r on an \m # uname -a Linux db101 2.6.18-128.el5 #1 …
シェルスクリプトのユニットテストフレームワーク "shUnit2" を使ってみた - ablog のつづき。 実際に自分で作った bash スクリプトのユニットテストを実行してみた。最初のディレクトリ構成はこんなの。 $ su - oracle $ cd /home/oracle/scripts $ tree -p…
Oracle Database のデータをスキーマ単位で export する単純な bash スクリプトを作ってみた。 yoheia/ora_exp_dmp.sh at master · yoheia/yoheia · GitHub #!/bin/bash export LANG=C export NLS_LANG=American_America.JA16SJISTILDE BASE_DIR=$(cd $(dirn…
ないだろうと思いながらぐぐってみたら、 shUnit2 is a xUnit unit test framework for Bourne based shell scripts, and it is designed to work in a similar manner to JUnit, PyUnit, etc. If you have ever had the desire to write a unit test for a …
Oracle Mixではログイン直後に新人さん一覧が表示されるのがちょっと良い。そこに日本の方が複数いるのは始めて見た気がするけどw http://twitter.com/wmo6hash/status/8504841989 id:wmo6hash さんのつぶやきを見たのがきっかけで、Oracle Mix に登録してみ…