phần 1 đã thể hiện một số lệnh cơ bản trong Windows.

Ở phần 2 này, sẽ thực hành một số bài tập liên quan.

1.Go to aMS-DOS window.

Start —> Run —> CMD —> OK

hoặc Windows + R —> CMD —> Enter

2. Identify the version of MS-DOS that you are using. What version have you detected? What command have you used?.

C:\>ver

Microsoft Windows XP [Version 5.1.2600]

3. Identify the date and time of the system. If they are incorrect, modify them so that they are correct. What command have you used?

C:\>date
The current date is: Tue 06/19/2012

C:\>time
The current time is: 11:11:00.12

4.Identify all the directories and files that are in “c:\”.What command have you used?

C:\>dir
Volume in drive C is SYSTEM
Volume Serial Number is 700F-D6EF

Directory of C:\

02/14/2009 03:34 PM 0 AUTOEXEC.BAT
02/14/2009 03:34 PM 0 CONFIG.SYS
02/14/2009 03:46 PM 197 csb.log
08/18/2011 02:35 PM 0 dfinstall.log
06/19/2012 07:56 AM <DIR> Documents and Settings
06/19/2012 09:57 AM <DIR> downloads
02/14/2009 03:41 PM <DIR> Intel
06/19/2012 07:57 AM 8,396,544 Persi0.sys
06/19/2012 09:59 AM <DIR> Program Files
02/14/2009 03:45 PM 429 RHDSetup.log
06/19/2012 07:56 AM 125 service.log
02/14/2012 03:36 PM <DIR> WINDOWS
7 File(s) 8,397,295 bytes
5 Dir(s) 34,358,865,920 bytes free

5. Create the directory c:\hhs\lesson0. Copy in this directory all the files with the extension “.sys” that are in “c:\”.What files have you found? What commands have you used?

C:\>mkdir c:\hhs\lesson0

C:\>dir
Volume in drive C is SYSTEM
Volume Serial Number is 700F-D6EF

Directory of C:\

02/14/2009 03:34 PM 0 AUTOEXEC.BAT
02/14/2009 03:34 PM 0 CONFIG.SYS
02/14/2009 03:46 PM 197 csb.log
08/18/2011 02:35 PM 0 dfinstall.log
06/19/2012 07:56 AM <DIR> Documents and Settings
06/19/2012 09:57 AM <DIR> downloads
06/19/2012 11:15 AM <DIR> hhs
02/14/2009 03:41 PM <DIR> Intel
06/19/2012 07:57 AM 8,396,544 Persi0.sys
06/19/2012 09:59 AM <DIR> Program Files
02/14/2009 03:45 PM 429 RHDSetup.log
06/19/2012 07:56 AM 125 service.log
02/14/2012 03:36 PM <DIR> WINDOWS
7 File(s) 8,397,295 bytes
6 Dir(s) 34,360,696,832 bytes free

C:\>copy Persi0.sys C:\hhs\lesson0
1 file(s) copied.

6. Identify the IP address of your host. What command have you used? What IP address do you have?

C:\>ipconfig

Windows IP Configuration
Ethernet adapter Local Area Connection:

Connection-specific DNS Suffix . :
IP Address. . . . . . . . . . . . : 192.168.1.31
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.1.1

7.Trace the route to“www.google.com”. Identify IPs of the intermediate routers.

C:\>tracert http://www.google.com

Tracing route to http://www.l.google.com [74.125.71.105]
over a maximum of 30 hops:

1 <1 ms <1 ms <1 ms 192.168.1.1
2 10 ms 11 ms 10 ms 123.20.65.1
3 10 ms 12 ms 9 ms 172.17.1.70
4 * * * Request timed out.
5 * * * Request timed out.
6 * * * Request timed out.
7 69 ms 60 ms 60 ms 72.14.215.122
8 49 ms 48 ms 64 ms 64.233.175.207
9 64 ms 71 ms 66 ms 209.85.248.60
10 * 46 ms 44 ms 209.85.253.71
11 51 ms 46 ms 51 ms 216.239.48.234
12 48 ms 44 ms 45 ms hx-in-f105.1e100.net [74.125.71.105]

Trace complete.

Câu hỏi lấy từ HHS-ISECOM

Trả lời bởi: thinhhuynh1989