리눅스 ll, ls -l

Jmnote (토론 | 기여)님의 2012년 3월 31일 (토) 17:59 판 (→‎개요)

  • ll
  • ls -l

1 개요

리눅스에서 ll은 ls -l의 별칭이다.

ls -l

#별칭(alias)
ll

ls에서 -l 옵션은 긴 목록 형식(long listing format), 즉 한줄에 하나의 파일을 보여 주는 형식이다.

2 실행 예시

별칭이므로 실행결과는 같다. 흔히 사용하는 ls -al과는 달리 숨김파일을 보여주지 않는다.

[root@localhost etc]# ll
total 2492
drwxr-xr-x.  4 root     root       4096 2009-10-29 15:02 acpi
-rw-r--r--.  1 root     root         16 2009-10-29 16:10 adjtime
drwxr-xr-x.  4 root     root       4096 2009-10-29 15:18 alchemist
... (생략)
-rw-r--r--.  1 root     root        375 2009-03-03 02:18 zprofile
-rw-r--r--.  1 root     root        304 2009-03-03 02:18 zshenv
-rw-r--r--.  1 root     root        883 2009-03-03 02:18 zshrc
[root@localhost  etc]# ls -l
total 2492
drwxr-xr-x.  4 root     root       4096 2009-10-29 15:02 acpi
-rw-r--r--.  1 root     root         16 2009-10-29 16:10 adjtime
drwxr-xr-x.  4 root     root       4096 2009-10-29 15:18 alchemist
... (생략)
-rw-r--r--.  1 root     root        375 2009-03-03 02:18 zprofile
-rw-r--r--.  1 root     root        304 2009-03-03 02:18 zshenv
-rw-r--r--.  1 root     root        883 2009-03-03 02:18 zshrc

</source>

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}