dir
B2abbreviation컴퓨터에서 directory(디렉터리)를 줄여 쓴 말; 파일 목록을 보여 주는 명령어
noun명사
- 1
디렉터리 — 파일 시스템에서 파일이나 하위 디렉터리를 담는 디렉터리(directory)의 축약형B2〔computing〕
an abbreviated form of directory: a place in a computer file system that contains files or other directories
Put the log file in the same dir as the script.
로그 파일을 스크립트와 같은 디렉터리에 넣으세요.
Check whether the data dir exists before you run the program.
프로그램을 실행하기 전에 데이터 디렉터리가 있는지 확인하세요.
- 2
dir 명령어 — DOS나 Windows 명령줄에서 현재 디렉터리의 파일과 폴더 목록을 보여 주는 명령어B2〔computing〕
a DOS or Windows command that displays a list of the files and folders in a directory
Type dir to list the files in this folder.
이 폴더의 파일 목록을 보려면 dir를 입력하세요.
On Windows, dir shows the contents of the current directory.
Windows에서 dir는 현재 디렉터리의 내용을 보여 줍니다.
유의어ls
뉘앙스 · 쓰임
directory는 정식 표현이고, dir는 명령줄·코드·설정 파일에서 쓰는 짧은 약어입니다. folder는 일반 사용자에게 더 친숙한 말이지만, 엄밀히는 그래픽 환경의 ‘폴더’ 개념을 가리키는 경우가 많습니다. path는 디렉터리 자체가 아니라 그 위치를 나타내는 문자열입니다.
일상 대화나 일반 문서에서는 directory 또는 folder가 더 자연스럽습니다. dir는 주로 개발자, 시스템 관리자, 명령줄 사용자 사이에서 쓰이며, Windows 명령어를 가리킬 때는 대소문자와 관계없이 dir 또는 DIR로 보일 수 있습니다.
유의어 뉘앙스 비교
- directory
- 정식 표현이며 dir보다 더 일반적이고 명확합니다.
- folder
- 일반 사용자에게 더 친숙하지만, 기술적으로 항상 완전히 같은 뜻은 아닙니다.
- ls
- Unix와 Linux 계열에서 비슷한 기능을 하는 명령어입니다.
자주 쓰는 표현 · Collocations
adj+noun
- current dir현재 디렉터리
noun+noun
- project dir프로젝트 디렉터리
- data dir데이터 디렉터리
- dir commanddir 명령어
verb+noun
- type dirdir를 입력하다
어원 · 암기 팁
[English]English directory의 앞부분을 줄여 만든 컴퓨터 약어입니다. directory는 ‘지시하다, 향하게 하다’와 관련된 라틴어 계통의 말에서 왔습니다.
directory의 축약형
💡 dir를 ‘directory의 앞 세 글자’로 기억하면 됩니다.