Linux

unzip yzc_install.zip
cd yzc_install
chmod +x *.sh
dos2unix *.sh
dos2unix *.cfg
cd model
dos2unix *

cd ../..

su - oracle
cd /home/tar_temp
unzip yzc_initdb.zip
cd yzc_initdb
chmod a+x *.sh
find ./ -name "*.sh" -exec dos2unix {} \;
find ./ -name "*.cfg" -exec dos2unix {} \;
find ./ -name "*.model" -exec dos2unix {} \;

cd ..


rm -rf *.zip

你可能感兴趣的:(linux)