#!/bin/bash ROOT=$(cd `dirname $0`/../../; pwd) cd $ROOT echo start to query sqlite3 meta.db << EOS select * from log_file_meta; EOS echo "end"