1. Lệnh Ping : Cú pháp: Code: ping ip/host [/t][/a][/l][/n]



tải về 1.67 Mb.
Chế độ xem pdf
trang88/92
Chuyển đổi dữ liệu18.05.2022
Kích1.67 Mb.
#52014
1   ...   84   85   86   87   88   89   90   91   92
Cac lenh co ban trong DOS

Example:
The following batch file will show the full path of all running programs. 
@ECHO off 
FOR /f "tokens=1" %%G in ('tlist') DO (call :s_item %%G) 
GOTO :eof 
:s_item 
tlist %1 | find "CmdLine" 
"When I first started running, I was so embarrassed, I'd walk when cars passed me. I'd pretend 
I was looking at the flowers" ~ Joan Benoit Samuelson, 1984 Olympic Marathon gold medalist 
TRACERT
 
Trace Route - Find the IP address of any remote host. TRACERT is useful for troubleshooting 
large networks where several paths can be taken to arrive at the same point, or where many 
intermediate systems (routers or bridges) are involved. 
Syntax 
TRACERT [optionstarget_name 
Key 
target_name The HTTP or UNC name of the host 
Options: 
-d Do not resolve addresses to hostnames. 
(avoids performing a DNS lookup) 
-h max_hops Maximum number of hops to search for 
target.(default=30) 
-j host-list Trace route along given host-list.
up to 9 hosts in dotted decimal notation, separated 
by spaces. 
-w timeout Wait timeout milliseconds for each reply. 
The functionality of TRACERT is the same under all versions of windows but the output is 
cosmetically improved under XP. 
Tracert uses the IP TTL field and ICMP error messages to determine the route from one host to 
another through a network. 
Care must be taken with tracert as it shows the optimal route, not necessarily the actual route. 
To be accurate, it is possible to 
ping
from a UNIX machine back to the PC using the -R option to 
record the route taken - but only if the particular network devices support it. 
This diagnostic tool determines the path taken to a destination by sending ICMP Echo Request 
messages with varying Time to Live (TTL) values to the destination. 

tải về 1.67 Mb.

Chia sẻ với bạn bè của bạn:
1   ...   84   85   86   87   88   89   90   91   92




Cơ sở dữ liệu được bảo vệ bởi bản quyền ©hocday.com 2024
được sử dụng cho việc quản lý

    Quê hương