echo "alias ll='ls --color=auto -alF'" >> ~/.bashrc
source ~/.bashrc

ssh를 새로 접속할 경우 안될때, root로 접속후 다음 스크립트를 실행한다.

echo "alias ll='ls -ahl'" > /etc/profile.d/ll.sh

 

+ Recent posts