some useful shell script