1 문제상황[ | ]
Console
Copy
# ll
-bash: ll: command not found
2 조치[ | ]
Bash
Copy
echo "alias ll='ls -alF'" >> ~/.bashrc
syntaxhighlight ~/.bashrc
3 예시[ | ]
Console
Copy
root@zetawiki:~# ll
-bash: ll: command not found
root@zetawiki:~# echo "alias ll='ls -alF'" >> ~/.bashrc
root@zetawiki:~# syntaxhighlight ~/.bashrc
root@zetawiki:~# ll
total 44
drwx------ 5 root root 4096 Mar 20 01:37 ./
drwxr-xr-x 22 root root 4096 Mar 13 15:34 ../
-rw------- 1 root root 2943 Mar 19 09:02 .bash_history
-rw-r--r-- 1 root root 589 Mar 20 01:37 .bashrc
drwx------ 3 root root 4096 Aug 17 2018 .cache/
-rw-r--r-- 1 root root 148 Aug 17 2015 .profile
drwx------ 2 root root 4096 Mar 13 15:34 .ssh/
drwxr-xr-x 2 root root 4096 Mar 19 08:40 .vim/
-rw------- 1 root root 12100 Mar 20 01:36 .viminfo
4 같이 보기[ | ]
편집자 Jmnote Jmnote bot
로그인하시면 댓글을 쓸 수 있습니다.