来自公众号:Linux公社
链接:https://www.linuxmi.com/linux-icon-ls.html
ls
命令有多种替代方法,我们今后也将介绍其中的一些替代方法。linuxmi@linuxmi /home/linuxmi/www.linuxmi.com
⚡ wget -q https://github.com/Yash-Handa/logo-ls/releases/download/v1.3.7/logo-ls_Linux_x86_64.tar.gz
[email protected] /home/linuxmi/www.linuxmi.com
⚡ tar zxvf logo-ls_Linux_x86_64.tar.gz
logo-ls_Linux_x86_64/HELP.md
logo-ls_Linux_x86_64/LICENSE
logo-ls_Linux_x86_64/logo-ls.1.gz
logo-ls_Linux_x86_64/logo-ls
[email protected] /home/linuxmi/www.linuxmi.com
⚡ cd logo-ls_Linux_x86_64/
[email protected] /home/linuxmi/www.linuxmi.com/logo-ls_Linux_x86_64
⚡ sudo install -v logo-ls /usr/local/bin/
[sudo] linuxmi 的密码:
'logo-ls' -> '/usr/local/bin/logo-ls'
linuxmi@linuxmi /home/linuxmi/www.linuxmi.com/logo-ls_Linux_x86_64
⚡ sudo cp logo-ls.1.gz /usr/share/man/man1/
[email protected] /home/linuxmi/www.linuxmi.com
⚡ logo-ls
输出如下:
如果您希望它成为您的默认值ls
,只需为其创建一个alias
,例如在BASH中:
echo 'alias ls="logo-ls"' >> ~/.bashrc
execute $SHELL
ls
有关更多信息,请使用以下命令:
[email protected] /home/linuxmi/www.linuxmi.com
⚡ logo-ls --help
[email protected] /home/linuxmi/www.linuxmi.com
⚡ man 1 logo-ls
好文推荐