"리눅스 ll, ls -l"의 두 판 사이의 차이

9번째 줄: 9번째 줄:


==명령어==
==명령어==
<source lang='bash'>
ll
</source>
<source lang='bash'>
<source lang='bash'>
ls -l
ls -l
#별칭(alias)
ll
</source>
</source>
ls에서 -l 옵션은 긴 목록 형식(long listing format), 즉 한줄에 하나의 파일을 보여 주는 형식이다.
ls에서 -l 옵션은 긴 목록 형식(long listing format), 즉 한줄에 하나의 파일을 보여 주는 형식이다.

2013년 9월 5일 (목) 20:11 판

1 개요

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

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        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

4 같이 보기

5 주석

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