超管用户root:
[root@local228 ~]# echo "export HISTCONTROL=ignorespace" >> /etc/profile
普通用户:
[root@local228 ~]# su - deploy
Last login: Tue Oct 20 09:22:47 CST 2020 on pts/0
[deploy@local228 ~]$ echo "HISTCONTROL=ignorespace" >> ~/.bash_profile
《如何查看程序调用了哪些lib?》