리눅스 ll, ls -l

Jmnote (토론 | 기여)님의 2013년 9월 5일 (목) 20:12 판 (→‎개요)

1 개요

long list; ll
  • 긴 목록
  • 디렉토리 내용 목록 길게 보기
  • 리눅스에서 ls -l의 별칭
  • 되는 OS: 레드햇 계열
  • 안되는 OS: 맥 OS 등[1]

2 명령어

ll
ls -l

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

3 실행 예시

별칭이므로 실행결과는 동일하다. 흔히 사용하는 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        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        883 2009-03-03 02:18 zshrc

4 같이 보기

5 주석

  1. 물론 alias를 지정하면 된다...
문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}