Linux 使用alias 自定义快捷命令
作者:互联网
bin/oozie-setup.sh sharelib create -fs hdfs://hadoop102:8020 -locallib oozie-sharelib-4.0.0-cdh5.3.6-yarn.tar.gz
alias "oozie"="/opt/modules/oozie-4.0.0-cdh5.3.6/bin/oozie-setup.sh sharelib create -fs hdfs://Hadoop:8020 -locallib oozie-sharelib-4.0.0-cdh5.3.6-yarn.tar.gz"
类似这样的自定义命令
alias "ooziestart"="/opt/modules/oozie-4.0.0-cdh5.3.6/bin/oozied.sh start"
alias "ooziestop"="/opt/modules/oozie-4.0.0-cdh5.3.6/bin/oozied.sh stop"
cat /etc/bashrc
vi /etc/bashrc
标签:bin,4.0,自定义,cdh5.3,Linux,sharelib,alias,oozie 来源: https://blog.csdn.net/u011488009/article/details/104745830