How to let archlinux ls -l = ll

2019-05-01  本文已影响0人  spfanlost

one

add alias ll='ls -l --color=autoto /etc/profile,
add source /etc/profile to /root/.bashrc and /home/username/.bashrc

other one

echo "alias ll='ls -l --color=auto'">>/etc/profile
echo "source /etc/profile">>/root/.bashrc
echo "source /etc/profile'">>/home/username/.bashrc

上一篇下一篇

猜你喜欢

热点阅读