linux使用技巧记录

1、tree命令出现乱码

alias tree='tree --charset ASCII'

然后tree,可正常显示

这样只是临时生效,永久生效办法

vim /etc/profile

#再最后添加

alias tree='tree --charset ASCII'

#然后

source /etc/profile

posted @ 2018-06-04 17:25  温迪军  阅读(168)  评论(0编辑  收藏  举报