首都国际机场大巴:“开始→运行”命令大全........

来源:百度文库 编辑:九乡新闻网 时间:2024/03/29 23:11:48
        gpedit.msc-----组策略 sndrec32-------录音机
  Nslookup-------IP地址侦测器 explorer-------打开资源管理器
  logoff---------注销命令 tsshutdn-------60秒倒计时关机命令
  lusrmgr.msc----本机用户和组 services.msc---本地服务设置
  oobe/msoobe /a----检查XP是否激活notepad--------打开记事本
  cleanmgr-------垃圾整理 net start messenger----开始信使服务
  compmgmt.msc---计算机管理 net stop messenger-----停止信使服务
  conf-----------启动netmeeting dvdplay--------DVD播放器
  charmap--------启动字符映射表 diskmgmt.msc---磁盘管理实用程序
  calc-----------启动计算器 dfrg.msc-------磁盘碎片整理程序
  chkdsk.exe-----Chkdsk磁盘检查 devmgmt.msc--- 设备管理器
  regsvr32 /u *.dll----停止dll文件运行drwtsn32------ 系统医生
  rononce -p ----15秒关机 dxdiag---------检查directx信息
  regedt32-------注册表编辑器 Msconfig.exe---系统配置实用程序
  rsop.msc-------组策略结果集 mem.exe--------显示内存使用情况
  regedit.exe----注册表 winchat--------XP自带局域网聊天
  progman--------程序管理器 winmsd---------系统信息
  perfmon.msc----计算机性能监测程序 winver---------检查Windows版本
  sfc /scannow-----扫描错误并复原 winipcfg-------IP配置
  taskmgr-----任务管理器(2000/xp/2003)command--------cmd
  fsmgmt.msc 共享文件夹 netstat -an----查看端口
  osk 屏幕键盘install.asp----修改注册网页
  eventvwr.msc 时间查看器
  secpol.msc 本地安全设置
  services.msc 服务
  2K
shutdown -s -t *---设定*秒后自动关机,注意t与*之间有空格  
  accwiz.exe > 辅助工具向导
  acsetups.exe > acs setup dcom server executable
  actmovie.exe > 直接显示安装工具
  append.exe > 允许程序打开制定目录中的数据
  arp.exe > 显示和更改计算机的ip与硬件物理地址的对应列表
  at.exe > 计划运行任务
  atmadm.exe > 调用管理器统计
  attrib.exe > 显示和更改文件和文件夹属性
  autochk.exe > 检测修复文件系统
  autoconv.exe > 在启动过程中自动转化系统
  autofmt.exe > 在启动过程中格式化进程
  autolfn.exe > 使用长文件名格式
  bootok.exe > boot acceptance application for registry
  bootvrfy.exe > 通报启动成功
  cacls.exe > 显示和编辑acl
  calc.exe > 计算器
  cdplayer.exe > cd播放器
  change.exe > 与终端服务器相关的查询
  charmap.exe > 字符映射表
  chglogon.exe > 启动或停用会话记录
  chgport.exe > 改变端口(终端服务)
  chgusr.exe > 改变用户(终端服务)
  chkdsk.exe > 磁盘检测程序
  chkntfs.exe > 磁盘检测程序
  cidaemon.exe > 组成ci文档服务
  cipher.exe > 在ntfs上显示或改变加密的文件或目录
  cisvc.exe > 索引内容
  ckcnv.exe > 变换cookie
  cleanmgr.exe > 磁盘清理
  cliconfg.exe > sql客户网络工具
  clipbrd.exe > 剪贴簿查看器
  clipsrv.exe > 运行clipboard服务
  clspack.exe > 建立系统文件列表清单
  cluster.exe > 显示域的集群
  _cmd_.exe > 没什么好说的!
  cmdl32.exe > 自动下载连接管理
  cmmgr32.exe > 连接管理器
  cmmon32.exe > 连接管理器监视
  cmstp.exe > 连接管理器配置文件安装程序
  comclust.exe > 集群
  comp.exe > 比较两个文件和文件集的内容*
  compact.exe > 显示或改变ntfs分区上文件的压缩状态
  conime.exe > ime控制台
  control.exe > 控制面板
  convert.exe > 转换文件系统到ntfs
  convlog.exe > 转换iis日志文件格式到ncsa格式
  cprofile.exe > 转换显示模式
  cscript.exe > 较本宿主版本
  csrss.exe > 客户服务器runtime进程
  csvde.exe > 日至格式转换程序
  dbgtrace.exe > 和terminal server相关
  dcomcnfg.exe > dcom配置属性
  dcphelp.exe > ?
  dcpromo.exe > ad安装向导
  ddeshare.exe > dde共享
  ddmprxy.exe >
  debug.exe > 就是debug啦!
  dfrgfat.exe > fat分区磁盘碎片整理程序
  dfrgntfs.exe > ntfs分区磁盘碎片整理程序
  dfs_cmd_.exe > 配置一个dfs树
  dfsinit.exe > 分布式文件系统初始化
  dfssvc.exe > 分布式文件系统服务器
  diantz.exe > 制作cab文件
  diskperf.exe > 磁盘性能计数器
  dllhost.exe > 所有com+应用软件的主进程
  dllhst3g.exe >
  dmadmin.exe > 磁盘管理服务
  dmremote.exe > 磁盘管理服务的一部分
  dns.exe > dns applications dns
  doskey.exe > 命令行创建宏
  dosx.exe > dos扩展
  dplaysvr.exe > 直接运行帮助
  drwatson.exe > 华生医生错误检测
  drwtsn32.exe > 华生医生显示和配置管理
  dtcsetup.exe > installs mdtc
  dvdplay.exe > dvd播放
  dxdiag.exe > direct-x诊断工具
  edlin.exe > 命令行的文本编辑器(历史悠久啊!)
  edlin.exe > 命令行的文本编辑器(历史悠久啊!)
  esentutl.exe > ms数据库工具
  eudcedit.exe > type造字程序
  eventvwr.exe > 事件查看器
  evnt_cmd_.exe > event to trap translator; configuration tool
  evntwin.exe > event to trap translator setup
  exe2bin.exe > 转换exe文件到二进制
  expand.exe > 解压缩
  extrac32.exe > 解cab工具
  fastopen.exe > 快速访问在内存中的硬盘文件
  faxcover.exe > 传真封面编辑
  faxqueue.exe > 显示传真队列
  faxsend.exe > 发送传真向导
  faxsvc.exe > 启动传真服务
  fc.exe > 比较两个文件的不同
  find.exe > 查找文件中的文本行
  findstr.exe > 查找文件中的行
  finger.exe > 一个用户并显示出统计结果
  fixmapi.exe > 修复mapi文件
  flattemp.exe > 允许或者禁用临时文件目录
  fontview.exe > 显示字体文件中的字体
  forcedos.exe > forces a file to start in dos mode. 强制文件在dos模式下运行
  freecell.exe > popular windows game 空当接龙
  ftp.exe > file transfer protocol used to transfer files over a network conne
  ction 就是ftp了
  gdi.exe > graphic device interface 图形界面驱动
  grovel.exe >
  grpconv.exe > program manager group convertor 转换程序管理员组
  help.exe > displays help for windows 2000 commands 显示帮助
  hostname.exe > display hostname for machine. 显示机器的hostname
  ie4uinit.exe > ie5 user install tool ie5用户安装工具
  ieshwiz.exe > customize folder wizard 自定义文件夹向导
  iexpress.exe > create and setup packages for install 穿件安装包
  iisreset.exe > restart iis admin service 重启iis服务
  internat.exe > keyboard language indicator Applet 键盘语言指示器
  ipconfig.exe > windows 2000 ip configuration. 察看ip配置
  ipsecmon.exe > ip security monitor ip安全监视器
  ipxroute.exe > ipx routing and source routing control program ipx路由和源路由
  控制程序
  irftp.exe > setup ftp for wireless communication 无线连接
  ismserv.exe > intersite messaging service 安装或者删除service control manage
  r中的服务
  jdbgmgr.exe > microsoft debugger for java 4 java4的调试器
  jetconv.exe > convert a jet engine database 转换jet engine数据库
  jetpack.exe > compact jet database. 压缩jet数据库
  jview.exe > command-line loader for java java的命令行装载者
  krnl386.exe > core component for windows 2000 2000的核心组件
  label.exe > change label for drives 改变驱动器的卷标
  lcwiz.exe > license compliance wizard for local or remote systems. 许可证符合
  向导
  ldifde.exe > ldif cmd line manager ldif目录交换命令行管理
  licmgr.exe > terminal server license manager 终端服务许可协议管理
  lights.exe > display connection status lights 显示连接状况
  llsmgr.exe > windows 2000 license manager 2000许可协议管理
  llssrv.exe > start the license server 启动许可协议服务器
  lnkstub.exe >
  locator.exe > rpc locator 远程定位
  lodctr.exe > load perfmon counters 调用性能计数
  logoff.exe > log current user off. 注销用户
  lpq.exe > displays status of a remote lpd queue 显示远端的lpd打印队列的状态,
  显示被送到基于unix的服务器的打印任务
  lpr.exe > send a print job to a network printer. 重定向打印任务到网络中的打印
  机。通常用于unix客户打印机将打印任务发送给连接了打印设备的nt的打印机服务器。
  
  lsass.exe > lsa executable and server dll 运行lsa和server的dll
  lserver.exe > specifies the new dns domain for the default server 指定默认se
  rver新的dns域
  os2.exe > an os/2 warp server (os2 /o) os/2
  os2srv.exe > an os/2 warp server os/2
  os2ss.exe > an os/2 warp server os/2
  osk.exe > on screen keyboard 屏幕键盘
  packager.exe > windows 2000 packager manager 对象包装程序
  pathping.exe > combination of ping and trAcert 包含ping和tracert的程序
  pax.exe > is a posix program and path names used as arguments must be specif
  ied in posix format. use "//c/users/default" instead of "c:usersdefault."
  启动便携式存档互换 (pax) 实用程序
  pentnt.exe > used to check the pentium for the floating point division error
  . 检查pentium的浮点错误
  perfmon.exe > starts windows performance monitor 性能监视器
  ping.exe > packet internet groper 验证与远程计算机的连接
  posix.exe > used for backward compatibility with unix 用于兼容unix
  print.exe > cmd line used to print files 打印文本文件或显示打印队列的内容。
  progman.exe > program manager 程序管理器
  proquota.exe > profile quota program
  psxss.exe > posix subsystem application posix子系统应用程序
  qappsrv.exe > displays the available application terminal servers on the net
  work
  在网络上显示终端服务器可用的程序
  qprocess.exe > display information about processes local or remote 在本地或远
  程显示进程的信息(需终端服务)
  query.exe > query termserver user process and sessions 查询进程和对话
  quser.exe > display information about a user logged on 显示用户登陆的信息(需
  终端服务)
  qwinsta.exe > display information about terminal sessions. 显示终端服务的信息
  
  rasadmin.exe > start the remote access admin service 启动远程访问服务
  rasautou.exe > creates a ras connection 建立一个ras连接
  rasdial.exe > dial a connection 拨号连接
  ras.exe > starts a ras connection 运行ras连接
  rcp.exe > copies a file from and to a rcp service. 在 windows 2000 计算机和运
  行远程外壳端口监控程序 rshd 的系统之间复制文件
  rdpclip.exe > rdpclip allows you to copy and paste files between a terminal
  session and client console session. 再终端和本地复制和粘贴文件
  recover.exe > recovers readable information from a bad or defective disk 从坏
  的或有缺陷的磁盘中恢复可读取的信息。
  redir.exe > starts the redirector service 运行重定向服务
  regedt32.exe > 32-bit register service 32位注册服务
  regini.exe > modify registry permissions from within a script 用脚本修改注册
  许可
  register.exe > register a program so it can have special execution character
  istics. 注册包含特殊运行字符的程序
  regsvc.exe >
  regsvr32.exe > registers and unregister"s dll"s. as to how and where it regi
  ster"s them i dont know. 注册和反注册dll
  regtrace.exe > options to tune debug options for applications failing to dum
  p trace statements
  trace 设置
  regwiz.exe > registration wizard 注册向导
  remrras.exe >
  replace.exe > replace files 用源目录中的同名文件替换目标目录中的文件。
  reset.exe > reset an active section 重置活动部分
  rexec.exe > runs commands on remote hosts running the rexec service. 在运行
  rexec 服务的远程计算机上运行命令。rexec 命令在执行指定命令前,验证远程计算机
  上的用户名,只有安装了 tcp/ip 协议后才可以使用该命令。
  risetup.exe > starts the remote installation service wizard. 运行远程安装向导
  服务
  route.exe > display or edit the current routing tables. 控制网络路由表
  routemon.exe > no longer supported 不再支持了!
  router.exe > router software that runs either on a dedicated dos or on an os
  /2 system. route软件在 dos或者是os/2系统
  rsh.exe > runs commands on remote hosts running the rsh service 在运行 rsh 服
  务的远程计算机上运行命令
  rsm.exe > mounts and configures remote system media 配置远程系统媒体
  rsnotify.exe > remote storage notification recall 远程存储通知回显
  rsvp.exe > resource reservation protocol 源预约协议
  runas.exe > run a program as another user 允许用户用其他权限运行指定的工具和
  程序
  rundll32.exe > launches a 32-bit dll program 启动32位dll程序
  runonce.exe > causes a program to run during startup 运行程序再开始菜单中
  rwinsta.exe > reset the session subsystem hardware and software to known ini
  tial values 重置会话子系统硬件和软件到最初的值
  savedump.exe > does not write to e:winntuser.dmp 不写入user.dmp中
  scardsvr.exe > smart card resource management server 子能卡资源管理服务器
  schupgr.exe > it will read the schema update files (.ldf files) and upgrade
  the schema. (part of adsi) 读取计划更新文件和更新计划
  secedit.exe > starts security editor help 自动安全性配置管理
  services.exe > controls all the services 控制所有服务
  sethc.exe > set high contrast - changes colours and display mode logoff to s
  et it back to normal 设置高对比
  setreg.exe > shows the software publishing state key values 显示软件发布的国
  家语言
  setup.exe > gui box prompts you to goto control panel to configure system co
  mponents 安装程序(转到控制面板)
  setver.exe > set version for files 设置 ms-dos 子系统向程序报告的 ms-dos 版本
  号
  sfc.exe > system file checker test and check system files for integrity 系统
  文件检查
  sfmprint.exe > print services for macintosh 打印macintosh服务
  sfmpsexe.exe >
  sfmsvc.exe >
  shadow.exe > monitor another terminal services session. 监控另外一台中端服务
  器会话
  share.exe > windows 2000 和 ms-dos 子系统不使用该命令。接受该命令只是为了与
  ms-dos 文件兼容
  shmgrate.exe >
  shrpubw.exe > create and share folders 建立和共享文件夹
  sigverif.exe > file signature verification 文件签名验证
  skeys.exe > serial keys utility 序列号制作工具
  smlogsvc.exe > performance logs and alerts 性能日志和警报
  smss.exe >
  sndrec32.exe > starts the windows sound recorder 录音机
  sndvol32.exe > display the current volume information 显示声音控制信息
  snmp.exe > simple network management protocol used for network mangement 简单
  网络管理协议
  snmptrap.exe > utility used with snmp snmp工具
  sol.exe > windows solitaire game 纸牌
  sort.exe > compares files and folders 读取输入、排序数据并将结果写到屏幕、文
  件和其他设备上
  SPOOLSV.EXE > Part of the spooler service for printing 打印池服务的一部分
  sprestrt.exe >
  srvmgr.exe > Starts the Windows Server Manager 服务器管理器
  stimon.exe > WDM StillImage- > Monitor
  stisvc.exe > WDM StillImage- > Service
  subst.exe > Associates a path with a drive letter 将路径与驱动器盘符关联
  svchost.exe > Svchost.exe is a generic host process name for services that a
  re run from dynamic-link libraries (DLLs). DLL得主进程
  syncapp.exe > Creates Windows Briefcase. 创建Windows文件包
  sysedit.exe > Opens Editor for 4 system files 系统配置编辑器
  syskey.exe > Encrypt and secure system database NT账号数据库按群工具
  sysocmgr.exe > Windows 2000 Setup 2000安装程序
  systray.exe > Starts the systray in the lower right corner. 在低权限运行syst
  ray
  macfile.exe > Used for managing MACFILES 管理MACFILES
  magnify.exe > Used to magnify the current screen 放大镜
  makecab.exe > MS Cabinet Maker 制作CAB文件
  mdm.exe > Machine Debug Manager 机器调试管理
  mem.exe > Display current Memory stats 显示内存状态
  migpwd.exe > Migrate passwords. 迁移密码
  mmc.exe > Microsoft Management Console 控制台
  mnmsrvc.exe > Netmeeting Remote Desktop Sharing NetMeeting远程桌面共享
  mobsync.exe > Manage Synchronization. 同步目录管理器
  mountvol.exe > Creates, deletes, or lists a volume mount point. 创建、删除或
  列出卷的装入点。
  mplay32.exe > MS Media Player 媒体播放器
  mpnotify.exe > Multiple Provider Notification application 多提供者通知应用程
  序
  mq1sync.exe >
  mqbkup.exe > MS Message Queue Backup and Restore Utility 信息队列备份和恢复工
  具
  mqexchng.exe > MSMQ Exchange Connector Setup 信息队列交换连接设置
  mqmig.exe > MSMQ Migration Utility 信息队列迁移工具
  mqsvc.exe > ?
  mrinfo.exe > Multicast routing using SNMP 使用SNMP多点传送路由
  mscdexnt.exe > Installs MSCD (MS CD Extensions) 安装MSCD
  msdtc.exe > Dynamic Transaction Controller Console 动态事务处理控制台
  msg.exe > Send a message to a user local or remote. 发送消息到本地或远程客户
  
  mshta.exe > HTML Application HOST HTML应用程序主机
  msiexec.exe > Starts Windows Installer Program 开始Windows安装程序
  mspaint.exe > Microsoft Paint 画板
  msswchx.exe >
  mstask.exe > Task Schedule Program 任务计划表程序
  mstinit.exe > Task scheduler setup 任务计划表安装
  narrator.exe > Program will allow you to have a narrator for reading. Micros
  oft讲述人
  nBTstat.exe > Displays protocol stats and current TCP/IP connections using N
  BT 使用 NBT(TCP/IP 上的 NetBIOS)显示协议统计和当前 TCP/IP 连接。
  nddeapir.exe > NDDE API Server side NDDE API服务器端
  net.exe > Net Utility 详细用法看/?
  net1.exe > Net Utility updated version from MS Net的升级版
  netdde.exe > Network DDE will install itself into the background 安装自己到后
  台
  netsh.exe > Creates a shell for network information 用于配置和监控 Windows 2
  000 命令行脚本接口。
  netstat.exe > Displays current connections. 显示协议统计和当前的 TCP/IP 网络
  连接。
  nlsfunc.exe > Loads country-specific information 加载特定国家(地区)的信息。
  Windows 2000 和 MS-DOS 子系统不使用该命令。接受该命令只是为了与 MS-DOS 文件兼
  容。
  notepad.exe > Opens Windows 2000 Notepad 记事本
  nslookup.exe > Displays information for DNS 该诊断工具显示来自域名系统 (DNS)
  名称服务器的信息。
  ntbackup.exe > Opens the NT Backup Utility 备份和故障修复工具
  ntbooks.exe > Starts Windows Help Utility 帮助
  ntdsutil.exe > Performs DB maintenance of the ADSI 完成ADSI的DB的维护
  ntfrs.exe > NT File Replication Service NT文件复制服务
  ntfrsupg.exe >
  ntkrnlpa.exe > Kernel patch 核心补丁
  ntoskrnl.exe > Core NT Kernel KT的核心
  ntsd.exe >
  ntvdm.exe > Simulates a 16-bit Windows environment 模拟16位Windows环境
  nw16.exe > Netware Redirector NetWare转向器
  nwscript.exe > runs netware scripts 运行Netware脚本
  odbcad32.exe > ODBC 32-bit Administrator 32位ODBC管理
  odbcconf.exe > Configure ODBC driver"s and data source"s from command line 命
  令行配置ODBC驱动和数据源
  taskman.exe > Task Manager 任务管理器
  taskmgr.exe > Starts the Windows 2000 Task Manager 任务管理器
  tcmsetup.exe > telephony client wizard 电话服务客户安装
  tcpsvcs.exe > TCP Services TCP服务
  .exe > Telnet Utility used to connect to Telnet Server
  termsrv.exe > Terminal Server 终端服务
  tftp.exe > Trivial FTP 将文件传输到正在运行 TFTP 服务的远程计算机或从正在运行
  TFTP 服务的远程计算机传输文件
  tftpd.exe > Trivial FTP Daemon
  themes.exe > Change Windows Themes 桌面主题
  tlntadmn.exe > Telnet Server Administrator Telnet服务管理
  tlntsess.exe > Display the current Telnet Sessions 显示目前的Telnet会话
  tlntsvr.exe > Start the Telnet Server 开始Telnet服务
  tracert.exe > Trace a route to display paths 该诊断实用程序将包含不同生存时间
  (TTL) 值的 Internet 控制消息协议 (ICMP) 回显数据包发送到目标,以决定到达目标
  采用的路由
  tsadmin.exe > Terminal Server Administrator 终端服务管理器
  tscon.exe > Attaches a user session to a terminal session. 粘贴用户会话到终端
  对话
  tsdiscon.exe > Disconnect a user from a terminal session 断开终端服务的用户
  tskill.exe > Kill a Terminal server process 杀掉终端服务
  tsprof.exe > Used with Terminal Server to query results. 用终端服务得出查询结
  果
  tsshutdn.exe > Shutdown the system 关闭系统
  unlodctr.exe > Part of performance monitoring 性能监视器的一部分
  upg351db.exe > Upgrade a jet database 升级Jet数据库
  ups.exe > UPS service UPS服务
  user.exe > Core Windows Service Windows核心服务
  userinit.exe > Part of the winlogon process Winlogon进程的一部分
  usrmgr.exe > Start the windows user manager for domains 域用户管理器
  utilman.exe > This tool enables an administrator to designate which computers automatically open accessibility tools when Windows 2000 starts. 指定2000启动时自动打开那台机器
  verifier.exe > Driver Verifier Manager Driver Verifier Manager
  vwipxspx.exe > Loads IPX/SPX VDM 调用IPX/SPX VDM
  w32tm.exe > Windows Time Server 时间服务器
  wextract.exe > Used to extract windows files 解压缩Windows文件
  winchat.exe > Opens Windows Chat 打开Windows聊天
  winhlp32.exe > Starts the Windows Help System 运行帮助系统
  winlogon.exe > Used as part of the logon process. Logon进程的一部分
  winmine.exe > windows Game 挖地雷
  winmsd.exe > Windows Diagnostic utility 系统信息
  wins.exe > Wins Service Wins服务
  winspool.exe > Print Routing 打印路由
  winver.exe > Displays the current version of Windows 显示Windows版本
  wizmgr.exe > Starts Windows Administration Wizards Windows管理向导
  wjview.exe > Command line loader for Java 命令行调用Java
  wowdeb.exe > . For starters, the 32-bit APIs require that the WOWDEB.EXE tas
  k runs in the target debugee"s VM 启动时,32位API需要
  wowexec.exe > For running Windows over Windows Applications 在Windows应用程序
  上运行Windows
  wpnpinst.exe > ?
  write.exe > Starts MS Write Program 写字板
  wscript.exe > Windows Scripting Utility 脚本工具
  wupdmgr.exe > Starts the Windows update Wizard (Internet) 运行Windows升级向导
  xcopy.exe > 复制文件和目录,包括子目录    

ipconfig /all——当使用all选项时,ipconfig能为dns和wins服务器显示它已配置且所要使用的附加信息(如ip地址等),并且显示内置于本地网卡中的物理地址(mac)。如果ip地址是从dhcp服务器租用的,ipconfig将显示dhcp服务器的ip地址和租用地址预计失效的日期(有关dhcp服务器的相关内容请详见其他有关nt服务器的书籍或询问你的网管),其输出信息见图6的下半部分。

ipconfig /release和ipconfig /renew——这是两个附加选项,只能在向dhcp服务器租用其ip地址的计算机上起作用。如果你输入ipconfig /release,那么所有接口的租用ip地址便重新交付给dhcp服务器(归还ip地址)。如果你输入ipconfig /renew,那么本地计算机便设法与dhcp服务器取得联系,并租用一个ip地址。请注意,大多数情况下网卡将被重新赋予和以前所赋予的相同的ip地址。

如果你使用的是windows 95/98,那么你应该更习惯使用winipcfg而不是ipconfig,因为它是一个图形用户界面,而且所显示的信息与ipconfig相同,并且也提供发布和更新动态ip地址的选项 如果你购买了windows nt resource kit(nt资源包),那么windows nt也包含了一个图形替代界面,该实用程序的名字是wntipcfg,和windows 95/98的winipcfg类似。

arp(地址转换协议)

arp是一个重要的tcp/ip协议,并且用于确定对应ip地址的网卡物理地址。实用arp命令,你能够查看本地计算机或另一台计算机的arp高速缓存中的当前内容。此外,使用arp命令,也可以用人工方式输入静态的网卡物理/ip地址对,你可能会使用这种方式为缺省网关和本地服务器等常用主机进行这项作,有助于减少网络上的信息量。

按照缺省设置,arp高速缓存中的项目是动态的,每当发送一个指定地点的数据报且高速缓存中不存在当前项目时,arp便会自动添加该项目。一旦高速缓存的项目被输入,它们就已经开始走向失效状态。例如,在windows nt网络中,如果输入项目后不进一步使用,物理/ip地址对就会在2至10分钟内失效。因此,如果arp高速缓存中项目很少或根本没有时,请不要奇怪,通过另一台计算机或路由器的ping命令即可添加。所以,需要通过arp命令查看高速缓存中的内容时,请最好先ping 此台计算机(不能是本机发送ping命令)。

常用命令选项:

arp -a或arp -g——用于查看高速缓存中的所有项目。-a和-g参数的结果是一样的,多年来-g一直是unix平台上用来显示arp高速缓存中所有项目的选项,而windows用的是arp -a(-a可被视为all,即全部的意思),但它也可以接受比较传统的-g选项。

arp -a ip——如果你有多个网卡,那么使用arp -a加上接口的ip地址,就可以只显示与该接口相关的arp缓存项目。

arp -s ip 物理地址——你可以向arp高速缓存中人工输入一个静态项目。该项目在计算机引导过程中将保持有效状态,或者在出现错误时,人工配置的物理地址将自动更新该项目。

arp -d ip——使用本命令能够人工删除一个静态项目。




看到这里,你也许已经有些累了……其实对于一般用户来说也已经足够——你可以用ipconfig和ping命令来查看自己的网络配置并判断是否正确、可以用netstat查看别人与你所建立的连接并找出icq使用者所隐藏的ip信息、可以用arp查看网卡的mac地址——这些已足已让你丢掉菜鸟的头衔。如果你并不满足,那就“硬着头皮”(下面的内容可能有些枯燥)继续follow me……

tracert

当数据报从你的计算机经过多个网关传送到目的地时,tracert命令可以用来跟踪数据报使用的路由(路径)。该实用程序跟踪的路径是源计算机到目的地的一条路径,不能保证或认为数据报总遵循这个路径。如果你的配置使用dns,那么你常常会从所产生的应答中得到城市、地址和常见通信公司的名字。tracert是一个运行得比较慢的命令(如果你指定的目标地址比较远),每个路由器你大约需要给它15秒钟
tracert的使用很简单,只需要在tracert后面跟一个ip地址或url,tracert会进行相应的域名转换的。tracert一般用来检测故障的位置,你可以用tracert ip在哪个环节上出了问题,虽然还是没有确定是什么问题,但它已经告诉了我们问题所在的地方,你也就可以很有把握的告诉别人——某某出了问题。

route

大多数主机一般都是驻留在只连接一台路由器的网段上。由于只有一台路由器,因此不存在使用哪一台路由器将数据报发表到远程计算机上去的问题,该路由器的ip地址可作为该网段上所有计算机的缺省网关来输入。

但是,当网络上拥有两个或多个路由器时,你就不一定想只依赖缺省网关了。实际上你可能想让你的某些远程ip地址通过某个特定的路由器来传递,而其他的远程ip则通过另一个路由器来传递。

在这种情况下,你需要相应的路由信息,这些信息储存在路由表中,每个主机和每个路由器都配有自己独一无二的路由表。大多数路由器使用专门的路由协议来交换和动态更新路由器之间的路由表。但在有些情况下,必须人工将项目添加到路由器和主机上的路由表中。route就是用来显示、人工添加和修改路由表项目的。

一般使用选项:

route print——本命令用于显示路由表中的当前项目,在单路由器网段上的输出结果如图12,由于用ip地址配置了网卡,因此所有的这些项目都是自动添加的。

route add——使用本命令,可以将信路由项目添加给路由表。例如,如果要设定一个到目的网络209.98.32.33的路由,其间要经过5个路由器网段,首先要经过本地网络上的一个路由器,器ip为202.96.123.5,子网掩码为255.255.255.224,那么你应该输入以下命令:

route add 209.98.32.33 mask 255.255.255.224 202.96.123.5 metric 5

route change——你可以使用本命令来修改数据的传输路由,不过,你不能使用本命令来改变数据的目的地。下面这个例子可以将数据的路由改到另一个路由器,它采用一条包含3个网段的更直的路径:

route add 209.98.32.33 mask 255.255.255.224 202.96.123.250 metric 3

route delete——使用本命令可以从路由表中删除路由。例如:route delete 209.98.32.33


nbtstat

nbtstat(tcp/ip上的netbios统计数据)实用程序用于提供关于关于netbios的统计数据。运用netbios,你可以查看本地计算机或远程计算机上的netbios名字表格。

常用选项:

nbtstat -n——显示寄存在本地的名字和服务程序

nbtstat -c——本命令用于显示netbios名字高速缓存的内容。netbios名字高速缓存用于寸放与本计算机最近进行通信的其他计算机的netbios名字和ip地址对。

nbtstat -r——本命令用于清除和重新加载netbios名字高速缓存。

nbtstat -a ip——通过ip显示另一台计算机的物理地址和名字列表,你所显示的内容就像对方计算机自己运行nbtstat -n一样

nbtstat -s ip——显示实用其ip地址的另一台计算机的netbios连接表。

net

net命令有很多函数用于实用和核查计算机之间的netbios连接。这里我只介绍最常用的两个:net view和net use。

net view unc——运用此命令,你可以查看目标服务器上的共享点名字。任何局域网里的人都可以发出此命令,而且不需要提供用户id或口令。unc名字总是以\\开头,后面跟随目标计算机的名字。例如,net view \\lx就是查看主机名为lx的计算机的共享点(见图15)。

net use 本地盘符 目标计算机共享点——本命令用于建立或取消到达特定共享点的映像驱动器的连接(如果需要,你必须提供用户id或口令)。例如,你输入net use f: \\lx\mp3就是将映像驱动器f:连接到\\lx\mp3共享点上,今后你直接访问f:就可以访问\\lx\mp3共享点,这和你右击“我的电脑”选择映射网络驱动器类似。