How to let archlinux ls -l = ll
2019-05-01 本文已影响0人
spfanlost
one
add alias ll='ls -l --color=auto
to /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