标签:ash source sage echo pre 定义 ESS tail 执行
echo "alias zsh=‘tail -f /var/log/message‘>> /etc/bashrc"
sed -i "s/alias zsh =‘/‘alias zsh=‘/g" /etc/bashrc
sed -i "s/messagess/messages/g" /etc/bashrc
source /etc/bashrc
zsh
自定义命名zsh将执行以下命令tail -f /var/log/messages
标签:ash source sage echo pre 定义 ESS tail 执行
原文地址:http://blog.51cto.com/13803911/2307442