📄 s90oracle
字号:
#!/bin/shOPT_=$1case "$OPT_" instart)/bin/echo "$0 : (start)"## Your service startup command goes here.# su - oracle -c "/home/oracle/product/9.2.0/bin/lsnrctl start" su - oracle -c "/home/oracle/product/9.2.0/bin/dbstart" chmod 1777 /tmp chown sys:sys /tmp exit 0 ;;stop)/bin/echo "$0 : (stop)"## Your service shutdown command goes here.# su - oracle -c "/export/home/oracle/product/9.2.0/bin/lsnrctl stop" su - oracle -c "/export/home/oracle/product/9.2.0/bin/dbshut"# NOTE: Must exit with zero unless error is severe. exit 0 ;;*) /bin/echo '' /bin/echo "Usage: $0 [start|stop]" /bin/echo " Invalid argument ==> \"${OPT_}\"" /bin/echo '' exit 0 ;; esac
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -