기타

기본 Dos 도스 명령어

Jack Moon 2022. 7. 11. 18:20

(괄호) 안은 리눅스 명령어

# c: 드라이브 이동 
d:\git>c:
# 디렉토리 이동 (동일)
c:\root>cd c:\root
# 디렉토리 생성 (동일)
c:\root>mkdir test
# 파일, 폴더 보기 (ls)
c:\root>dir
2022-07-11  오후 06:11    <DIR>          .
2022-07-11  오후 06:11    <DIR>          ..
2022-07-11  오후 06:11    <DIR>          test
2022-01-19  오전 10:47               118 test.bat
               1개 파일                 118 바이트
               3개 디렉터리  329,646,592,000 바이트 남음
# 폴더 이동 (동일)
c:\root>cd test
# 현재 위치 확인 (pwd)
c:\root\test>cd
c:\root\test
# 파일 생성 (vi test.txt)
c:\root\test>notepad test.txt
c:\root\test>dir
2022-07-11  오후 06:12    <DIR>          .
2022-07-11  오후 06:12    <DIR>          ..
2022-07-11  오후 06:12                17 test.txt
               1개 파일                  17 바이트
               2개 디렉터리  329,646,592,000 바이트 남음
# 파일보기 (cat)
c:\root\test>type test.txt
테스트 파일입니다