개발/Linux

Linux에서 ll 명령어가 작동하지 않을 때 ls의 alias을 등록

철권 2023. 3. 3. 13:09
728x90

 

1) Home디렉토리의 .bash_profile을 연다.

$ vi ~/.bash_profile

2) 파일에 아래 내용을 추가한다.

alias ll="ls -al"

3) source 명령어를 이용하여 프로파일을 다시 적용한다.

$ source ~/.bash_profile

728x90
반응형