termux 关闭 welcome

termux在启动时会打印welcome to termux,那么如何关闭呢?

1. 切换到user/bin目录

cd ../user/bin

2.编辑login脚本,注释掉cat motd对应的代码

#!/data/data/com.termux/files/usr/bin/sh

# 注释掉下面的这些代码,当然也可以修改motd里面的内容

# if [ $# = 0 ] && [ -f $PREFIX/etc/motd ] && [ ! -f ~/.hushlogin ]; then
# cat $PREFIX/etc/motd
# fi

原文地址:https://www.cnblogs.com/lotusJade/p/8213844.html