MS DOS CLI 가이드

39의 명령어를 찾았습니다

dir
file
디렉토리 내용 나열

사용법:

$ dir dir /p dir /w dir /a
list
directory
files
cd
navigation
디렉토리 변경

사용법:

$ cd [directory] cd .. cd \
change
directory
navigation
md
directory
디렉토리 생성

사용법:

$ md [directory] md dir1 dir2
make
directory
create
rd
directory
디렉토리 삭제

사용법:

$ rd [directory] rd /s [directory]
remove
directory
delete
copy
file
파일 복사

사용법:

$ copy [source] [destination] copy /v [source] [destination]
copy
file
duplicate
xcopy
file
파일 및 디렉토리 복사

사용법:

$ xcopy [source] [destination] xcopy /s /e [source] [destination]
copy
directory
recursive
move
file
파일 이동

사용법:

$ move [source] [destination] move /y [source] [destination]
move
file
relocate
del
file
파일 삭제

사용법:

$ del [file] del /p [file] del /f [file]
delete
remove
file
type
file
파일 내용 표시

사용법:

$ type [file] type [file] | more
display
content
file
ren
file
파일 이름 변경

사용법:

$ ren [oldname] [newname]
rename
file
change
attrib
file
파일 속성 변경

사용법:

$ attrib [+r|-r] [file] attrib [+h|-h] [file]
attribute
file
property
find
search
파일에서 문자열 검색

사용법:

$ find "string" [file] find /i "string" [file]
search
find
text
findstr
search
파일에서 문자열 검색 (정규식 지원)

사용법:

$ findstr "pattern" [file] findstr /i "pattern" [file]
search
regex
pattern
sort
text
텍스트 정렬

사용법:

$ sort [file] sort /r [file]
sort
order
text
more
text
화면 단위로 출력

사용법:

$ more [file] type [file] | more
display
page
view
tree
directory
디렉토리 구조 표시

사용법:

$ tree tree /f tree /a
tree
structure
directory
chkdsk
system
디스크 검사

사용법:

$ chkdsk [drive:] chkdsk /f [drive:]
check
disk
system
format
system
디스크 포맷

사용법:

$ format [drive:] format /q [drive:]
format
disk
system
diskpart
system
디스크 파티션 관리

사용법:

$ diskpart list disk select disk 0
disk
partition
system
tasklist
process
실행 중인 프로세스 목록

사용법:

$ tasklist tasklist /v tasklist /fi "status eq running"
process
list
task
taskkill
process
프로세스 종료

사용법:

$ taskkill /pid [pid] taskkill /im [name] taskkill /f /im [name]
kill
process
terminate
netstat
network
네트워크 연결 상태 표시

사용법:

$ netstat netstat -a netstat -n
network
connection
status
ipconfig
network
IP 설정 정보 표시

사용법:

$ ipconfig ipconfig /all ipconfig /release
ip
network
config
ping
network
네트워크 연결 테스트

사용법:

$ ping [host] ping -t [host] ping -n 4 [host]
ping
network
test
tracert
network
라우팅 경로 추적

사용법:

$ tracert [host] tracert -d [host] tracert -h 30 [host]
trace
route
network
net
network
네트워크 리소스 관리

사용법:

$ net view net use net share
network
resource
share
shutdown
system
시스템 종료

사용법:

$ shutdown /s shutdown /r shutdown /a
shutdown
restart
system
systeminfo
system
시스템 정보 표시

사용법:

$ systeminfo systeminfo /s [computer]
system
info
information
sfc
system
시스템 파일 검사

사용법:

$ sfc /scannow sfc /verifyonly
system
file
check
reg
system
레지스트리 관리

사용법:

$ reg query [key] reg add [key] reg delete [key]
registry
system
config
sc
service
서비스 관리

사용법:

$ sc query sc start [service] sc stop [service]
service
control
system
schtasks
task
예약 작업 관리

사용법:

$ schtasks /query schtasks /create schtasks /delete
task
schedule
job
robocopy
file
고급 파일 복사

사용법:

$ robocopy [source] [destination] robocopy /mir [source] [destination]
copy
robust
file
wmic
system
WMI 명령줄 도구

사용법:

$ wmic process list wmic diskdrive get size wmic os get version
wmi
system
info
powercfg
system
전원 설정 관리

사용법:

$ powercfg /list powercfg /change powercfg /hibernate on
power
config
system
bcdedit
system
부팅 설정 관리

사용법:

$ bcdedit bcdedit /set bcdedit /delete
boot
config
system
netsh
network
네트워크 셸

사용법:

$ netsh interface show interface netsh firewall show state
network
shell
config
gpupdate
system
그룹 정책 업데이트

사용법:

$ gpupdate gpupdate /force
group
policy
update
gpresult
system
그룹 정책 결과 표시

사용법:

$ gpresult gpresult /r gpresult /v
group
policy
result