<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:wfw="http://wellformedweb.org/CommentAPI/">
  <id>http://kill2266.pixnet.net/blog</id>
  <title><![CDATA[紫雲櫻的筆記本:: 痞客邦 PIXNET ::]]></title>
  <author>
    <name>kill2266</name>
    <email>kill2266@not-valid.com</email>
  </author>
  <updated>2008-10-09T20:40:08+08:00</updated>
  <published>2008-10-09T20:40:08+08:00</published>
  <link rel="self" href="http://kill2266.pixnet.net/blog" hreflang="zh"/>
  <subtitle><![CDATA[這是我的筆記本~
如果有需要就請自行取用囉!
如果有侵犯到著作權的~
請告訴我~
我會把它拿掉的~]]></subtitle>
  <rights>Copyright 2003-2009 kill2266,Pixnet Digital Media Coporation. All rights reserved.</rights>
  <generator>PIXNET Media Digital Coporation</generator>
  <entry xmlns:wfw="http://wellformedweb.org/CommentAPI/">
    <id>http://kill2266.pixnet.net/blog/post/22057229</id>
    <title><![CDATA[筆記-1]]></title>
    <updated>2008-10-09T20:40:08+08:00</updated>
    <link rel="alternate" href="http://kill2266.pixnet.net/blog/post/22057229"/>
    <summary><![CDATA[常見網管指令別 arp&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; &lt;= MAC nbtstat&nbsp; &nbsp;&nbsp; &lt;= Net BIOS netstar&nbsp;&nbsp;&nbsp;&nbsp; &lt;= tracert&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&lt;= test routing pathping&nbsp;&nbsp;&lt;= teat router (-nmsw) ipconfig&nbsp;&nbsp;&nbsp; &lt;= MAC aderass(XP) winipcfg&nbsp;&nbsp; &lt;= MAC aderass(95/98/me) look UP&nbsp;&nbsp;&nbsp; &lt;= &nbsp; Hinet KH router 168.95.37.26 220.128.25.158 220.128.25.161 220.128.25.169 Hinet Web Sever 61.219.38.89 東方技術學院 學生伺服 163.15.220.170 211.22.224.73 211.75.253.129 &nbsp;]]></summary>
    <content type="html"><![CDATA[<P>常見網管指令別</P> <P>arp&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; &lt;= MAC</P> <P>nbtstat&nbsp; &nbsp;&nbsp; &lt;= Net BIOS</P> <P>netstar&nbsp;&nbsp;&nbsp;&nbsp; &lt;=</P> <P>tracert&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&lt;= test routing</P> <P>pathping&nbsp;&nbsp;&lt;= teat router (-nmsw)</P> <P>ipconfig&nbsp;&nbsp;&nbsp; &lt;= MAC aderass(XP)</P> <P>winipcfg&nbsp;&nbsp; &lt;= MAC aderass(95/98/me)</P> <P>look UP&nbsp;&nbsp;&nbsp; &lt;=</P> <P>&nbsp;</P> <P>Hinet KH router</P> <P>168.95.37.26</P> <P>220.128.25.158</P> <P>220.128.25.161</P> <P>220.128.25.169</P> <P>Hinet Web Sever</P> <P>61.219.38.89</P> <P>東方技術學院</P> <P>學生伺服 163.15.220.170</P> <P>211.22.224.73</P> <P>211.75.253.129</P> <P>&nbsp;</P>  <div class="more"><a href="http://kill2266.pixnet.net/blog/post/22057229">(Read More...)</a></div>]]></content>
    <category term="No Category"/>
    <wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://kill2266.pixnet.net/blog/post/22057229#comments</wfw:comment>
  </entry>
  <entry xmlns:wfw="http://wellformedweb.org/CommentAPI/">
    <id>http://kill2266.pixnet.net/blog/post/21476776</id>
    <title><![CDATA[Linux,117-101]]></title>
    <updated>2008-08-18T07:43:57+08:00</updated>
    <link rel="alternate" href="http://kill2266.pixnet.net/blog/post/21476776"/>
    <summary><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Exam : 117-101Title : General Linux, Part 1Ver : 08.26.05117-101Actualtests.com - The Power of KnowingQUESTION 1Which file holds information about the IRQ channels in use:Answer: /proc/interruptsExplanation: /proc/interrupts holds IRQ channels. /proc/ioports holds I/O memory addresses./proc/dma holds DMA channels.QUESTION 2Which file holds information about the I/O addresses in use:Answer: /proc/ioportsExplanation: /proc/interrupts holds IRQ channels. /proc/ioports holds I/O memory addresses./proc/dma holds DMA channels.QUESTION 3What is the IO Address of the second serial portAnswer: 02f8Answer: 02F8Answer: 02F8hAnswer: 02f8hAnswer: 2f8Answer: 2F8Answer: 2f8hAnswer: 2F8hQUESTION 4COM2 normally uses what I/O port and IRQ combination?A. 03F8 4B. 02F8 3C. 03E8 4D. 02E8 3Answer: BQUESTION 5What is the IRQ of COM2?Answer: 3QUESTION 6To set up a connection to your ISP via your modem, what should you do (choose all that apply):A. configure the dialerB. configure the PPP settingsC. configure the pppd daemonD. configure the PPTP settingsAnswer: A,B,CExplanation: As described in Debian's support document, there are actually two parts to setting up aconnection to your ISP. You have to configure the dialer (the chat program), and the PPP (Point-to-PointProtocol) settings (the pppd daemon). PPP is the protocol that modems use to communicate over a seriallink. (PPP is a powerful protocol that is also often used when connecting distant routers over dedicatedleased lines.)QUESTION 7The modem speed setting of _________ may be too high only if your computer doesn't have a 16550 UARTchip.A. 115200B. 56700C. 38400D. 28800Answer: AExplanation: As described in Debian's support document, the speed setting of 115200 may be too highonly if you have a 486 computer that doesn't have a 16550 UART chip. If you're using a 486 and not sureof the UART, play it safe and set the speed to 56700 instead. Exit the ee editor saving the file.QUESTION 8You wish to configure your soundcard. Type in the name of the Red Hat text/gui application that allowsyou to set/autodetect the sound card?Answer: sndconfigQUESTION 9For isapnp to successfully detect your sound card, your system must:A. have a kernel with the OSS sound modules readyB. have a sound card chip with the OSS sound modules readyC. have the on board sound module disabledD. None of the choices.Answer: AExplanation: Sndconfig uses isapnp to detect common soundcards and writes a isapnp configuration toand module control lines for use with your sound card. It requires a kernel with OSS sound modules tobe present.QUESTION 10What is used by Sndconfig to detect common soundcards (choose all that apply):A. isapnpB. pcipnpC. usbpnpD. None of the choices.Answer: AExplanation: Sndconfig uses isapnp to detect common soundcards and writes a isapnp configuration toand module control lines for use with your sound card. It requires a kernel with OSS sound modules tobe present.QUESTION 11What Linux utility allows you to easily configure your Sound Blaster card on Linux?A. SndconfigB. SoundConfC. UsrconfD. SysconfAnswer: AExplanation: Sndconfig is a utility that lets you configure your soundcard easily. It was written originallyfor RedHat Linux, but now it is available for Debian GNU/Linux, too.QUESTION 12Sndconfig was written originally for which Linux distribution?A. RedHatB. SuSEC. DebianD. CorelAnswer: AExplanation: Sndconfig is a utility that lets you configure your soundcard easily. It was written originallyfor RedHat Linux, but now it is available for Debian GNU/Linux, too.QUESTION 13Which of the following modems cannot be used on linux systemsA. ISDN TAB. Cable modemsC. Analogue modemsD. PCI modemsE. Win modemsAnswer: EQUESTION 14You have an old computer that you have set up to connect to the Internet with an external 56K modembut are unable to establish a connection of greater than 9600bps.What is the most likely source of the problem?A. Winnmodems are not supported in Linux.B. The UART is not capable of handling more than 9600bps.C. The serial port is not recognized by the kernel.D. The modem is not configured to use the correct IRQ.Answer: BQUESTION 15The _____ daemon is needed to establish a PPP link to another computer?Answer: pppdQUESTION 16Which of the following is the ppp configuration file?A. /etc/ppp/peers/providerB. /etc/ppp/ providerC. /etc/peers/pppD. /ppp/peers/providerAnswer: AExplanation: As described in Debian's support document, /etc/ppp/peers/provider is the pppconfiguration file. You edit it by typing in:cd /etc/ppp/peers&lt;ee providerQUESTION 17Your system allows only two serial ports to be active. You want to setup an internal ISA modem. Currently theserial port 1 is used by a mouse. What should you do?A. disable the second serial port in the BIOS and set the modem up to take its place.B. enable the second serial port in the BIOS and set the modem up without a port.C. disable the second serial port in the BIOS and set the modem up to run as port 3.D. None of the choices.Answer: AExplanation: As described in Debian's support document, newer systems will come with either one or twoserial ports which are built into the motherboard. These are typically 9-pin male connectors on the backof the PC. You can simply connect an external modem to one of these. If you add an internal modem tothe system it has to be set up as the next serial port (for example number 3 in a system that has two ofthem built in). Or, if you system BIOS allows it, you could disable the second serial port and set themodem up to take its place.QUESTION 18Which of the following modems are not supported by Linux (choose all that apply):A. winmodemB. 28.8K modemC. 33.6K modemD. 56K modemAnswer: AExplanation: As described in Debian's support document, make sure your modem is not a &quot;winmodem&quot;(a stripped-down modem that's controlled through a Windows software driver). Second, if at all possibleget yourself an external modem. An external non-winmodem modem presents a lot less headaches tryingto be PCI bus modems (which present driver issues), or they have to be set up via software - softwarewhich is usually only available for Windows.QUESTION 19What command should you use to find out the version of the pppd daemon you're using (fill in the blank):Answer: pppd -vAs described in Debian's support document, knowing the version of the pppd daemon you're using cansometimes be useful. While pppd doesn't have a command-line parameter to show the version, using the -vparameter does work because it's seen as an invalid parameter and, as such, causes the help screen to appear.QUESTION 20What is the name of the point to point protocol daemon that is used when connecting with a modem?Answer: pppdQUESTION 21What program is needed to establish a PPP link to another computer?A. pppdB. wvdialC. papdD. kpppAnswer: BQUESTION 22A typical I/O address for a sound card is:A. IRQ 7B. 0x220C. 27210D. COM2E. 0xd800Answer: BQUESTION 23How many devices excluding the controller can be on an 8 bit SCSI card?A. 6B. 8C. 9D. 16E. 7Answer: EQUESTION 24How many devices can be installed on a 16 bit SCSI excluding the controller?A. 8B. 10C. 12D. 16E. 15Answer: EQUESTION 25You have a SCSI system with five SCSI hard disks. You add another SCSI har disk to your system andthe system no longer boot, nor is the bootloader loaded.What is the most likely cause of this problem?A. There are too many devices on the chain.B. The boot disk needs a different SCSI ID,C. The new disk is conflicting with the SCSI adapter.D. The new SCSI drive is conflicting with the IDE boot drive.E. The new SCSI drive needs a different SCSI ID.Answer: EQUESTION 26Which of the following most likely represents a SCSI connector?A. AB. BC. CD. DE. EAnswer: CQUESTION 27Which of the following opens the specified SCSI device file and retrieves its actual SCSI address parameters?A. Scsi_infoB. Scsi_devC. ScsiinfoD. Scsi_confAnswer: AExplanation: Scsi_info opens the specified SCSI device file, and retrieves its actual SCSI addressparameters. It also looks up the device in /proc/scsi/scsi and retrieves the device's vendor information, ifavailable. Its output is a pair of Bourne-style shell commands to define the SCSI_ID and MODELvariables based on this information. The SCSI_ID variable has three comma-separated fields: the SCSIchannel number, the device ID, and the logical unit number. In most cases, the channel and logical unitwill be 0.QUESTION 28Scsi_info looks up the device in which file?A. /proc/scsi/scsiB. /proc/scsi/scsi_infoC. /proc/scsi_info/scsiD. /scsi/scsiAnswer: AExplanation: Scsi_info opens the specified SCSI device file, and retrieves its actual SCSI addressparameters. It also looks up the device in /proc/scsi/scsi and retrieves the device's vendor information, ifavailable. Its output is a pair of Bourne-style shell commands to define the SCSI_ID and MODELvariables based on this information. The SCSI_ID variable has three comma-separated fields: the SCSIchannel number, the device ID, and the logical unit number. In most cases, the channel and logical unitwill be 0.QUESTION 29Which of the following commands may be used to view PCI devices seen by the Linux kernel? (Choose two)A. less lspciB. less /dev/pciC. less /proc/pciD. less /proc/devices/pciE. lspci | lessAnswer: C, EQUESTION 30The lspci command can display information about devices except the following:A. Card bus speed (e.g. 66Mhz)B. Card IRQ settingsC. Card vendor identificationD. Card AGP rate (e.g. 1x, 2x, 4x)E. Card Ethernet MAC addressAnswer: EQUESTION 31What is the device file and full path for the LPT1 port?Answer: /dev/lp0QUESTION 32Which IRQ is normally dedicated to the second printer port on a PC?A. LPT1B. LPT2C. IRQ5D. IRQ11E. DMA 330Answer: CQUESTION 33Type in just the numeral of the IRQ most likely to conflict on a system that has both a sound card andsecond LPT port.Answer: 5QUESTION 34The first com port on your PC is represented by:A. /dev/ttyS0B. /dev/ttyS1C. /dev/ttySaD. /dev/ttySAAnswer: AQUESTION 35What is the full path and filename of the LPT2 port?Answer: /dev/lp1QUESTION 36DNS provides ________ to IP address mappings.A. NETBIOS nameB. host nameC. MAC addressAnswer: BQUESTION 37Which of the following Linux packages can be used for web caching?A. qmailB. squidC. apacheD. sambaAnswer: BQUESTION 38You just added another supported PCI Network Interface Card (NIC) to your PC, but are not able toactivate it in Linux. Using tools available in Linux operating systems, you notice that the NIC is not seenby the kernel. What is most likely to be the source of the problem?A. The NIC is not seen within /proc/pci.B. Resource conflicts are not allowing NIC be initialized.C. You have not made the appropriate entries to /proc/interrupts and /proc/ioportsD. You did not turn off &quot;PnP OS&quot; in the PC BIOS.E. The NIC is conflicting with the video adapter.Answer: BQUESTION 39The following are all true about the setserial command except:A. setserial can display the IRQ of a serial portB. setserial can configure the IRQ of a hardware deviceC. setserial can configure the IRQ of a software driverD. setserial can display the UART type of the serial deviceE. setserial can &quot;autoconfig&quot; serial portsAnswer: BQUESTION 40What is the variable name that holds the terminal capabilities variable, which is usually set to vt100?Type the variable exactly as it would be used at the command line.Answer: $TERMQUESTION 41Type in the device file including path for the second serial port.Answer: /dev/ttyS1QUESTION 42Type in the device file and full path to first serial port.Answer: /dev/ttyS0QUESTION 43Type in the IO address of device /dev/ttyS3Answer: 02e8Answer: 02e8hAnswer: 02E8hAnswer: 02E8Answer: 2e8Answer: 2E8QUESTION 44You have a USB storage device that you cannot get working. You have enabled all appropriate USBoptions in the latest 2.2 kernel but still cannot get your device working.What is the most likely cause of the problem?A. You have not configured your usb.usermap properly.B. You are using the wrong kernel for this type of device.C. The USB device is not USB 2.O compliant.D. There is a USB resource conflict.Answer: BQUESTION 45You are running Linux 2.0.36 and you need to add a USB mouse to your system. Which of the followingstatements is true?A. You need to rebuild the kernel.B. You need to upgrade the kernel.C. You need to load the USB modules for your existing modular kernel.D. USB support is no available in Linux.Answer: CQUESTION 46The ________ partition is used for virtual memory.Answer: swapQUESTION 47Type in the variable name that controls the size of the command line history. (Type the variable as itwould be used on the command line.)Answer: $HISTSIZEQUESTION 48Type in the Variable name of the variable that stores the location of the command line history file. (Typethe variable as it would be used on the command line.)Answer: $HISTFILEQUESTION 49You are building a system administration shell script and always want a particular line to read a filenamed Certkiller 1.txt that exists in the home directory of every user, regardless of who the user is. Whatwould be the full path including the filename for this file, for the current user?Answer: ~/ Certkiller 1.txtAnswer: $HOME/ Certkiller 1.txtQUESTION 50Type in the file name and full path of the configuration file where you would set the variable HISTSIZEfor all users of the system.Answer: /etc/profileQUESTION 51Type only the name of the file or utility will show you the last system bootup messages.Answer: dmesgQUESTION 52What does the Filesystem Hierarchy Standard enable? (Select TWO answers)A. Software to predict the location of installed files and directoriesB. Software to predict the ownership and access rights of installed files and directoriesC. Users to predict the location of installed files and directories.D. Users to predict how the filesystem should be formatted according to need.Answer: A, CQUESTION 53You have a machine which serves 100 users. You don't want to include their data in the location database.Where would you specify excluded directories for locate?A. /etc/locate.confB. .locatercC. /etc/updatedb.confD. /etc/exclude_dirAnswer: DQUESTION 54Identify the proper device for the third partition, on the second hard disk, on the first IDE controller ona PC system.A. /dev/hdb3B. /dev/hd1b3C. /dev/hdc1b3D. /dev/hdc1d2p3Answer: AQUESTION 55You want to limit the amount of disk space ordinary users can have to 5 MB per user in /var/spool/mailand 10MB per user in /home, using quota. What steps do you need to take when partitioning the harddrive?A. Make a partition for /var/spool/mail and another one for /home.B. Use qfdisk instead of fdisk to create the partitions and activate quotas.C. No special steps are required. /var/spool/mail and /home can be a part of the / partition.D. Make one partition for both /home, then later on add a symlink for /var/spool/mail that points to thatpartition.E. Use fdisk to make partitions for /var/spool/mail and /home, then use the &quot;u&quot; option to turn on per-user quotasAnswer: AExplanation: You must use different partitions to do that.QUESTION 56You have just upgraded your PC to a 60 gigabyte IDE drive. While partitioning the drive, you notice thatonly 32 gigabytes are available. Which of the following will most likely allow you to use the entire drive?A. Create two smaller partitions of 30 gigabytes each.B. Set the PC BIOS to use LBA mode.C. Create a partition that resides entirely below the first 1024 cylinders.D. Use GRUB or the latest version of LILO as a bootloader.E. Upgrade the PC BIOS to the latest version available.Answer: EQUESTION 57On an ext2 partition, what portion is reserved for the root user?A. 100 cylindersB. No less than 500 blocksC. NoneD. 5%E. 1/32nd of the total spaceAnswer: DQUESTION 58You have a Linux system with a 100GB ext2 partition containing large amounts of data. To minimize theboot time, you decide to convert it to a journaling filesystem.Which journaling file system would be easiest to convert the partition to (without destroying existing data)?A. resiserfsB. vfatC. ext3D. xfsAnswer: CQUESTION 59Tamika is planning the partition table for her new workstation. Assuming she will give each of thefollowing directories its own partition, which partition should be the largest?A. /usrB. /libC. /rootD. /binAnswer: AQUESTION 60You have run out of disk space on a partition. Which of the following would be an easy way to move datato a new partition without reconfiguring the path to the data in existing applications?A. Run ext2fs ACL.B. Use a hard link.C. Use a symbolic link.D. Use the loopback device.E. Create a block device offset.Answer: CQUESTION 61To build a fresh new Linux system, how much free space should you reserve for the Linux partition?A. 100 - 200MBB. 200 - 300MBC. 300 - 400MBD. 700 - 800MBAnswer: DExplanation: According to the technical information available at Linux From Scratch Ver 3.0, Before wecan build our new Linux system, we need to have an empty Linux partition on which we can build ournew system. I recommend a partition size of at least 750 MB. This gives enough space to store all thetarballs and to compile all packages without worrying about running out of the necessary temporary diskspace. But you probably want more space than that if you plan to use the LFS system as your primaryLinux system.QUESTION 62Which directory is used to store undelivered user email by default?A. /var/spool/sendmail/usermailB. /var/spool/mailC. /var/spool/mailqueueD. /var/spool/sendmail/usernameE. /var/mail/sendmail/usernameAnswer: BQUESTION 63What would be the device name of the 2nd SCSI disk on your system? Include the full path to the devicefileAnswer: /dev/sdbQUESTION 64What is the device file for the first logical drive in the extended partition of the Secondary Master IDEdrive? Include the full path and filename.Answer: /dev/hdc5QUESTION 65Which of the following directories would be the least likely to need backing up? Choose Two.A. /usrB. /etcC. /homeD. /tmpE. /swapAnswer: D, EQUESTION 66With a Linux 2.2 Kernel-based machine configuration of 133 MHZ, 32 MB RAM and a 1 GB HD, howmuch swap should be configured?A. 512MBB. 256MBC. 128MBD. 64MBE. 32MBAnswer: DQUESTION 67Which of the following file system types causes the least impact when upgrading an Ext2 file system?A. Ext3B. ReiserFSC. JFSD. XFSE. VFSAnswer: AQUESTION 68According to the Filesystem Heirarchy Standard, what directory trees are considered optional on asystem's root filesystem? Choose all that apply.A. /mntB. /rootC. /usrD. /varE. /optAnswer: C, D, EQUESTION 69When partitioning a disk with more than 1024 cylinders, which of the following could affect the systemsability to boot?A. Location of LILO on diskB. Location of /boot on diskC. Location /var on diskD. Disk transfer rate117-101Actualtests.com - The Power of KnowingE. Disk seek timeAnswer: BQUESTION 70Which of the following is a typical rule for allocating swap space for a Linux installation?A. Use 25% of available drive space for a swap partition.B. Use 10% of available drive space for a swap partition.C. Use 50% of total RAM for the size of a swap partition.D. Use 200% of total RAM for the size of a swap partition.E. Use 128MB on each hard disk in the system for swap.Answer: DQUESTION 71You are building a server that will undergo many hardware and operating system upgrades. The serveris the file server for all users on your 100 user network.Which directory should have its own mountpoint and/or hard drive?A. /bootB. /sbinC. /homeD. /etcAnswer: CExplanation: OR /DEV if avaliable choice.QUESTION 72You want to uninstall lilo. Which of the following would you do to accomplish this?A. lilo -uB. remove liloC. uninstall liloD. lilo -rAnswer: AQUESTION 73You want to set a 30 second delay before your system boots to the default kernel.Which of the following command lines would do this?A. lilo -t 30B. lilo -d 30C. lilo delay 30117-101Actualtests.com - The Power of KnowingD. lilo 30Answer: BQUESTION 74Which lilo.conf parameter will specify the amount of time the system will wait before booting to thedefault image?A. waitB. delayC. pauseD. defaultAnswer: BQUESTION 75What lilo option will list the name and location of available kernels?A. -qB. -kC. -vD. -lAnswer: AQUESTION 76What lilo.conf parameter is used to specify vga text mode?A. vgatextB. svgaC. vgaD. vtmAnswer: CQUESTION 77You want to set a script to run when your Linux system reboots. What lilo option should you use?A. -RB. -SC. -TD. -LAnswer: AQUESTION 78You have a system that uses LILO from the Master Boot Record. You have just recompiled a new kernel.You already have a backup kernel setup to boot from LILO so you overwrite your existing kernel withnew kernel image using the same name and location. When you reboot, you find the system does not boot.What is likely to be the problem?A. The new kernel image is above the 1024 cylinder and therefore cannot be loaded.B. You did not update your /etc/lilo.conf file to boot the new kernel.C. You need to boot the new kernel with a boot floppy to restore the old kernel.D. You reboot before re-installing LILO in the Master Boot Record.Answer: AQUESTION 79Where can lilo place boot code?A. The boot ROMB. The boot RAMC. The /boot partitionD. The MBR on a hard driveAnswer: DQUESTION 80From the LILO: or Boot: prompt you wish to start the kernel named linux and set the machine at runlevel 1. Type the command line to do this?Answer: linux 1Answer: linux sAnswer: linux SAnswer: linux singleQUESTION 81What lilo.conf parameter will cause the root file system to be mounted read only?A. no-writeB. readC. no-rightD. read-onlyAnswer: DQUESTION 82What lilo.conf parameter is used to specify what device should be mounted as root by default?A. rootB. driveC. mntrootD. mountAnswer: AQUESTION 83What run level represents basic multi-user?A. 2B. 0C. 1D. 5Answer: AQUESTION 84What command be used to find the systems previous run level?A. runlevelB. levelC. rlevel previousD. show level previousAnswer: AQUESTION 85What run level represents multi-user?A. 3B. 0C. 1D. 5Answer: AQUESTION 86Which of the following can be used to switch your system to run level 3?A. init 3B. rlevel 3C. level 3D. inittab 3Answer: AQUESTION 87What run level represents a system reboot?A. 6B. 1C. 2D. 5Answer: AQUESTION 88What run level represents a power down?A. 5B. 0C. 1D. 4Answer: BQUESTION 89What run level represents administration mode?A. 0B. 1C. 6D. 5Answer: BQUESTION 90Which of the following can be used to switch your system to run level 1?A. init 1B. inittab 1C. rlevel 1D. level 1Answer: AQUESTION 91What command can be used to find the current run level?A. runlevelB. levelC. show levelD. rlevelAnswer: AQUESTION 92Linux is a(n) _________ operating system, meaning the source code is freely available.A. Open sourcedB. User licensedC. Closed sourceD. Open binaryAnswer: AQUESTION 93You have compiled a program from source successfully, buy you are getting permission errors when youtry to install the binaries.What is most likely the problem?A. Both rpm and dpkg need to be run as root.B. You have the wrong permissions set on the /usr/bin directory.C. The wrong prefix was used during the configuration or was not properly defined for the compile stage.D. The binaries need to be installed into directories that need root privileges to write to them.Answer: DQUESTION 94Which utility would be used to verify the checksum of a downloaded archive file?A. verifyB. chksumC. md5sumD. chkrpmE. pkgchkAnswer: CQUESTION 95Which steps are necessary to compile and install a source code program? Choose the least amountpossible.A. Extract sourceB. edit makefileC. ./configureD. makeE. make installAnswer: A, C, D, EQUESTION 96Which command cannot normally be executed by a non-root user when compiling an application?A. makeB. makefileC. ./configureD. make installAnswer: DQUESTION 97Which of the following contains typical targets of a Makefile?A. Prefix, exec_prefix, bindir, mandirB. CFLAGS, CPPFLAGS, LIBS, LDFLAGSC. PATHS, DESTDIR, MANPAGES, CONFIGFILESD. clean, test, install, uninstallAnswer: BQUESTION 98The command for most applications to install compiled source via the Makefile is:A. makeB. installC. configureD. make dependE. make installAnswer: EQUESTION 99You are installing a program that is only available as source code. Which of the following commandswould be best to add system specific configuration information such as the default installation directory?A. ./makeB. ./installC. ./makefileD. ./configureAnswer: DQUESTION 100Which of the following is very important when installing from source code (Check TWO that apply)?A. Read all documentation included with the source code.B. Reboot after installing all programs.C. Manually check to see if all dependencies are met.D. Use rpm or dpkg go verify the installation.E. Do not install binaries as the root user.Answer: A, CQUESTION 101The command for most applications to install compiled source via the Makefile is _____.A. Makefile installB. Make installC. ./installD. install makefileAnswer: BQUESTION 102Which of the following switches can be used with the tar command to find out the difference between twotar files?A. -cB. -vC. -dD. -tAnswer: CQUESTION 103What operation of the make utility cannot normally be performed as a normal user?A. mrproperB. cleanC. depD. dependsE. installAnswer: EQUESTION 104Type the simplest command with switches to unpack a compressed archive named file1.tar.gz?Answer: tar -zxf file1.tar.gzAnswer: tar zxf file1.tar.gzAnswer: tar xzf file1.tar.gzAnswer: tar -xzf file1.tar.gzQUESTION 105You want to add files to a previously created tar file. You want to replace existing files with newer files,how can you do this?A. Use the append commandB. Use the tar command with the -t switchC. Use the add commandD. Use the tar command with the -u switchAnswer: DQUESTION 106You want to add information to a previously created tar file. How would you do this?A. Use the tar command with the -a switchB. Use the append commandC. Use the add commandD. Use the tar command with the -r switchAnswer: DQUESTION 107You want to find out what files are contained in a tar file. How would you do this?A. Use the tar command with the -t switchB. Use the tar command with the -r switchC. Use the grep commandD. Use the find commandAnswer: AQUESTION 108Which of the following commands can be used to extract a tar file?A. tar -vfB. tar -xvfC. tar -eD. tar -vAnswer: BQUESTION 109Which of the following commands can be used to create a tar archive file in verbose mode?A. tar -vB. tar -cvfC. tar -cD. tar -vfAnswer: BQUESTION 110Type in the command line to upgrade a package using the apt-get command. The package name ispackage1.Answer: apt-get upgrade package1QUESTION 111Type in the command to update the apt-get database with new or updated packages.Answer: apt-get updateQUESTION 112What is the location including the full path to where apt-get stores its downloaded packages?Answer: /var/cache/apt/archivesQUESTION 113Which system administration command you can use to update ld.so.cache after the installation of newshared libraries?A. ldconfigB. lddC. libpathD. newlibsAnswer: AQUESTION 114Which utility can you call to find out what shared libraries a program is using?A. lddB. ld.soC. modprobeD. ldconfigE. ld-linux.soAnswer: AQUESTION 115What is the full path including the filename of the configuration file that stores the locations of all libraryfiles on the system?Answer: /etc/ld.so.confQUESTION 116On boot, your system shows messages that mention library file errors. What command should you type(command only) to attempt to fix the library errors?Answer: ldconfigQUESTION 117What command will display the needed libraries for the program myprog1 to run?Answer: ldd myprog1QUESTION 118What file is read by the program ldconfig?A. /lib/ld.soB. /etc/ld.so.confC. /etc/ld.so.cacheD. /etc/modules.confAnswer: BQUESTION 119What environment variable will set the path for added libraries?A. LD_LIBRARY_PATHB. LIBPATHC. LPATHD. LIBE. None of the aboveAnswer: AQUESTION 120You are preparing a new set of shared libraries in /usr/local/applib and you have written and compiledsome code that uses these libraries. You have already performed and ldconfig, however the system stillcannot find the shared libraries.What is most likely the cause of this?A. You used the wrong compiler.B. Your did not update your PATH variable.C. You compiled the code with wrong library.D. You forgot to put the library path in ld.so.confAnswer: DQUESTION 121What is filename including full path, of the file used to configure library path settings for a system?A. /usr/lib/lib.so.1B. /etc/lib.confC. /etc/ld.so.confD. /usr/lib/modules/modules.confE. None of the aboveAnswer: CQUESTION 122What happens when ldconfig is executed?A. The binary index file (cache) of library locations is rebuiltB. The text index file of library locations is rebuiltC. make is run to rebuild the libraries who's source code has changedD. The disk is scanned for libraries to include in the indexE. Nothing, unless the libraries have been recompiled since ldconfig was last run.Answer: AQUESTION 123You wish to install a debian package using dpkg called debianpackage.deb. Give the simplest commandline to do this.Answer: dpkg -i debianpackage.debAnswer: dpkg --install debianpackage.debQUESTION 124You have a package called debianpkg.deb and wish to convert it to an rpm.Type the command line that will do this for you including switches.Answer: alien -r debianpkg.debAnswer: alien --to-rpm debianpkg.debQUESTION 125Type the command line including switches to convert and install a Redhat package named package.rpmon a Debian system?Answer: alien -i package.rpmAnswer: alien --install package.rpmQUESTION 126What is the correct syntax to remove Certkiller entirely from a Debian System including configurationfiles?A. dpkg -r CertkillerB. dpkg --remove CertkillerC. dpkg --kill CertkillerD. dpkg -R CertkillerE. dpkg --purge CertkillerAnswer: EQUESTION 127What are the default permissions on the Debian /etc/passwd file?A. 644B. 640C. 777D. 700E. 400Answer: AQUESTION 128What are the default permissions on the Debian /etc/shadow file?A. 654B. 640C. 400D. 644E. 540Answer: BQUESTION 129How do you use dpkg to verify the status of an installed package Certkiller pkg? Select two.a) dpkg -s Certkiller pkgb) dpkg -S Certkiller pkgc) dpkg -stat Certkiller pkgd) dpkg --stat Certkiller pkge) dpkg --status Certkiller pkgAnswer: A, EQUESTION 130Which pair of dpkg options are equivalent and what do they do?A. -C and --configure they reconfigure an unpackaged packageB. -C and --clear-avail they erase exisiting information about what packages are availableC. -A and --audit they update information about what packages are availableD. -C and --audit they provide resource consumption information on installed packagesE. -C and --audit they search for partially installed packagesAnswer: EQUESTION 131You wish to install a package named package.deb using the apt-get tool. Type the simplest command lineto do this.Answer: apt-get install package.debQUESTION 132What is the name and full path to the location of the dpkg database?Answer: /var/lib/dpkgQUESTION 133The ______ command is typically used to search files for a specified string.Answer: grepQUESTION 134You need to remove the package Certkiller regardless of dependencies, type the command with switchesthat will do this?Answer: rpm -e Certkiller --nodepsAnswer: rpm -e --nodeps CertkillerQUESTION 135What RPM command would show you detailed information for a package called openssh-3.6.i386.rpm?A. rpm --showinformation openssh-3.6.i386.rpmB. rpm -- showdetails openssh-3.6.i386.rpmC. rpm -qi openssh-3.6.i386.rpmD. rpm -- verify openssh-3.6.i386.rpmAnswer: CExplanation: QI will give you information on the version number, and the author.QUESTION 136After a minor security incident you are instructed by your lead sys-admin to verify the RPM's installedon running system. Which command will create a complete report which you can analyze for changeswhich may be security related?A. .rpm-Va&gt;reportB. rpm-Qavy &gt; reportC. rpm-Vqt-- nomd5&gt;reportD. rpm-checkfiles &gt;reportE. rpm-Va-nofiles &gt; reportAnswer: AQUESTION 137You need to know where all the configuration files for the installed package named &quot;postfix&quot; are located.Assuming it was installed with rpm, which command will list this information for you?A. rpm -qc postfixB. rpm -Vc postfixC. prm --config postfixD. rpm -listconfig postfixE. prm -qa --config postfixAnswer: AQUESTION 138You want to examine the changelog for the installed package &quot;postfix&quot;.Which command will display the changelog?A. rpm -Vc postfixB. rpm -qpil postfixC. rpm --changelog postfixD. rpm -q --changelog postfixE. rpm -qa --changelog postfixAnswer: DQUESTION 139What would the command &quot;rpm --allmatches rpmname&quot; do?A. Remove all packages named allmatchesB. Remove all packages with the package name rpmnameC. Remove all packages regardless of nameAnswer: BQUESTION 140What will happen when the following command is issued?rpm -Uvh fileA. The rpm file will be verifiedB. The installed package will be upgraded with the package in file, with verbose outputC. The installed package may be upgraded with the package called file, giving verbose output and hash marksto show installationD. An error will occur as a package specifier was not included in the command lineAnswer: CQUESTION 141Which RPM command would produce the following outputName : xwhois Relocations: (not relocatable)Version : 0.3.7 Vendor: Jack KingRelease : 1 Build Data: Fri 06 Aug 1999 09:29:07 AM EDTInstall date: (not installed) Build Host: desktop.infohvy.comGroup : Application/Internet Source RPM: (none)Size : 74057 License: GPLPackager : Ryan Weaver &lt;ryanv@ Certkiller .com&gt;URL : http://www.goatnet.ml.org/software.htmlSummary : X Windows Whois ToolDescription: xwhois is a small and fast query tool for the whois service.(rfc954)xwhois-0.3.7.tar.gzxwhois.specA. rpm -qpil xwhois-0.3.7-1.src-rpmB. rpm-qx xwhoisC. rpm-Vf xwhois-0.3.7-1.src.rpmD. rpm-verify xwhois-0.3.7-1.src.rpmE. rpm-showheaders xwhois-0.3.7-1.src.rpmAnswer: AQUESTION 142After a minor security incident you are instructed by your lead sys-admin to verify the RPM's installed on arunning system.Which command will create a complete report which you can analyze for changes which may be securityrelated?A. rpm -Va &gt;reportB. rpm -Qavy &gt;reportC. rpm -Vqt --nomd5 &gt;reportD. rpm --checkfiles &gt;reportE. rpm -Va --nofiles &gt;reportAnswer: AQUESTION 143You are about to install a new program on an RPM based Linux system.Which of the following would be the best way to accomplish this?A. Get the source code in a tarball and install from that source.B. Get a source RPM and use rpm to install it.C. Use rpm to install the program's binaries from an RPM package.D. Use cpi to extract the binaries from a source RPM and use rpm to install those sources.Answer: CQUESTION 144How can you update a package only if an earlier version is currently installed on the system?A. rmp -- update rpmnameB. rpm -U rpmnameC. rpm -F rpmnameD. rpm -- force rpmnameE. rpm -u rpmnameAnswer: CExplanation: Upgrades, but only if the package is currently installed.QUESTION 145Type the shortest command including switches, to remove the installed Redhat Package namedpackagename from the system.Answer: rpm -e packagenameQUESTION 146Type the command line that will list information, and all file locations on the installed packagemypackage?Answer: rpm -qil mypackageAnswer: rpm -qli mypackageQUESTION 147Type the simplest RPM command to list where the package file Certkiller .rpm will install its filesAnswer: rpm -qpl Certkiller .rpmAnswer: rpm -qlp Certkiller .rpmQUESTION 148Type the command line to check the installed package mypackage for any configuration file changessince install?Answer: rpm -V mypackageQUESTION 149What command on an rpm-based system will upgrade any existing packages on a system, but not addany packages? Type just the command and switch(es).Answer: rpm -FQUESTION 150What command on an rpm-based system will upgrade any existing packages on a system, and add anypackages needed? Type just the command and switch(es).Answer: rpm -UQUESTION 151What command can be used to show all variables?A. setB. varlistC. show varD. showAnswer: AQUESTION 152You wish to set your shell options so that the output from a redirect will NOT overwrite an existing file.Type the command including switches.Answer: set -o noclobberQUESTION 153You wish to turn off the shell option that stops you overwriting exisiting files. Type the command in thatwill do this including switches.Answer: set +o noclobberQUESTION 154You have just typed the following three commands and got the following output:prompt&gt; echo $PATH/usr/bin:/usr/local/bin:usr/sbin:opt/kde/binprompt&gt; pwd/home/anna/gamespromt&gt; lsgame1 game2 game3You want to run the program game1, but get the response that it is not found.What did you forget to do?A. To type ./game1 rather than game1.B. To switch the directory /home/anna first.C. To unset your PATH before running the program.D. To set execution permissions for the program game1.Answer: AQUESTION 155What is the name and full path of the file that contains the system wide Environment variables andStartup programs?Answer: /etc/profileQUESTION 156Type in just the name of the command that allows you to edit the command history, and will execute thecontents of the buffer when exited.Answer: fcQUESTION 157You wish to find out more information on a file e.g. Last accessed, Modified changed, Inode. What is thesimplest command that would show this information for a file called tessking?Answer: stat tesskingQUESTION 158Which command will output the exit status of the previous command (a 1 or a 0)?A. echo $?B. echo $1C. echo $EXITD. exitstatusAnswer: AQUESTION 159What 3 letter command will show you the values set by the /etc/profile script file for the entire system?Answer: envQUESTION 160What 3 letter command will show you the values set by the /etc/bashrc script file for the entire system?Answer: setQUESTION 161Your Linux machine has 2 monitors. Your second monitor is configures as the second screen of the firstdisplay. If you want the &quot;netscape&quot; program to be displayed on your second monitor, what commandshould you use before starting netscape?Answer: CQUESTION 162You have a dual-head workstation with two monitors. Your secondary monitor is defined as the secondscreen of the first display. You want to start Mozilla and display its window on the second display. Whichcommand line would you use to achieve this?Answer: AQUESTION 163What two files are used to configure a user's environment that was created with the default options?A. ~/.profile, ~/.bashrcB. /etc/profile, /bashrcC. ~/.bash_profile, ~/.bashrcD. /etc/.login, ~/.loginE. None of the aboveAnswer: CQUESTION 164Which of the following are executed ONLY during a Login session? Select two.A. /etc/profileB. /etc/bashrcC. ~/.bashrcD. ~/.bash_profileE. ~/.bash_logoutAnswer: A, DQUESTION 165Which of the following are executed during a non-login shell? Select three.A. /etc/profileB. /etc/bashrcC. ~/.bash_profileD. ~/.bashrcE. ~/.bash_logoutAnswer: B, D, EQUESTION 166In which file are you likely to find the settings for umask, path, and ulimit on a per user basis?A. /etc/profileB. /etc/bashrcC. ~/.bash_profileD. ~/.bashrcAnswer: CQUESTION 167In Bash, inserting &quot;1&gt;&amp;2&quot; after a command redirectsA. standard error to standard inputB. standard input to standard errorC. standard output to standard errorD. standard error to standard outputE. standard output to standard inputAnswer: CQUESTION 168What three letter command in Bash will display all environment variables?Answer: envQUESTION 169Type in just the name of the default file that the command line history is stored in for a logged in user.Answer: .bash_historyQUESTION 170Type just the name of the file in a normal user's home directory that will set their local user environmentand startup programs on a default Linux system.Answer: .bash_profileQUESTION 171On a default Linux system, what is the name of the file that sets users aliases and functions?Answer: .bashrcQUESTION 172What is the name and full path of the file that contains the system wide aliases and functions for thedefault Linux shell?Answer: /etc/bashrcQUESTION 173What is the name of the file that runs on user logout, usually set to clear the screen?Answer: .bash_logoutQUESTION 174You are in your home directory. You have made changes to your .bash_profile and incorporated amodified PATH variable. Type in the command that will reread the .bash_profile and set the changes youhave made.Answer: source .bash_profileAnswer: .bash_profileQUESTION 175When a user executes the command &quot;ps ax&quot;, what is shown on the console? Choose all that apply.A. Process's user-related informationB. Processes without controlling terminalsC. Processes used by the XFree86 SystemD. All regular processesE. Processes on remote machinesAnswer: B, DQUESTION 176You want to repeat command number 3 inyour history. How would you do this?A. repeat 3B. !3C. show 3D. #3Answer: BQUESTION 177What symbol can be placed at the end of a line to indicate that the command continues on the next line?A. /B. \C.D. |E. :Answer: BQUESTION 178What is the correct format for a proper command in the shell?A. Option Argument CommandB. Command Argument OptionC. Command Option ArgumentAnswer: CQUESTION 179Which of the following will allow both the commands to execute, regardless of their individual exitstatus?A. command1 | command2B. command1 $ command2C. command1 &amp; command2E. command1 ^ command2Answer: DQUESTION 180Which of the following will cause command2 not to execute if command1 fails?A. command1 &amp; command2B. command1 &amp;&amp; command2C. command1 || command2D. command1 | command2Answer: BQUESTION 181How can you execute two commands, the second one being executed only if the first returns a nonzero(program execution failed) exit status?A. command1 || command2B. command1 &amp;&amp; command2C. command1 $$ command2D. command1 @@ command2Answer: AQUESTION 182You want to repeat the last command you entered. How would you do this?A. #B. !!C. #lD. ##Answer: BQUESTION 183You want to view a listing of previously entered commands. What command would you use?A. histB. histfileC. showbuffD. historyAnswer: DQUESTION 184You wish to copy 3 lines down from your cursor position into the and append it to the b buffer. Type thekey combination to do this.Answer: &quot;B3yyQUESTION 185You want to run three commands one after the other, but don't care what exit they had. What commandline would do this?A. cmd1 cmd2 cmd3B. cmd1, cmd2, cmd3C. cmd1: cmd2: cmd3D.Answer: AExplanation:Linux allows you to enter multiple commands at one time. The only requirement is that you separate thecommands with a semicolon.QUESTION 186Type in the command line that will execute cmd2 regardless of exit status of cmd1. Assume thesecommands are on the systems PATH and the command names are cmd1 and cmd2.QUESTION 187What command would execute cmd1 followed by cmd2, regardless of the exit status of cmd1?A. cmd1 cmd2B. cmd1 | cmd2D. cmd1 &amp;&amp; cmd2E. cmd1 || cmd2Answer: CQUESTION 188Which keystrokes will move the cursor 3 lines down and 4 characters to the right?A. 3j4lB. 3k4mC. 3h4jD. 3l4kE. 3m4kAnswer: AQUESTION 189You want to repeat a command that began with the letters 'ab'. How would you do this?A. !abB. list abC. #abD. show abAnswer: AQUESTION 190What option is used with the useradd command to specify the user's home directory?A. -dB. -hC. -uD. -aAnswer: AQUESTION 191What switch is used with the usermod command to change a user's secondary groups?A. -GB. -groupC. -dD. -UAnswer: AQUESTION 192You are adding a new user. You want to create the user's home directory only if the directory does notexist. Which of the following would accomplish this?A. useradd -mB. useradd -h -yC. useradd -uD. useradd -hAnswer: AQUESTION 193You want a user's account to expire in ten days. What option used with the useradd command will allowyou to do this?A. -eB. -uC. -dD. -tAnswer: AQUESTION 194What switch is used with the useradd command to specify a user's initial group?A. -gB. -iC. -uD. -igAnswer: AQUESTION 195What option is used with the useradd command to specify the user's user id?A. -uB. -sC. -uiD. -idAnswer: AQUESTION 196What option is used with the useradd command to specify the user's login shell?A. -sB. -lC. -uD. -shAnswer: AQUESTION 197You want there to be 3 grace days after a password expires before an account becomes disabled. Howwould you do this?A. Use the useradd command with the -f switchB. Check the delay option in user adminC. Edit the user's user.conf fileD. Use the useradd command with the -d switchAnswer: AQUESTION 198Which of the following can be used to change a user's home directory?A. usermod -dB. usermod -hC. usermod -uD. usermod -cAnswer: AQUESTION 199You had a contractor come into your company. You originally set his account to expire after thirty days. Younow need to change this. How can you do this?A. usermod -eB. usermod -aC. usermod -xD. usermod -dAnswer: AQUESTION 200Which of these commands would report how many total accounts (including special accounts) there are?A. count /etc/passwdB. nl /etc/passwd | headC. wc --users /etc/passwdD. wc --lines /etc/passwdE. expand --lines /etc/passwdAnswer: DQUESTION 201What does the following command do?cat '$TEST'A. Displays a bash syntax error message.B. Displays the contents of the file named $TEST if it exists.C. Waits for the user to enter text and then echos the text back.D. Displays the contents of the file named inside the back quotes.E. Displays the contents of the named by the environment variable TEST.Answer: BQUESTION 202file1 and file2 are text files in your local directory.file1 contains this:allanbartceasarfile2 contains this:aliciabeatriceCeciliaWhat would the output of the following command be?tac file1 file2A. allan/ bart/ ceasar/ alicia/ beatrice/ ceciliaB. alicia/ beatrice/ cecilia/ allan/ bart/ ceasarC. alicia/ beatrice/ cecilia/ ceasar/ bart/ allanD. cecilia/ beatrice/ alicia/ ceasar/ bart/ allanE. ceasar/ bart/ allan/ cecilia/ beatrice/ aliciaAnswer: EQUESTION 203Which of the following would copy the file file1.txt to tile2.txt?A. cp file1.txt | file2.txtB. cat file1.txt | file2.txtC. cat file1.txt &gt; file2.txtD. copy file1.txt | file2.txtE. cat | file1.txt |file2.txtAnswer: CQUESTION 204What command would help you identify the I/O address range being used by the network card?A. cat/proc/modulesB. cat/proc/devicesC. cat/proc/meminfoD. cat/io/dmaE. cat/proc/ioportsAnswer: EQUESTION 205Type the command will identify the io address range used by a NIC?Answer: cat /proc/ioportsQUESTION 206What is the result of the following command?# cat 'echo &quot;$ Certkillera) A syntax errorb) The value of $ Certkillerc) cat followed by the value of $ Certkillerd) echo followed by the value of $ Certkillere) echo followed by $ CertkillerAnswer: AQUESTION 207To convert all uppercase letters in stream to lowercase, pipe the stream into which command:A. tr A-Z a-zB. tac A-Z a-zC. sed /A-Z a-zD. sed -tolowerE. conv [A-Z] [a-z]Answer: AQUESTION 208Which of the following command would most likely be used to output a file in reverse? Choose TWOcorrect answers.A. tacB. prC. revD. sedE. backAnswer: A, BQUESTION 209You have a file with the following contents:allanbartceasaraliciabeatricececiliaWhat single command could you use to list the file contents in reverse order? (Include only the commandwithout options or arguments)Answer: tacQUESTION 210You have a file with the following contents:allanbartceasaraliciabeatriceCeciliaWhat single command could you use to list the file contents in reverse order? Please include only thecommand without options or arguments.Answer: tacQUESTION 211What command will easily convert tabs in files to spaces?A. convertB. expandC. trD. sedE. None of the aboveAnswer: BQUESTION 212Which of the following would do the same as the command cat &lt; file1.txt &gt; file2.txt?A. cat &lt; file1.txt file2.txtB. cat file1.txt &gt;file2.txtC. cat &lt;file1.txt | file2.txtD. cat file 1.txt | file2.txtE. cp file1.txt&gt;file2.txtAnswer: BQUESTION 213Which of the commands will show you only the middle 10 lines of a 30 line text file named textfile?A. head -n 11-20 textfileB. head -n 20 textfile | tailC. tail -n 11-20D. cat textfile | pr -n 11-20E. nl -n 11-30 textfileAnswer: BQUESTION 214Which command will display in reverse order a file that is numbered from 1 to End of File?A. cat file | nl | prB. cat file | nl | tacC. cat file | tac | nlD. cat file | pr -n | reverseE. None of the aboveAnswer: BQUESTION 215What command will show the first 10 lines of a file by default?A. headB. catC. tacD. nlE. tailAnswer: AQUESTION 216What command will show the last 10 lines of a file by default?A. tailB. headC. catD. prstatE. psAnswer: AQUESTION 217Your lead sysadmin has asked you to add a second NIC to a Linux machine.Which of the following commands would be best to determine which interrupts are currently in use on thismachine?A. cat /proc/ioportsB. cat /proc/interruptsC. cat /proc/memoryinfoD. which interruptsE. tail /var/log/messagesAnswer: BQUESTION 218Which of the following will copy file1.txt to file2.txt? Choose Two.A. cat file1.txt &gt; file2.txtB. cat file1.txt | file2.txtC. cp file1.txt &gt; file2.txtD. cp file1.txt file2.txtE. cpio &lt; file1.txt &gt; file2.txtAnswer: A, DQUESTION 219What utility would use to remove/display columns from each line of a file?A. pwdB. colC. cutD. tailE. extractAnswer: CQUESTION 220After executing the following command line, what will be the contents of the file myout.txt?echo \&quot; Certkiller \&quot; | cat &gt; myout.txtA. CertkillerB. &quot; Certkiller &quot;C. Certkiller catD. the file is emptyAnswer: BQUESTION 221You wish to cut the 3rd and 7th fields from a colon (:) delimited text file called 'my Certkiller ' and displaythem on the screen. Type the command that would do this?Answer: cut -d : -f 3,7 my CertkillerAnswer: cut -d: -f3,7 my CertkillerAnswer: cut -f3,7 -d: my CertkillerAnswer: cut -f 3,7 -d : my CertkillerQUESTION 222What command returns the first few lines of a given file?Answer: headQUESTION 223What command is used to display a file in octal format?Answer: odQUESTION 224You need to replace all instances of the word Certkiller with Certkiller in a file called file.txt, and send theoutput to a file named Certkiller .txt. Type the simplest command string to accomplish this.Answer: sed 's/ Certkiller / Certkiller /g' file.txt &gt; Certkiller .txtQUESTION 225You want to redirect the last 30 lines of a file to another file.What single command would best fit your needs?Answer: tailExplanation: exact is: tail *n30 &quot;file name&quot;QUESTION 226Which line below would count the total number of lines with the word &quot; Certkiller &quot; in/var/log/maillog?A. wc -l ' Certkiller /var/log/maillog'B. for &quot; Certkiller &quot; in [maillog (count) +1]C. wc -l /var/log/maillog | grep ' Certkiller 'D. cat /var/log/maillog | grep ' Certkiller ' | wc -lE. cat /var/log/mailog | grep ' Certkiller ' | wc -rAnswer: DQUESTION 227Which of the following commands can you use to rename a file in Linux?A. nB. mvC. newD. rmAnswer: DQUESTION 228What dose the command cd~foo do?A. It will take you to the ~foo directory.B. It will create the foo directory and change to itC. It will take you to the home directory of the user &quot;foo&quot;D. It will change the directory to the system foo directory.E. It will change to the foo directory in your home directory.Answer: CQUESTION 229As root you have navigated to directory /B. You wish to move all of the files and directories fromdirectory /A to directory /B. Which of the following options would be the most appropriate command lineto execute this task?A. cp /a/* .B. mv -f /A/* .C. mv -Rf /a/* .D. cp -f /a/* ..E. cp -rf /A/* /b/Answer: BQUESTION 230One of the lines in the output from the command 'ls -l/home/pomes' is:drwxrwsr-x 3 devel poms 1024 Oct 22 16:28 fooThe output from the command groups bubba is:bubba : bubba poms actsIf user bubba executes the command touch/home/poms/foo/bar, which TWO of the following must betrue?A. The group for /home/poms/foo/bar will be poms.B. The owner for /home/poms/foo/bar will be develC. The owner for /home/poms/foo/bar will be bubba.D. The group for /home/poms/foo/bar will be bubba.E. The permissions for /home/poms/foo/bar will allow group read.Answer: A, CQUESTION 231Which command removes all subdirectories in /tmp, regardless of whether they arenon-existent or in use?A. del /tmp/*B. m -rf /tmpC. rm -Ra /tmp/*D. rm -rf /tmp/*E. delete /tmp/*,*Answer: DQUESTION 232A directory contains the following files:#lsratas saran jacaw cabal cabinYou issue the command &quot;ls | grep .a[^b]a.&quot;, what files are returned by the command? Choose all thatapply.A. ratasB. jacawC. saranD. cabalE. cabinAnswer: A, B, CQUESTION 233You need to display all files in the current directory that start with a &quot;a&quot; and end with a &quot;v&quot;, regardlessof their length or use of delimiters. Choose the best answer.]]></summary>
    <content type="html"><![CDATA[<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </p><p><font face="Arial">Exam : 117-101<br />Title : General Linux, Part 1<br />Ver : 08.26.05<br />117-101<br />Actualtests.com - The Power of Knowing<br /><br />QUESTION 1<br />Which file holds information about the IRQ channels in use:<br />Answer: /proc/interrupts<br />Explanation: /proc/interrupts holds IRQ channels. /proc/ioports holds I/O memory addresses.<br />/proc/dma holds DMA channels.<br /><br />QUESTION 2<br />Which file holds information about the I/O addresses in use:<br />Answer: /proc/ioports<br />Explanation: /proc/interrupts holds IRQ channels. /proc/ioports holds I/O memory addresses.<br />/proc/dma holds DMA channels.<br /><br />QUESTION 3<br />What is the IO Address of the second serial port<br />Answer: 02f8<br />Answer: 02F8<br />Answer: 02F8h<br />Answer: 02f8h<br />Answer: 2f8<br />Answer: 2F8<br />Answer: 2f8h<br />Answer: 2F8h<br /><br />QUESTION 4<br />COM2 normally uses what I/O port and IRQ combination?<br />A. 03F8 4<br />B. 02F8 3<br />C. 03E8 4<br />D. 02E8 3<br />Answer: B<br /><br />QUESTION 5<br />What is the IRQ of COM2?<br />Answer: 3<br /><br />QUESTION 6<br />To set up a connection to your ISP via your modem, what should you do (choose all that apply):<br />A. configure the dialer<br />B. configure the PPP settings<br />C. configure the pppd daemon<br />D. configure the PPTP settings<br />Answer: A,B,C<br />Explanation: As described in Debian's support document, there are actually two parts to setting up a<br />connection to your ISP. You have to configure the dialer (the chat program), and the PPP (Point-to-Point<br />Protocol) settings (the pppd daemon). PPP is the protocol that modems use to communicate over a serial<br />link. (PPP is a powerful protocol that is also often used when connecting distant routers over dedicated<br />leased lines.)<br /><br />QUESTION 7<br />The modem speed setting of _________ may be too high only if your computer doesn't have a 16550 UART<br />chip.<br />A. 115200<br />B. 56700<br />C. 38400<br />D. 28800<br />Answer: A<br />Explanation: As described in Debian's support document, the speed setting of 115200 may be too high<br />only if you have a 486 computer that doesn't have a 16550 UART chip. If you're using a 486 and not sure<br />of the UART, play it safe and set the speed to 56700 instead. Exit the ee editor saving the file.<br /><br />QUESTION 8<br />You wish to configure your soundcard. Type in the name of the Red Hat text/gui application that allows<br />you to set/autodetect the sound card?<br />Answer: sndconfig<br /><br />QUESTION 9<br />For isapnp to successfully detect your sound card, your system must:<br />A. have a kernel with the OSS sound modules ready<br />B. have a sound card chip with the OSS sound modules ready<br />C. have the on board sound module disabled<br />D. None of the choices.<br />Answer: A<br />Explanation: Sndconfig uses isapnp to detect common soundcards and writes a isapnp configuration to<br />and module control lines for use with your sound card. It requires a kernel with OSS sound modules to<br />be present.<br /><br />QUESTION 10<br />What is used by Sndconfig to detect common soundcards (choose all that apply):<br />A. isapnp<br />B. pcipnp<br />C. usbpnp<br />D. None of the choices.<br />Answer: A<br />Explanation: Sndconfig uses isapnp to detect common soundcards and writes a isapnp configuration to<br />and module control lines for use with your sound card. It requires a kernel with OSS sound modules to<br />be present.<br /><br />QUESTION 11<br />What Linux utility allows you to easily configure your Sound Blaster card on Linux?<br />A. Sndconfig<br />B. SoundConf<br />C. Usrconf<br />D. Sysconf<br />Answer: A<br />Explanation: Sndconfig is a utility that lets you configure your soundcard easily. It was written originally<br />for RedHat Linux, but now it is available for Debian GNU/Linux, too.<br /><br />QUESTION 12<br />Sndconfig was written originally for which Linux distribution?<br />A. RedHat<br />B. SuSE<br />C. Debian<br />D. Corel<br />Answer: A<br />Explanation: Sndconfig is a utility that lets you configure your soundcard easily. It was written originally<br />for RedHat Linux, but now it is available for Debian GNU/Linux, too.<br /><br />QUESTION 13<br />Which of the following modems cannot be used on linux systems<br />A. ISDN TA<br />B. Cable modems<br />C. Analogue modems<br />D. PCI modems<br />E. Win modems<br />Answer: E<br /><br />QUESTION 14<br />You have an old computer that you have set up to connect to the Internet with an external 56K modem<br />but are unable to establish a connection of greater than 9600bps.<br />What is the most likely source of the problem?<br />A. Winnmodems are not supported in Linux.<br />B. The UART is not capable of handling more than 9600bps.<br />C. The serial port is not recognized by the kernel.<br />D. The modem is not configured to use the correct IRQ.<br />Answer: B<br /><br />QUESTION 15<br />The _____ daemon is needed to establish a PPP link to another computer?<br />Answer: pppd<br /><br />QUESTION 16<br />Which of the following is the ppp configuration file?<br />A. /etc/ppp/peers/provider<br />B. /etc/ppp/ provider<br />C. /etc/peers/ppp<br />D. /ppp/peers/provider<br />Answer: A<br />Explanation: As described in Debian's support document, /etc/ppp/peers/provider is the ppp<br />configuration file. You edit it by typing in:<br />cd /etc/ppp/peers&lt;<br />ee provider<br /><br />QUESTION 17<br />Your system allows only two serial ports to be active. You want to setup an internal ISA modem. Currently the<br />serial port 1 is used by a mouse. What should you do?<br />A. disable the second serial port in the BIOS and set the modem up to take its place.<br />B. enable the second serial port in the BIOS and set the modem up without a port.<br />C. disable the second serial port in the BIOS and set the modem up to run as port 3.<br />D. None of the choices.<br />Answer: A<br />Explanation: As described in Debian's support document, newer systems will come with either one or two<br />serial ports which are built into the motherboard. These are typically 9-pin male connectors on the back<br />of the PC. You can simply connect an external modem to one of these. If you add an internal modem to<br />the system it has to be set up as the next serial port (for example number 3 in a system that has two of<br />them built in). Or, if you system BIOS allows it, you could disable the second serial port and set the<br />modem up to take its place.<br /><br />QUESTION 18<br />Which of the following modems are not supported by Linux (choose all that apply):<br />A. winmodem<br />B. 28.8K modem<br />C. 33.6K modem<br />D. 56K modem<br />Answer: A<br />Explanation: As described in Debian's support document, make sure your modem is not a &quot;winmodem&quot;<br />(a stripped-down modem that's controlled through a Windows software driver). Second, if at all possible<br />get yourself an external modem. An external non-winmodem modem presents a lot less headaches trying<br />to be PCI bus modems (which present driver issues), or they have to be set up via software - software<br />which is usually only available for Windows.<br /><br />QUESTION 19<br />What command should you use to find out the version of the pppd daemon you're using (fill in the blank):<br />Answer: pppd -v<br />As described in Debian's support document, knowing the version of the pppd daemon you're using can<br />sometimes be useful. While pppd doesn't have a command-line parameter to show the version, using the -v<br />parameter does work because it's seen as an invalid parameter and, as such, causes the help screen to appear.<br /><br />QUESTION 20<br />What is the name of the point to point protocol daemon that is used when connecting with a modem?<br />Answer: pppd<br /><br />QUESTION 21<br />What program is needed to establish a PPP link to another computer?<br />A. pppd<br />B. wvdial<br />C. papd<br />D. kppp<br />Answer: B<br /><br />QUESTION 22<br />A typical I/O address for a sound card is:<br />A. IRQ 7<br />B. 0x220<br />C. 27210<br />D. COM2<br />E. 0xd800<br />Answer: B<br /><br />QUESTION 23<br />How many devices excluding the controller can be on an 8 bit SCSI card?<br />A. 6<br />B. 8<br />C. 9<br />D. 16<br />E. 7<br />Answer: E<br /><br />QUESTION 24<br />How many devices can be installed on a 16 bit SCSI excluding the controller?<br />A. 8<br />B. 10<br />C. 12<br />D. 16<br />E. 15<br />Answer: E<br /><br />QUESTION 25<br />You have a SCSI system with five SCSI hard disks. You add another SCSI har disk to your system and<br />the system no longer boot, nor is the bootloader loaded.<br />What is the most likely cause of this problem?<br />A. There are too many devices on the chain.<br />B. The boot disk needs a different SCSI ID,<br />C. The new disk is conflicting with the SCSI adapter.<br />D. The new SCSI drive is conflicting with the IDE boot drive.<br />E. The new SCSI drive needs a different SCSI ID.<br />Answer: E<br /><br />QUESTION 26<br />Which of the following most likely represents a SCSI connector?<br />A. A<br />B. B<br />C. C<br />D. D<br />E. E<br />Answer: C<br /><br />QUESTION 27<br />Which of the following opens the specified SCSI device file and retrieves its actual SCSI address parameters?<br />A. Scsi_info<br />B. Scsi_dev<br />C. Scsiinfo<br />D. Scsi_conf<br />Answer: A<br />Explanation: Scsi_info opens the specified SCSI device file, and retrieves its actual SCSI address<br />parameters. It also looks up the device in /proc/scsi/scsi and retrieves the device's vendor information, if<br />available. Its output is a pair of Bourne-style shell commands to define the SCSI_ID and MODEL<br />variables based on this information. The SCSI_ID variable has three comma-separated fields: the SCSI<br />channel number, the device ID, and the logical unit number. In most cases, the channel and logical unit<br />will be 0.<br />QUESTION 28<br />Scsi_info looks up the device in which file?<br />A. /proc/scsi/scsi<br />B. /proc/scsi/scsi_info<br />C. /proc/scsi_info/scsi<br />D. /scsi/scsi<br />Answer: A<br />Explanation: Scsi_info opens the specified SCSI device file, and retrieves its actual SCSI address<br />parameters. It also looks up the device in /proc/scsi/scsi and retrieves the device's vendor information, if<br />available. Its output is a pair of Bourne-style shell commands to define the SCSI_ID and MODEL<br />variables based on this information. The SCSI_ID variable has three comma-separated fields: the SCSI<br />channel number, the device ID, and the logical unit number. In most cases, the channel and logical unit<br />will be 0.<br /><br />QUESTION 29<br />Which of the following commands may be used to view PCI devices seen by the Linux kernel? (Choose two)<br />A. less lspci<br />B. less /dev/pci<br />C. less /proc/pci<br />D. less /proc/devices/pci<br />E. lspci | less<br />Answer: C, E<br /><br />QUESTION 30<br />The lspci command can display information about devices except the following:<br />A. Card bus speed (e.g. 66Mhz)<br />B. Card IRQ settings<br />C. Card vendor identification<br />D. Card AGP rate (e.g. 1x, 2x, 4x)<br />E. Card Ethernet MAC address<br />Answer: E<br /><br />QUESTION 31<br />What is the device file and full path for the LPT1 port?<br />Answer: /dev/lp0<br /><br />QUESTION 32<br />Which IRQ is normally dedicated to the second printer port on a PC?<br />A. LPT1<br />B. LPT2<br />C. IRQ5<br />D. IRQ11<br />E. DMA 330<br />Answer: C<br /><br />QUESTION 33<br />Type in just the numeral of the IRQ most likely to conflict on a system that has both a sound card and<br />second LPT port.<br />Answer: 5<br /><br />QUESTION 34<br />The first com port on your PC is represented by:<br />A. /dev/ttyS0<br />B. /dev/ttyS1<br />C. /dev/ttySa<br />D. /dev/ttySA<br />Answer: A<br /><br />QUESTION 35<br />What is the full path and filename of the LPT2 port?<br />Answer: /dev/lp1<br />QUESTION 36<br />DNS provides ________ to IP address mappings.<br />A. NETBIOS name<br />B. host name<br />C. MAC address<br />Answer: B<br /><br />QUESTION 37<br />Which of the following Linux packages can be used for web caching?<br />A. qmail<br />B. squid<br />C. apache<br />D. samba<br />Answer: B<br /><br />QUESTION 38<br />You just added another supported PCI Network Interface Card (NIC) to your PC, but are not able to<br />activate it in Linux. Using tools available in Linux operating systems, you notice that the NIC is not seen<br />by the kernel. What is most likely to be the source of the problem?<br />A. The NIC is not seen within /proc/pci.<br />B. Resource conflicts are not allowing NIC be initialized.<br />C. You have not made the appropriate entries to /proc/interrupts and /proc/ioports<br />D. You did not turn off &quot;PnP OS&quot; in the PC BIOS.<br />E. The NIC is conflicting with the video adapter.<br />Answer: B<br /><br />QUESTION 39<br />The following are all true about the setserial command except:<br />A. setserial can display the IRQ of a serial port<br />B. setserial can configure the IRQ of a hardware device<br />C. setserial can configure the IRQ of a software driver<br />D. setserial can display the UART type of the serial device<br />E. setserial can &quot;autoconfig&quot; serial ports<br />Answer: B<br /><br />QUESTION 40<br />What is the variable name that holds the terminal capabilities variable, which is usually set to vt100?<br />Type the variable exactly as it would be used at the command line.<br />Answer: $TERM<br /><br />QUESTION 41<br />Type in the device file including path for the second serial port.<br />Answer: /dev/ttyS1<br /><br />QUESTION 42<br />Type in the device file and full path to first serial port.<br />Answer: /dev/ttyS0<br /><br />QUESTION 43<br />Type in the IO address of device /dev/ttyS3<br />Answer: 02e8<br />Answer: 02e8h<br />Answer: 02E8h<br />Answer: 02E8<br />Answer: 2e8<br />Answer: 2E8<br /><br />QUESTION 44<br />You have a USB storage device that you cannot get working. You have enabled all appropriate USB<br />options in the latest 2.2 kernel but still cannot get your device working.<br />What is the most likely cause of the problem?<br />A. You have not configured your usb.usermap properly.<br />B. You are using the wrong kernel for this type of device.<br />C. The USB device is not USB 2.O compliant.<br />D. There is a USB resource conflict.<br />Answer: B<br /><br />QUESTION 45<br />You are running Linux 2.0.36 and you need to add a USB mouse to your system. Which of the following<br />statements is true?<br />A. You need to rebuild the kernel.<br />B. You need to upgrade the kernel.<br />C. You need to load the USB modules for your existing modular kernel.<br />D. USB support is no available in Linux.<br />Answer: C<br /><br />QUESTION 46<br />The ________ partition is used for virtual memory.<br />Answer: swap<br /><br />QUESTION 47<br />Type in the variable name that controls the size of the command line history. (Type the variable as it<br />would be used on the command line.)<br />Answer: $HISTSIZE<br /><br />QUESTION 48<br />Type in the Variable name of the variable that stores the location of the command line history file. (Type<br />the variable as it would be used on the command line.)<br />Answer: $HISTFILE<br /><br />QUESTION 49<br />You are building a system administration shell script and always want a particular line to read a file<br />named Certkiller 1.txt that exists in the home directory of every user, regardless of who the user is. What<br />would be the full path including the filename for this file, for the current user?<br />Answer: ~/ Certkiller 1.txt<br />Answer: $HOME/ Certkiller 1.txt<br /><br />QUESTION 50<br />Type in the file name and full path of the configuration file where you would set the variable HISTSIZE<br />for all users of the system.<br />Answer: /etc/profile<br /><br />QUESTION 51<br />Type only the name of the file or utility will show you the last system bootup messages.<br />Answer: dmesg<br /><br />QUESTION 52<br />What does the Filesystem Hierarchy Standard enable? (Select TWO answers)<br />A. Software to predict the location of installed files and directories<br />B. Software to predict the ownership and access rights of installed files and directories<br />C. Users to predict the location of installed files and directories.<br />D. Users to predict how the filesystem should be formatted according to need.<br />Answer: A, C<br /><br />QUESTION 53<br />You have a machine which serves 100 users. You don't want to include their data in the location database.<br />Where would you specify excluded directories for locate?<br />A. /etc/locate.conf<br />B. .locaterc<br />C. /etc/updatedb.conf<br />D. /etc/exclude_dir<br />Answer: D<br /><br />QUESTION 54<br />Identify the proper device for the third partition, on the second hard disk, on the first IDE controller on<br />a PC system.<br />A. /dev/hdb3<br />B. /dev/hd1b3<br />C. /dev/hdc1b3<br />D. /dev/hdc1d2p3<br />Answer: A<br /><br />QUESTION 55<br />You want to limit the amount of disk space ordinary users can have to 5 MB per user in /var/spool/mail<br />and 10MB per user in /home, using quota. What steps do you need to take when partitioning the hard<br />drive?<br />A. Make a partition for /var/spool/mail and another one for /home.<br />B. Use qfdisk instead of fdisk to create the partitions and activate quotas.<br />C. No special steps are required. /var/spool/mail and /home can be a part of the / partition.<br />D. Make one partition for both /home, then later on add a symlink for /var/spool/mail that points to that<br />partition.<br />E. Use fdisk to make partitions for /var/spool/mail and /home, then use the &quot;u&quot; option to turn on per-user quotas<br />Answer: A<br />Explanation: You must use different partitions to do that.<br /><br />QUESTION 56<br />You have just upgraded your PC to a 60 gigabyte IDE drive. While partitioning the drive, you notice that<br />only 32 gigabytes are available. Which of the following will most likely allow you to use the entire drive?<br />A. Create two smaller partitions of 30 gigabytes each.<br />B. Set the PC BIOS to use LBA mode.<br />C. Create a partition that resides entirely below the first 1024 cylinders.<br />D. Use GRUB or the latest version of LILO as a bootloader.<br />E. Upgrade the PC BIOS to the latest version available.<br />Answer: E<br /><br />QUESTION 57<br />On an ext2 partition, what portion is reserved for the root user?<br />A. 100 cylinders<br />B. No less than 500 blocks<br />C. None<br />D. 5%<br />E. 1/32nd of the total space<br />Answer: D<br /><br />QUESTION 58<br />You have a Linux system with a 100GB ext2 partition containing large amounts of data. To minimize the<br />boot time, you decide to convert it to a journaling filesystem.<br />Which journaling file system would be easiest to convert the partition to (without destroying existing data)?<br />A. resiserfs<br />B. vfat<br />C. ext3<br />D. xfs<br />Answer: C<br /><br />QUESTION 59<br />Tamika is planning the partition table for her new workstation. Assuming she will give each of the<br />following directories its own partition, which partition should be the largest?<br />A. /usr<br />B. /lib<br />C. /root<br />D. /bin<br />Answer: A<br /><br />QUESTION 60<br />You have run out of disk space on a partition. Which of the following would be an easy way to move data<br />to a new partition without reconfiguring the path to the data in existing applications?<br />A. Run ext2fs ACL.<br />B. Use a hard link.<br />C. Use a symbolic link.<br />D. Use the loopback device.<br />E. Create a block device offset.<br />Answer: C<br /><br />QUESTION 61<br />To build a fresh new Linux system, how much free space should you reserve for the Linux partition?<br />A. 100 - 200MB<br />B. 200 - 300MB<br />C. 300 - 400MB<br />D. 700 - 800MB<br />Answer: D<br />Explanation: According to the technical information available at Linux From Scratch Ver 3.0, Before we<br />can build our new Linux system, we need to have an empty Linux partition on which we can build our<br />new system. I recommend a partition size of at least 750 MB. This gives enough space to store all the<br />tarballs and to compile all packages without worrying about running out of the necessary temporary disk<br />space. But you probably want more space than that if you plan to use the LFS system as your primary<br />Linux system.<br /><br />QUESTION 62<br />Which directory is used to store undelivered user email by default?<br />A. /var/spool/sendmail/usermail<br />B. /var/spool/mail<br />C. /var/spool/mailqueue<br />D. /var/spool/sendmail/username<br />E. /var/mail/sendmail/username<br />Answer: B<br /><br />QUESTION 63<br />What would be the device name of the 2nd SCSI disk on your system? Include the full path to the device<br />file<br />Answer: /dev/sdb<br /><br />QUESTION 64<br />What is the device file for the first logical drive in the extended partition of the Secondary Master IDE<br />drive? Include the full path and filename.<br />Answer: /dev/hdc5<br /><br />QUESTION 65<br />Which of the following directories would be the least likely to need backing up? Choose Two.<br />A. /usr<br />B. /etc<br />C. /home<br />D. /tmp<br />E. /swap<br />Answer: D, E<br /><br />QUESTION 66<br />With a Linux 2.2 Kernel-based machine configuration of 133 MHZ, 32 MB RAM and a 1 GB HD, how<br />much swap should be configured?<br />A. 512MB<br />B. 256MB<br />C. 128MB<br />D. 64MB<br />E. 32MB<br />Answer: D<br /><br />QUESTION 67<br />Which of the following file system types causes the least impact when upgrading an Ext2 file system?<br />A. Ext3<br />B. ReiserFS<br />C. JFS<br />D. XFS<br />E. VFS<br />Answer: A<br /><br />QUESTION 68<br />According to the Filesystem Heirarchy Standard, what directory trees are considered optional on a<br />system's root filesystem? Choose all that apply.<br />A. /mnt<br />B. /root<br />C. /usr<br />D. /var<br />E. /opt<br />Answer: C, D, E<br /><br />QUESTION 69<br />When partitioning a disk with more than 1024 cylinders, which of the following could affect the systems<br />ability to boot?<br />A. Location of LILO on disk<br />B. Location of /boot on disk<br />C. Location /var on disk<br />D. Disk transfer rate<br />117-101<br />Actualtests.com - The Power of Knowing<br />E. Disk seek time<br />Answer: B<br /><br />QUESTION 70<br />Which of the following is a typical rule for allocating swap space for a Linux installation?<br />A. Use 25% of available drive space for a swap partition.<br />B. Use 10% of available drive space for a swap partition.<br />C. Use 50% of total RAM for the size of a swap partition.<br />D. Use 200% of total RAM for the size of a swap partition.<br />E. Use 128MB on each hard disk in the system for swap.<br />Answer: D<br /><br />QUESTION 71<br />You are building a server that will undergo many hardware and operating system upgrades. The server<br />is the file server for all users on your 100 user network.<br />Which directory should have its own mountpoint and/or hard drive?<br />A. /boot<br />B. /sbin<br />C. /home<br />D. /etc<br />Answer: C<br />Explanation: OR /DEV if avaliable choice.<br /><br />QUESTION 72<br />You want to uninstall lilo. Which of the following would you do to accomplish this?<br />A. lilo -u<br />B. remove lilo<br />C. uninstall lilo<br />D. lilo -r<br />Answer: A<br /><br />QUESTION 73<br />You want to set a 30 second delay before your system boots to the default kernel.<br />Which of the following command lines would do this?<br />A. lilo -t 30<br />B. lilo -d 30<br />C. lilo delay 30<br />117-101<br />Actualtests.com - The Power of Knowing<br />D. lilo 30<br />Answer: B<br /><br />QUESTION 74<br />Which lilo.conf parameter will specify the amount of time the system will wait before booting to the<br />default image?<br />A. wait<br />B. delay<br />C. pause<br />D. default<br />Answer: B<br /><br />QUESTION 75<br />What lilo option will list the name and location of available kernels?<br />A. -q<br />B. -k<br />C. -v<br />D. -l<br />Answer: A<br /><br />QUESTION 76<br />What lilo.conf parameter is used to specify vga text mode?<br />A. vgatext<br />B. svga<br />C. vga<br />D. vtm<br />Answer: C<br /><br />QUESTION 77<br />You want to set a script to run when your Linux system reboots. What lilo option should you use?<br />A. -R<br />B. -S<br />C. -T<br />D. -L<br />Answer: A<br /><br />QUESTION 78<br />You have a system that uses LILO from the Master Boot Record. You have just recompiled a new kernel.<br />You already have a backup kernel setup to boot from LILO so you overwrite your existing kernel with<br />new kernel image using the same name and location. When you reboot, you find the system does not boot.<br />What is likely to be the problem?<br />A. The new kernel image is above the 1024 cylinder and therefore cannot be loaded.<br />B. You did not update your /etc/lilo.conf file to boot the new kernel.<br />C. You need to boot the new kernel with a boot floppy to restore the old kernel.<br />D. You reboot before re-installing LILO in the Master Boot Record.<br />Answer: A<br /><br />QUESTION 79<br />Where can lilo place boot code?<br />A. The boot ROM<br />B. The boot RAM<br />C. The /boot partition<br />D. The MBR on a hard drive<br />Answer: D<br /><br />QUESTION 80<br />From the LILO: or Boot: prompt you wish to start the kernel named linux and set the machine at run<br />level 1. Type the command line to do this?<br />Answer: linux 1<br />Answer: linux s<br />Answer: linux S<br />Answer: linux single<br /><br />QUESTION 81<br />What lilo.conf parameter will cause the root file system to be mounted read only?<br />A. no-write<br />B. read<br />C. no-right<br />D. read-only<br />Answer: D<br /><br />QUESTION 82<br />What lilo.conf parameter is used to specify what device should be mounted as root by default?<br />A. root<br />B. drive<br />C. mntroot<br />D. mount<br />Answer: A<br /><br />QUESTION 83<br />What run level represents basic multi-user?<br />A. 2<br />B. 0<br />C. 1<br />D. 5<br />Answer: A<br /><br />QUESTION 84<br />What command be used to find the systems previous run level?<br />A. runlevel<br />B. level<br />C. rlevel previous<br />D. show level previous<br />Answer: A<br /><br />QUESTION 85<br />What run level represents multi-user?<br />A. 3<br />B. 0<br />C. 1<br />D. 5<br />Answer: A<br /><br />QUESTION 86<br />Which of the following can be used to switch your system to run level 3?<br />A. init 3<br />B. rlevel 3<br />C. level 3<br />D. inittab 3<br />Answer: A<br /><br />QUESTION 87<br />What run level represents a system reboot?<br />A. 6<br />B. 1<br />C. 2<br />D. 5<br />Answer: A<br /><br />QUESTION 88<br />What run level represents a power down?<br />A. 5<br />B. 0<br />C. 1<br />D. 4<br />Answer: B<br /><br />QUESTION 89<br />What run level represents administration mode?<br />A. 0<br />B. 1<br />C. 6<br />D. 5<br />Answer: B<br /><br />QUESTION 90<br />Which of the following can be used to switch your system to run level 1?<br />A. init 1<br />B. inittab 1<br />C. rlevel 1<br />D. level 1<br />Answer: A<br />QUESTION 91<br />What command can be used to find the current run level?<br />A. runlevel<br />B. level<br />C. show level<br />D. rlevel<br />Answer: A<br /><br />QUESTION 92<br />Linux is a(n) _________ operating system, meaning the source code is freely available.<br />A. Open sourced<br />B. User licensed<br />C. Closed source<br />D. Open binary<br />Answer: A<br /><br />QUESTION 93<br />You have compiled a program from source successfully, buy you are getting permission errors when you<br />try to install the binaries.<br />What is most likely the problem?<br />A. Both rpm and dpkg need to be run as root.<br />B. You have the wrong permissions set on the /usr/bin directory.<br />C. The wrong prefix was used during the configuration or was not properly defined for the compile stage.<br />D. The binaries need to be installed into directories that need root privileges to write to them.<br />Answer: D<br /><br />QUESTION 94<br />Which utility would be used to verify the checksum of a downloaded archive file?<br />A. verify<br />B. chksum<br />C. md5sum<br />D. chkrpm<br />E. pkgchk<br />Answer: C<br /><br />QUESTION 95<br />Which steps are necessary to compile and install a source code program? Choose the least amount<br />possible.<br />A. Extract source<br />B. edit makefile<br />C. ./configure<br />D. make<br />E. make install<br />Answer: A, C, D, E<br /><br />QUESTION 96<br />Which command cannot normally be executed by a non-root user when compiling an application?<br />A. make<br />B. makefile<br />C. ./configure<br />D. make install<br />Answer: D<br /><br />QUESTION 97<br />Which of the following contains typical targets of a Makefile?<br />A. Prefix, exec_prefix, bindir, mandir<br />B. CFLAGS, CPPFLAGS, LIBS, LDFLAGS<br />C. PATHS, DESTDIR, MANPAGES, CONFIGFILES<br />D. clean, test, install, uninstall<br />Answer: B<br /><br />QUESTION 98<br />The command for most applications to install compiled source via the Makefile is:<br />A. make<br />B. install<br />C. configure<br />D. make depend<br />E. make install<br />Answer: E<br /><br />QUESTION 99<br />You are installing a program that is only available as source code. Which of the following commands<br />would be best to add system specific configuration information such as the default installation directory?<br />A. ./make<br />B. ./install<br />C. ./makefile<br />D. ./configure<br />Answer: D<br /><br />QUESTION 100<br />Which of the following is very important when installing from source code (Check TWO that apply)?<br />A. Read all documentation included with the source code.<br />B. Reboot after installing all programs.<br />C. Manually check to see if all dependencies are met.<br />D. Use rpm or dpkg go verify the installation.<br />E. Do not install binaries as the root user.<br />Answer: A, C<br /><br />QUESTION 101<br />The command for most applications to install compiled source via the Makefile is _____.<br />A. Makefile install<br />B. Make install<br />C. ./install<br />D. install makefile<br />Answer: B<br /><br />QUESTION 102<br />Which of the following switches can be used with the tar command to find out the difference between two<br />tar files?<br />A. -c<br />B. -v<br />C. -d<br />D. -t<br />Answer: C<br /><br />QUESTION 103<br />What operation of the make utility cannot normally be performed as a normal user?<br />A. mrproper<br />B. clean<br />C. dep<br />D. depends<br />E. install<br />Answer: E<br /><br />QUESTION 104<br />Type the simplest command with switches to unpack a compressed archive named file1.tar.gz?<br />Answer: tar -zxf file1.tar.gz<br />Answer: tar zxf file1.tar.gz<br />Answer: tar xzf file1.tar.gz<br />Answer: tar -xzf file1.tar.gz<br /><br />QUESTION 105<br />You want to add files to a previously created tar file. You want to replace existing files with newer files,<br />how can you do this?<br />A. Use the append command<br />B. Use the tar command with the -t switch<br />C. Use the add command<br />D. Use the tar command with the -u switch<br />Answer: D<br /><br />QUESTION 106<br />You want to add information to a previously created tar file. How would you do this?<br />A. Use the tar command with the -a switch<br />B. Use the append command<br />C. Use the add command<br />D. Use the tar command with the -r switch<br />Answer: D<br /><br />QUESTION 107<br />You want to find out what files are contained in a tar file. How would you do this?<br />A. Use the tar command with the -t switch<br />B. Use the tar command with the -r switch<br />C. Use the grep command<br />D. Use the find command<br />Answer: A<br /><br />QUESTION 108<br />Which of the following commands can be used to extract a tar file?<br />A. tar -vf<br />B. tar -xvf<br />C. tar -e<br />D. tar -v<br />Answer: B<br /><br />QUESTION 109<br />Which of the following commands can be used to create a tar archive file in verbose mode?<br />A. tar -v<br />B. tar -cvf<br />C. tar -c<br />D. tar -vf<br />Answer: B<br /><br />QUESTION 110<br />Type in the command line to upgrade a package using the apt-get command. The package name is<br />package1.<br />Answer: apt-get upgrade package1<br /><br />QUESTION 111<br />Type in the command to update the apt-get database with new or updated packages.<br />Answer: apt-get update<br /><br />QUESTION 112<br />What is the location including the full path to where apt-get stores its downloaded packages?<br />Answer: /var/cache/apt/archives<br /><br />QUESTION 113<br />Which system administration command you can use to update ld.so.cache after the installation of new<br />shared libraries?<br />A. ldconfig<br />B. ldd<br />C. libpath<br />D. newlibs<br />Answer: A<br /><br />QUESTION 114<br />Which utility can you call to find out what shared libraries a program is using?<br />A. ldd<br />B. ld.so<br />C. modprobe<br />D. ldconfig<br />E. ld-linux.so<br />Answer: A<br /><br />QUESTION 115<br />What is the full path including the filename of the configuration file that stores the locations of all library<br />files on the system?<br />Answer: /etc/ld.so.conf<br /><br />QUESTION 116<br />On boot, your system shows messages that mention library file errors. What command should you type<br />(command only) to attempt to fix the library errors?<br />Answer: ldconfig<br /><br />QUESTION 117<br />What command will display the needed libraries for the program myprog1 to run?<br />Answer: ldd myprog1<br /><br />QUESTION 118<br />What file is read by the program ldconfig?<br />A. /lib/ld.so<br />B. /etc/ld.so.conf<br />C. /etc/ld.so.cache<br />D. /etc/modules.conf<br />Answer: B<br /><br />QUESTION 119<br />What environment variable will set the path for added libraries?<br />A. LD_LIBRARY_PATH<br />B. LIBPATH<br />C. LPATH<br />D. LIB<br />E. None of the above<br />Answer: A<br /><br />QUESTION 120<br />You are preparing a new set of shared libraries in /usr/local/applib and you have written and compiled<br />some code that uses these libraries. You have already performed and ldconfig, however the system still<br />cannot find the shared libraries.<br />What is most likely the cause of this?<br />A. You used the wrong compiler.<br />B. Your did not update your PATH variable.<br />C. You compiled the code with wrong library.<br />D. You forgot to put the library path in ld.so.conf<br />Answer: D<br /><br />QUESTION 121<br />What is filename including full path, of the file used to configure library path settings for a system?<br />A. /usr/lib/lib.so.1<br />B. /etc/lib.conf<br />C. /etc/ld.so.conf<br />D. /usr/lib/modules/modules.conf<br />E. None of the above<br />Answer: C<br /><br />QUESTION 122<br />What happens when ldconfig is executed?<br />A. The binary index file (cache) of library locations is rebuilt<br />B. The text index file of library locations is rebuilt<br />C. make is run to rebuild the libraries who's source code has changed<br />D. The disk is scanned for libraries to include in the index<br />E. Nothing, unless the libraries have been recompiled since ldconfig was last run.<br />Answer: A<br /><br />QUESTION 123<br />You wish to install a debian package using dpkg called debianpackage.deb. Give the simplest command<br />line to do this.<br />Answer: dpkg -i debianpackage.deb<br />Answer: dpkg --install debianpackage.deb<br /><br />QUESTION 124<br />You have a package called debianpkg.deb and wish to convert it to an rpm.<br />Type the command line that will do this for you including switches.<br />Answer: alien -r debianpkg.deb<br />Answer: alien --to-rpm debianpkg.deb<br /><br />QUESTION 125<br />Type the command line including switches to convert and install a Redhat package named package.rpm<br />on a Debian system?<br />Answer: alien -i package.rpm<br />Answer: alien --install package.rpm<br /><br />QUESTION 126<br />What is the correct syntax to remove Certkiller entirely from a Debian System including configuration<br />files?<br />A. dpkg -r Certkiller<br />B. dpkg --remove Certkiller<br />C. dpkg --kill Certkiller<br />D. dpkg -R Certkiller<br />E. dpkg --purge Certkiller<br />Answer: E<br /><br />QUESTION 127<br />What are the default permissions on the Debian /etc/passwd file?<br />A. 644<br />B. 640<br />C. 777<br />D. 700<br />E. 400<br />Answer: A<br /><br />QUESTION 128<br />What are the default permissions on the Debian /etc/shadow file?<br />A. 654<br />B. 640<br />C. 400<br />D. 644<br />E. 540<br />Answer: B<br /><br />QUESTION 129<br />How do you use dpkg to verify the status of an installed package Certkiller pkg? Select two.<br />a) dpkg -s Certkiller pkg<br />b) dpkg -S Certkiller pkg<br />c) dpkg -stat Certkiller pkg<br />d) dpkg --stat Certkiller pkg<br />e) dpkg --status Certkiller pkg<br />Answer: A, E<br /><br />QUESTION 130<br />Which pair of dpkg options are equivalent and what do they do?<br />A. -C and --configure they reconfigure an unpackaged package<br />B. -C and --clear-avail they erase exisiting information about what packages are available<br />C. -A and --audit they update information about what packages are available<br />D. -C and --audit they provide resource consumption information on installed packages<br />E. -C and --audit they search for partially installed packages<br />Answer: E<br /><br />QUESTION 131<br />You wish to install a package named package.deb using the apt-get tool. Type the simplest command line<br />to do this.<br />Answer: apt-get install package.deb<br /><br />QUESTION 132<br />What is the name and full path to the location of the dpkg database?<br />Answer: /var/lib/dpkg<br /><br />QUESTION 133<br />The ______ command is typically used to search files for a specified string.<br />Answer: grep<br /><br />QUESTION 134<br />You need to remove the package Certkiller regardless of dependencies, type the command with switches<br />that will do this?<br />Answer: rpm -e Certkiller --nodeps<br />Answer: rpm -e --nodeps Certkiller<br /><br />QUESTION 135<br />What RPM command would show you detailed information for a package called openssh-3.6.i386.rpm?<br />A. rpm --showinformation openssh-3.6.i386.rpm<br />B. rpm -- showdetails openssh-3.6.i386.rpm<br />C. rpm -qi openssh-3.6.i386.rpm<br />D. rpm -- verify openssh-3.6.i386.rpm<br />Answer: C<br />Explanation: QI will give you information on the version number, and the author.<br /><br />QUESTION 136<br />After a minor security incident you are instructed by your lead sys-admin to verify the RPM's installed<br />on running system. Which command will create a complete report which you can analyze for changes<br />which may be security related?<br />A. .rpm-Va&gt;report<br />B. rpm-Qavy &gt; report<br />C. rpm-Vqt-- nomd5&gt;report<br />D. rpm-checkfiles &gt;report<br />E. rpm-Va-nofiles &gt; report<br />Answer: A<br /><br />QUESTION 137<br />You need to know where all the configuration files for the installed package named &quot;postfix&quot; are located.<br />Assuming it was installed with rpm, which command will list this information for you?<br />A. rpm -qc postfix<br />B. rpm -Vc postfix<br />C. prm --config postfix<br />D. rpm -listconfig postfix<br />E. prm -qa --config postfix<br />Answer: A<br /><br />QUESTION 138<br />You want to examine the changelog for the installed package &quot;postfix&quot;.<br />Which command will display the changelog?<br />A. rpm -Vc postfix<br />B. rpm -qpil postfix<br />C. rpm --changelog postfix<br />D. rpm -q --changelog postfix<br />E. rpm -qa --changelog postfix<br />Answer: D<br /><br />QUESTION 139<br />What would the command &quot;rpm --allmatches rpmname&quot; do?<br />A. Remove all packages named allmatches<br />B. Remove all packages with the package name rpmname<br />C. Remove all packages regardless of name<br />Answer: B<br /><br />QUESTION 140<br />What will happen when the following command is issued?<br />rpm -Uvh file<br />A. The rpm file will be verified<br />B. The installed package will be upgraded with the package in file, with verbose output<br />C. The installed package may be upgraded with the package called file, giving verbose output and hash marks<br />to show installation<br />D. An error will occur as a package specifier was not included in the command line<br />Answer: C<br /><br />QUESTION 141<br />Which RPM command would produce the following output<br />Name : xwhois Relocations: (not relocatable)<br />Version : 0.3.7 Vendor: Jack King<br />Release : 1 Build Data: Fri 06 Aug 1999 09:29:07 AM EDT<br />Install date: (not installed) Build Host: desktop.infohvy.com<br />Group : Application/Internet Source RPM: (none)<br />Size : 74057 License: GPL<br />Packager : Ryan Weaver &lt;ryanv@ Certkiller .com&gt;<br />URL : http://www.goatnet.ml.org/software.html<br />Summary : X Windows Whois Tool<br />Description: xwhois is a small and fast query tool for the whois service.<br />(rfc954)<br />xwhois-0.3.7.tar.gz<br />xwhois.spec<br />A. rpm -qpil xwhois-0.3.7-1.src-rpm<br />B. rpm-qx xwhois<br />C. rpm-Vf xwhois-0.3.7-1.src.rpm<br />D. rpm-verify xwhois-0.3.7-1.src.rpm<br />E. rpm-showheaders xwhois-0.3.7-1.src.rpm<br />Answer: A<br /><br />QUESTION 142<br />After a minor security incident you are instructed by your lead sys-admin to verify the RPM's installed on a<br />running system.<br />Which command will create a complete report which you can analyze for changes which may be security<br />related?<br />A. rpm -Va &gt;report<br />B. rpm -Qavy &gt;report<br />C. rpm -Vqt --nomd5 &gt;report<br />D. rpm --checkfiles &gt;report<br />E. rpm -Va --nofiles &gt;report<br />Answer: A<br /><br />QUESTION 143<br />You are about to install a new program on an RPM based Linux system.<br />Which of the following would be the best way to accomplish this?<br />A. Get the source code in a tarball and install from that source.<br />B. Get a source RPM and use rpm to install it.<br />C. Use rpm to install the program's binaries from an RPM package.<br />D. Use cpi to extract the binaries from a source RPM and use rpm to install those sources.<br />Answer: C<br /><br />QUESTION 144<br />How can you update a package only if an earlier version is currently installed on the system?<br />A. rmp -- update rpmname<br />B. rpm -U rpmname<br />C. rpm -F rpmname<br />D. rpm -- force rpmname<br />E. rpm -u rpmname<br />Answer: C<br />Explanation: Upgrades, but only if the package is currently installed.<br />QUESTION 145<br />Type the shortest command including switches, to remove the installed Redhat Package named<br />packagename from the system.<br />Answer: rpm -e packagename<br /><br />QUESTION 146<br />Type the command line that will list information, and all file locations on the installed package<br />mypackage?<br />Answer: rpm -qil mypackage<br />Answer: rpm -qli mypackage<br /><br />QUESTION 147<br />Type the simplest RPM command to list where the package file Certkiller .rpm will install its files<br />Answer: rpm -qpl Certkiller .rpm<br />Answer: rpm -qlp Certkiller .rpm<br /><br />QUESTION 148<br />Type the command line to check the installed package mypackage for any configuration file changes<br />since install?<br />Answer: rpm -V mypackage<br /><br />QUESTION 149<br />What command on an rpm-based system will upgrade any existing packages on a system, but not add<br />any packages? Type just the command and switch(es).<br />Answer: rpm -F<br /><br />QUESTION 150<br />What command on an rpm-based system will upgrade any existing packages on a system, and add any<br />packages needed? Type just the command and switch(es).<br />Answer: rpm -U<br /><br />QUESTION 151<br />What command can be used to show all variables?<br />A. set<br />B. varlist<br />C. show var<br />D. show<br />Answer: A<br /><br />QUESTION 152<br />You wish to set your shell options so that the output from a redirect will NOT overwrite an existing file.<br />Type the command including switches.<br />Answer: set -o noclobber<br /><br />QUESTION 153<br />You wish to turn off the shell option that stops you overwriting exisiting files. Type the command in that<br />will do this including switches.<br />Answer: set +o noclobber<br /><br />QUESTION 154<br />You have just typed the following three commands and got the following output:<br />prompt&gt; echo $PATH<br />/usr/bin:/usr/local/bin:usr/sbin:opt/kde/bin<br />prompt&gt; pwd<br />/home/anna/games<br />promt&gt; ls<br />game1 game2 game3<br />You want to run the program game1, but get the response that it is not found.<br />What did you forget to do?<br />A. To type ./game1 rather than game1.<br />B. To switch the directory /home/anna first.<br />C. To unset your PATH before running the program.<br />D. To set execution permissions for the program game1.<br />Answer: A<br /><br />QUESTION 155<br />What is the name and full path of the file that contains the system wide Environment variables and<br />Startup programs?<br />Answer: /etc/profile<br /><br />QUESTION 156<br />Type in just the name of the command that allows you to edit the command history, and will execute the<br />contents of the buffer when exited.<br />Answer: fc<br /><br />QUESTION 157<br />You wish to find out more information on a file e.g. Last accessed, Modified changed, Inode. What is the<br />simplest command that would show this information for a file called tessking?<br />Answer: stat tessking<br /><br />QUESTION 158<br />Which command will output the exit status of the previous command (a 1 or a 0)?<br />A. echo $?<br />B. echo $1<br />C. echo $EXIT<br />D. exitstatus<br />Answer: A<br /><br />QUESTION 159<br />What 3 letter command will show you the values set by the /etc/profile script file for the entire system?<br />Answer: env<br /><br />QUESTION 160<br />What 3 letter command will show you the values set by the /etc/bashrc script file for the entire system?<br />Answer: set<br /><br />QUESTION 161<br />Your Linux machine has 2 monitors. Your second monitor is configures as the second screen of the first<br />display. If you want the &quot;netscape&quot; program to be displayed on your second monitor, what command<br />should you use before starting netscape?<br />Answer: C<br /><br />QUESTION 162<br />You have a dual-head workstation with two monitors. Your secondary monitor is defined as the second<br />screen of the first display. You want to start Mozilla and display its window on the second display. Which<br />command line would you use to achieve this?<br />Answer: A<br /><br />QUESTION 163<br />What two files are used to configure a user's environment that was created with the default options?<br />A. ~/.profile, ~/.bashrc<br />B. /etc/profile, /bashrc<br />C. ~/.bash_profile, ~/.bashrc<br />D. /etc/.login, ~/.login<br />E. None of the above<br />Answer: C<br /><br />QUESTION 164<br />Which of the following are executed ONLY during a Login session? Select two.<br />A. /etc/profile<br />B. /etc/bashrc<br />C. ~/.bashrc<br />D. ~/.bash_profile<br />E. ~/.bash_logout<br />Answer: A, D<br /><br />QUESTION 165<br />Which of the following are executed during a non-login shell? Select three.<br />A. /etc/profile<br />B. /etc/bashrc<br />C. ~/.bash_profile<br />D. ~/.bashrc<br />E. ~/.bash_logout<br />Answer: B, D, E<br /><br />QUESTION 166<br />In which file are you likely to find the settings for umask, path, and ulimit on a per user basis?<br />A. /etc/profile<br />B. /etc/bashrc<br />C. ~/.bash_profile<br />D. ~/.bashrc<br />Answer: C<br /><br />QUESTION 167<br />In Bash, inserting &quot;1&gt;&amp;2&quot; after a command redirects<br />A. standard error to standard input<br />B. standard input to standard error<br />C. standard output to standard error<br />D. standard error to standard output<br />E. standard output to standard input<br />Answer: C<br /><br />QUESTION 168<br />What three letter command in Bash will display all environment variables?<br />Answer: env<br /><br />QUESTION 169<br />Type in just the name of the default file that the command line history is stored in for a logged in user.<br />Answer: .bash_history<br /><br />QUESTION 170<br />Type just the name of the file in a normal user's home directory that will set their local user environment<br />and startup programs on a default Linux system.<br />Answer: .bash_profile<br /><br />QUESTION 171<br />On a default Linux system, what is the name of the file that sets users aliases and functions?<br />Answer: .bashrc<br /><br />QUESTION 172<br />What is the name and full path of the file that contains the system wide aliases and functions for the<br />default Linux shell?<br />Answer: /etc/bashrc<br /><br />QUESTION 173<br />What is the name of the file that runs on user logout, usually set to clear the screen?<br />Answer: .bash_logout<br /><br />QUESTION 174<br />You are in your home directory. You have made changes to your .bash_profile and incorporated a<br />modified PATH variable. Type in the command that will reread the .bash_profile and set the changes you<br />have made.<br />Answer: source .bash_profile<br />Answer: .bash_profile<br /><br />QUESTION 175<br />When a user executes the command &quot;ps ax&quot;, what is shown on the console? Choose all that apply.<br />A. Process's user-related information<br />B. Processes without controlling terminals<br />C. Processes used by the XFree86 System<br />D. All regular processes<br />E. Processes on remote machines<br />Answer: B, D<br /><br />QUESTION 176<br />You want to repeat command number 3 inyour history. How would you do this?<br />A. repeat 3<br />B. !3<br />C. show 3<br />D. #3<br />Answer: B<br /><br />QUESTION 177<br />What symbol can be placed at the end of a line to indicate that the command continues on the next line?<br />A. /<br />B. \<br />C.<br />D. |<br />E. :<br />Answer: B<br />QUESTION 178<br />What is the correct format for a proper command in the shell?<br />A. Option Argument Command<br />B. Command Argument Option<br />C. Command Option Argument<br />Answer: C<br /><br />QUESTION 179<br />Which of the following will allow both the commands to execute, regardless of their individual exit<br />status?<br />A. command1 | command2<br />B. command1 $ command2<br />C. command1 &amp; command2<br />E. command1 ^ command2<br />Answer: D<br /><br />QUESTION 180<br />Which of the following will cause command2 not to execute if command1 fails?<br />A. command1 &amp; command2<br />B. command1 &amp;&amp; command2<br />C. command1 || command2<br />D. command1 | command2<br />Answer: B<br /><br />QUESTION 181<br />How can you execute two commands, the second one being executed only if the first returns a nonzero<br />(program execution failed) exit status?<br />A. command1 || command2<br />B. command1 &amp;&amp; command2<br />C. command1 $$ command2<br />D. command1 @@ command2<br />Answer: A<br /><br />QUESTION 182<br />You want to repeat the last command you entered. How would you do this?<br />A. #<br />B. !!<br />C. #l<br />D. ##<br />Answer: B<br /><br />QUESTION 183<br />You want to view a listing of previously entered commands. What command would you use?<br />A. hist<br />B. histfile<br />C. showbuff<br />D. history<br />Answer: D<br /><br />QUESTION 184<br />You wish to copy 3 lines down from your cursor position into the and append it to the b buffer. Type the<br />key combination to do this.<br />Answer: &quot;B3yy<br /><br />QUESTION 185<br />You want to run three commands one after the other, but don't care what exit they had. What command<br />line would do this?<br />A. cmd1 cmd2 cmd3<br />B. cmd1, cmd2, cmd3<br />C. cmd1: cmd2: cmd3<br />D.<br />Answer: A<br />Explanation:<br />Linux allows you to enter multiple commands at one time. The only requirement is that you separate the<br />commands with a semicolon.<br /><br />QUESTION 186<br />Type in the command line that will execute cmd2 regardless of exit status of cmd1. Assume these<br />commands are on the systems PATH and the command names are cmd1 and cmd2.<br /><br />QUESTION 187<br />What command would execute cmd1 followed by cmd2, regardless of the exit status of cmd1?<br />A. cmd1 cmd2<br />B. cmd1 | cmd2<br />D. cmd1 &amp;&amp; cmd2<br />E. cmd1 || cmd2<br />Answer: C<br /><br />QUESTION 188<br />Which keystrokes will move the cursor 3 lines down and 4 characters to the right?<br />A. 3j4l<br />B. 3k4m<br />C. 3h4j<br />D. 3l4k<br />E. 3m4k<br />Answer: A<br /><br />QUESTION 189<br />You want to repeat a command that began with the letters 'ab'. How would you do this?<br />A. !ab<br />B. list ab<br />C. #ab<br />D. show ab<br />Answer: A<br /><br />QUESTION 190<br />What option is used with the useradd command to specify the user's home directory?<br />A. -d<br />B. -h<br />C. -u<br />D. -a<br />Answer: A<br /><br />QUESTION 191<br />What switch is used with the usermod command to change a user's secondary groups?<br />A. -G<br />B. -group<br />C. -d<br />D. -U<br />Answer: A<br /><br />QUESTION 192<br />You are adding a new user. You want to create the user's home directory only if the directory does not<br />exist. Which of the following would accomplish this?<br />A. useradd -m<br />B. useradd -h -y<br />C. useradd -u<br />D. useradd -h<br />Answer: A<br /><br />QUESTION 193<br />You want a user's account to expire in ten days. What option used with the useradd command will allow<br />you to do this?<br />A. -e<br />B. -u<br />C. -d<br />D. -t<br />Answer: A<br /><br />QUESTION 194<br />What switch is used with the useradd command to specify a user's initial group?<br />A. -g<br />B. -i<br />C. -u<br />D. -ig<br />Answer: A<br /><br />QUESTION 195<br />What option is used with the useradd command to specify the user's user id?<br />A. -u<br />B. -s<br />C. -ui<br />D. -id<br />Answer: A<br /><br />QUESTION 196<br />What option is used with the useradd command to specify the user's login shell?<br />A. -s<br />B. -l<br />C. -u<br />D. -sh<br />Answer: A<br /><br />QUESTION 197<br />You want there to be 3 grace days after a password expires before an account becomes disabled. How<br />would you do this?<br />A. Use the useradd command with the -f switch<br />B. Check the delay option in user admin<br />C. Edit the user's user.conf file<br />D. Use the useradd command with the -d switch<br />Answer: A<br /><br />QUESTION 198<br />Which of the following can be used to change a user's home directory?<br />A. usermod -d<br />B. usermod -h<br />C. usermod -u<br />D. usermod -c<br />Answer: A<br /><br />QUESTION 199<br />You had a contractor come into your company. You originally set his account to expire after thirty days. You<br />now need to change this. How can you do this?<br />A. usermod -e<br />B. usermod -a<br />C. usermod -x<br />D. usermod -d<br />Answer: A<br /><br />QUESTION 200<br />Which of these commands would report how many total accounts (including special accounts) there are?<br />A. count /etc/passwd<br />B. nl /etc/passwd | head<br />C. wc --users /etc/passwd<br />D. wc --lines /etc/passwd<br />E. expand --lines /etc/passwd<br />Answer: D<br /><br />QUESTION 201<br />What does the following command do?<br />cat '$TEST'<br />A. Displays a bash syntax error message.<br />B. Displays the contents of the file named $TEST if it exists.<br />C. Waits for the user to enter text and then echos the text back.<br />D. Displays the contents of the file named inside the back quotes.<br />E. Displays the contents of the named by the environment variable TEST.<br />Answer: B<br /><br />QUESTION 202<br />file1 and file2 are text files in your local directory.<br />file1 contains this:<br />allan<br />bart<br />ceasar<br />file2 contains this:<br />alicia<br />beatrice<br />Cecilia<br />What would the output of the following command be?<br />tac file1 file2<br />A. allan/ bart/ ceasar/ alicia/ beatrice/ cecilia<br />B. alicia/ beatrice/ cecilia/ allan/ bart/ ceasar<br />C. alicia/ beatrice/ cecilia/ ceasar/ bart/ allan<br />D. cecilia/ beatrice/ alicia/ ceasar/ bart/ allan<br />E. ceasar/ bart/ allan/ cecilia/ beatrice/ alicia<br />Answer: E<br /><br />QUESTION 203<br />Which of the following would copy the file file1.txt to tile2.txt?<br />A. cp file1.txt | file2.txt<br />B. cat file1.txt | file2.txt<br />C. cat file1.txt &gt; file2.txt<br />D. copy file1.txt | file2.txt<br />E. cat | file1.txt |file2.txt<br />Answer: C<br /><br />QUESTION 204<br />What command would help you identify the I/O address range being used by the network card?<br />A. cat/proc/modules<br />B. cat/proc/devices<br />C. cat/proc/meminfo<br />D. cat/io/dma<br />E. cat/proc/ioports<br />Answer: E<br /><br />QUESTION 205<br />Type the command will identify the io address range used by a NIC?<br />Answer: cat /proc/ioports<br />QUESTION 206<br />What is the result of the following command?<br /># cat 'echo &quot;$ Certkiller<br />a) A syntax error<br />b) The value of $ Certkiller<br />c) cat followed by the value of $ Certkiller<br />d) echo followed by the value of $ Certkiller<br />e) echo followed by $ Certkiller<br />Answer: A<br /><br />QUESTION 207<br />To convert all uppercase letters in stream to lowercase, pipe the stream into which command:<br />A. tr A-Z a-z<br />B. tac A-Z a-z<br />C. sed /A-Z a-z<br />D. sed -tolower<br />E. conv [A-Z] [a-z]<br />Answer: A<br /><br />QUESTION 208<br />Which of the following command would most likely be used to output a file in reverse? Choose TWO<br />correct answers.<br />A. tac<br />B. pr<br />C. rev<br />D. sed<br />E. back<br />Answer: A, B<br /><br />QUESTION 209<br />You have a file with the following contents:<br />allan<br />bart<br />ceasar<br />alicia<br />beatrice<br />cecilia<br />What single command could you use to list the file contents in reverse order? (Include only the command<br />without options or arguments)<br />Answer: tac<br /><br />QUESTION 210<br />You have a file with the following contents:<br />allan<br />bart<br />ceasar<br />alicia<br />beatrice<br />Cecilia<br />What single command could you use to list the file contents in reverse order? Please include only the<br />command without options or arguments.<br />Answer: tac<br /><br />QUESTION 211<br />What command will easily convert tabs in files to spaces?<br />A. convert<br />B. expand<br />C. tr<br />D. sed<br />E. None of the above<br />Answer: B<br /><br />QUESTION 212<br />Which of the following would do the same as the command cat &lt; file1.txt &gt; file2.txt?<br />A. cat &lt; file1.txt file2.txt<br />B. cat file1.txt &gt;file2.txt<br />C. cat &lt;file1.txt | file2.txt<br />D. cat file 1.txt | file2.txt<br />E. cp file1.txt&gt;file2.txt<br />Answer: B<br /><br />QUESTION 213<br />Which of the commands will show you only the middle 10 lines of a 30 line text file named textfile?<br />A. head -n 11-20 textfile<br />B. head -n 20 textfile | tail<br />C. tail -n 11-20<br />D. cat textfile | pr -n 11-20<br />E. nl -n 11-30 textfile<br />Answer: B<br /><br />QUESTION 214<br />Which command will display in reverse order a file that is numbered from 1 to End of File?<br />A. cat file | nl | pr<br />B. cat file | nl | tac<br />C. cat file | tac | nl<br />D. cat file | pr -n | reverse<br />E. None of the above<br />Answer: B<br /><br />QUESTION 215<br />What command will show the first 10 lines of a file by default?<br />A. head<br />B. cat<br />C. tac<br />D. nl<br />E. tail<br />Answer: A<br /><br />QUESTION 216<br />What command will show the last 10 lines of a file by default?<br />A. tail<br />B. head<br />C. cat<br />D. prstat<br />E. ps<br />Answer: A<br /><br />QUESTION 217<br />Your lead sysadmin has asked you to add a second NIC to a Linux machine.<br />Which of the following commands would be best to determine which interrupts are currently in use on this<br />machine?<br />A. cat /proc/ioports<br />B. cat /proc/interrupts<br />C. cat /proc/memoryinfo<br />D. which interrupts<br />E. tail /var/log/messages<br />Answer: B<br /><br />QUESTION 218<br />Which of the following will copy file1.txt to file2.txt? Choose Two.<br />A. cat file1.txt &gt; file2.txt<br />B. cat file1.txt | file2.txt<br />C. cp file1.txt &gt; file2.txt<br />D. cp file1.txt file2.txt<br />E. cpio &lt; file1.txt &gt; file2.txt<br />Answer: A, D<br /><br />QUESTION 219<br />What utility would use to remove/display columns from each line of a file?<br />A. pwd<br />B. col<br />C. cut<br />D. tail<br />E. extract<br />Answer: C<br /><br />QUESTION 220<br />After executing the following command line, what will be the contents of the file myout.txt?<br />echo \&quot; Certkiller \&quot; | cat &gt; myout.txt<br />A. Certkiller<br />B. &quot; Certkiller &quot;<br />C. Certkiller cat<br />D. the file is empty<br />Answer: B<br /><br />QUESTION 221<br />You wish to cut the 3rd and 7th fields from a colon (:) delimited text file called 'my Certkiller ' and display<br />them on the screen. Type the command that would do this?<br />Answer: cut -d : -f 3,7 my Certkiller<br />Answer: cut -d: -f3,7 my Certkiller<br />Answer: cut -f3,7 -d: my Certkiller<br />Answer: cut -f 3,7 -d : my Certkiller<br /><br />QUESTION 222<br />What command returns the first few lines of a given file?<br />Answer: head<br /><br />QUESTION 223<br />What command is used to display a file in octal format?<br />Answer: od<br /><br />QUESTION 224<br />You need to replace all instances of the word Certkiller with Certkiller in a file called file.txt, and send the<br />output to a file named Certkiller .txt. Type the simplest command string to accomplish this.<br />Answer: sed 's/ Certkiller / Certkiller /g' file.txt &gt; Certkiller .txt<br /><br />QUESTION 225<br />You want to redirect the last 30 lines of a file to another file.<br />What single command would best fit your needs?<br />Answer: tail<br />Explanation: exact is: tail *n30 &quot;file name&quot;<br /><br />QUESTION 226<br />Which line below would count the total number of lines with the word &quot; Certkiller &quot; in<br />/var/log/maillog?<br />A. wc -l ' Certkiller /var/log/maillog'<br />B. for &quot; Certkiller &quot; in [maillog (count) +1]<br />C. wc -l /var/log/maillog | grep ' Certkiller '<br />D. cat /var/log/maillog | grep ' Certkiller ' | wc -l<br />E. cat /var/log/mailog | grep ' Certkiller ' | wc -r<br />Answer: D<br /><br />QUESTION 227<br />Which of the following commands can you use to rename a file in Linux?<br />A. n<br />B. mv<br />C. new<br />D. rm<br />Answer: D<br />QUESTION 228<br />What dose the command cd~foo do?<br />A. It will take you to the ~foo directory.<br />B. It will create the foo directory and change to it<br />C. It will take you to the home directory of the user &quot;foo&quot;<br />D. It will change the directory to the system foo directory.<br />E. It will change to the foo directory in your home directory.<br />Answer: C<br /><br />QUESTION 229<br />As root you have navigated to directory /B. You wish to move all of the files and directories from<br />directory /A to directory /B. Which of the following options would be the most appropriate command line<br />to execute this task?<br />A. cp /a/* .<br />B. mv -f /A/* .<br />C. mv -Rf /a/* .<br />D. cp -f /a/* ..<br />E. cp -rf /A/* /b/<br />Answer: B<br />QUESTION 230<br />One of the lines in the output from the command 'ls -l/home/pomes' is:<br />drwxrwsr-x 3 devel poms 1024 Oct 22 16:28 foo<br />The output from the command groups bubba is:<br />bubba : bubba poms acts<br />If user bubba executes the command touch/home/poms/foo/bar, which TWO of the following must be<br />true?<br />A. The group for /home/poms/foo/bar will be poms.<br />B. The owner for /home/poms/foo/bar will be devel<br />C. The owner for /home/poms/foo/bar will be bubba.<br />D. The group for /home/poms/foo/bar will be bubba.<br />E. The permissions for /home/poms/foo/bar will allow group read.<br />Answer: A, C<br /><br />QUESTION 231<br />Which command removes all subdirectories in /tmp, regardless of whether they are<br />non-existent or in use?<br />A. del /tmp/*<br />B. m -rf /tmp<br />C. rm -Ra /tmp/*<br />D. rm -rf /tmp/*<br />E. delete /tmp/*,*<br />Answer: D<br />QUESTION 232<br />A directory contains the following files:<br />#ls<br />ratas saran jacaw cabal cabin<br />You issue the command &quot;ls | grep .a[^b]a.&quot;, what files are returned by the command? Choose all that<br />apply.<br />A. ratas<br />B. jacaw<br />C. saran<br />D. cabal<br />E. cabin<br />Answer: A, B, C<br /><br />QUESTION 233<br />You need to display all files in the current directory that start with a &quot;a&quot; and end with a &quot;v&quot;, regardless<br />of their length or use of delimiters. Choose the best answer.<br />  <div class="more"><a href="http://kill2266.pixnet.net/blog/post/21476776">(Read More...)</a></div>]]></content>
    <category term="No Category"/>
    <wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://kill2266.pixnet.net/blog/post/21476776#comments</wfw:comment>
  </entry>
  <entry xmlns:wfw="http://wellformedweb.org/CommentAPI/">
    <id>http://kill2266.pixnet.net/blog/post/21474209</id>
    <title><![CDATA[常用網管指令(9/17更新)]]></title>
    <updated>2008-08-18T01:47:49+08:00</updated>
    <link rel="alternate" href="http://kill2266.pixnet.net/blog/post/21474209"/>
    <summary><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; netstat參數　  netstat參數--&gt;qqw轉移&nbsp;-A 顯示任何關聯的協議控制塊的地址。主要用於調試&nbsp;-a 顯示所有套接字的狀態。在一般情況下不顯示與服務器進程相關聯的套接字&nbsp;-i 顯示自動配置接口的狀態。那些在系統初始引導后配置的接口狀態不在輸出之列&nbsp;-m 打印網絡存儲器的使用情況&nbsp;-n 打印實際地址，而不是對地址的解釋或者顯示主電腦，網絡名之類的符號&nbsp;-r 打印路由選擇表&nbsp;-f address -family對於給出名字的地址簇打印統計數字和控制塊資訊。到目前為止，唯一支持的地址簇是inet&nbsp;-I interface 只打印給出名字的接口狀態&nbsp;-p protocol-name 只打印給出名字的協議的統計數字和協議控制塊資訊&nbsp;-s 打印每個協議的統計數字&nbsp;-t 在輸出顯示中用時間資訊代替隊列長度資訊。  netstat命令的列標題 Name 接口的名字 Mtu 接口的最大傳輸單位 Net/Dest 接口所在的網絡 Address 接口的IP地址 Ipkts 接收到的資料包數目 Ierrs 接收到時已損坏的資料包數目 Opkts 送出的資料包數目 Oeers 送出時已損坏的資料包數目 Collisions 由這個接口所記錄的網絡沖突數目&nbsp; 下方是另ㄧ份筆記 一，ping它是用來檢查網絡是否通暢或者網絡連接速度的命令。作為一個生活在網絡上的管理員或者黑客來說，ping命令是第一個必須掌握的DOS命令，它所利用的原理是這樣的：網絡上的機器都有唯一確定的IP地址，我們給目標IP地址發送一個數據包，對方就要返回一個同樣大小的數據包，根據返回的數據包我們可以確定目標主機的存在，可以初步判斷目標主機的操作繫統等。下面就來看看它的一些常用的操作。先看看幫助吧，在DOS窗口中鍵入：ping/? 回車，。所示的幫助畫面。在此，我們隻掌握一些基本的很有用的參數就可以了（下同）。-t表示將不間斷向目標IP發送數據包，直到我們強迫其停止。試想，如果你使用100M的寬帶接入，而目標IP是56K的小貓，那麼要不了多久，目標IP就因為承受不了這麼多的數據而掉線，呵呵，一次攻擊就這麼簡單的實現了。-l定義發送數據包的大小，默認為32字節，我們利用它可以最大定義到65500字節。結合上面介紹的-t參數一起使用，會有更好的效果哦。-n定義向目標IP發送數據包的次數，默認為3次。如果網絡速度比較慢，3次對我們來說也浪費了不少時間，因為現在我們的目的僅僅是判斷目標IP是否存在，那麼就定義為一次吧。說明一下，如果-t 參數和 -n參數一起使用，ping命令就以放在後面的參數為標準，比如&ldquo;ping IP -t -n3＂，雖然使用了-t參數，但並不是一直ping下去，而是隻ping 3次。另外，ping命令不一定非得pingIP，也可以直接ping主機域名，這樣就可以得到主機的IP。下面我們舉個例子來說明一下具體用法。這裡time=2表示從發出數據包到接受到返回數據包所用的時間是2秒，從這裡可以判斷網絡連接速度的大小。從TTL的返回值可以初步判斷被ping主機的操作繫統，之所以說&ldquo;初步判斷＂是因為這個值是可以修改的。這裡TTL=32表示操作繫統可能是win98。（小知識：如果TTL=128，則表示目標主機可能是Win2000；如果TTL=250，則目標主機可能是Unix）至於利用ping命令可以快速查找局域網故障，可以快速搜索最快的QQ服務器，可以對別人進行ping攻擊 這些就靠大家自己發揮了。二，nbtstat該命令使用TCP/IP上的NetBIOS顯示協議統計和當前TCP/IP連接，使用這個命令你可以得到遠程主機的NETBIOS信息，比如用戶名、所屬的工作組、網卡的MAC地址等。在此我們就有必要了解幾個基本的參數。-a 使用這個參數，隻要你知道了遠程主機的機器名稱，就可以得到它的NETBIOS信息（下同）。-A 這個參數也可以得到遠程主機的NETBIOS信息，但需要你知道它的IP。-n 列出本地機器的NETBIOS信息。當得到了對方的IP或者機器名的時候，就可以使用nbtstat命令來進一步得到對方的信息了，這又增加了我們入侵的保險繫數。三，netstat這是一個用來查看網絡狀態的命令，操作簡便功能強大。-a 查看本地機器的所有開放端口，可以有效發現和預防木馬，可以知道機器所開的服務等信息，如圖4。這裡可以看出本地機器開放有FTP服務、Telnet服務、郵件服務、WEB服務等。用法：netstat -a IP。-r 列出當前的路由信息，告訴我們本地機器的網關、子網掩碼等信息。用法：netstat -r IP。四，tracert跟蹤路由信息，使用此命令可以查出數據從本地機器傳輸到目標主機所經過的所有途徑，這對我們了解網絡布局和結構很有幫助。如圖5。這裡說明數據從本地機器傳輸到192.168.0.1的機器上，中間沒有經過任何中轉，說明這兩臺機器是在同一段局域網內。用法：tracert IP。五，net這個命令是網絡命令中最重要的一個，必須透徹掌握它的每一個子命令的用法，因為它的功能實在是太強大了，這簡直就是微軟為我們提供的最好的入侵工具。首先讓我們來看一看它都有那些子命令，鍵入net/?回車如圖6。在這裡，我們重點掌握幾個入侵常用的子命令。net view使用此命令查看遠程主機的所以共享資源。命令格式為net view \IP。net use把遠程主機的某個共享資源影射為本地盤符，圖形界面方便使用，呵呵。命令格式為net use x:\IP\sharename。上面一個表示把192.168.0.5IP的共享名為magic的目錄影射為本地的Z盤。下面表示和192.168.0.7建立IPC$連接（net use \IP\IPC$ "password" /user:"name"），建立了IPC$連接後，呵呵，就可以上傳文件了：copy nc.exe\192.168.0.7\admin$，表示把本地目錄下的nc.exe傳到遠程主機，結合後面要介紹到的其他DOS命令就可以實現入侵了。net start使用它來啟動遠程主機上的服務。當你和遠程主機建立連接後，如果發現它的什麼服務沒有啟動，而你又想利用此服務怎麼辦？就使用這個命令來啟動吧。用法：netstart servername，如圖9，成功啟動了telnet服務。net stop入侵後發現遠程主機的某個服務礙手礙腳，怎麼辦？利用這個命令停掉就ok了，用法和net start同。net user查看和帳戶有關的情況，包括新建帳戶、刪除帳戶、查看特定帳戶、激活帳戶、帳戶禁用等。這對我們入侵是很有利的，最重要的，它為我們克隆帳戶提供了前提。鍵入不帶參數的netuser，可以查看所有用戶，包括已經禁用的。下面分別講解。1，net user abcd 1234/add，新建一個用戶名為abcd，密碼為1234的帳戶，默認為user組成員。2，net user abcd /del，將用戶名為abcd的用戶刪除。3，net user abcd /active:no，將用戶名為abcd的用戶禁用。4，net user abcd /active:yes，激活用戶名為abcd的用戶。5，net user abcd，查看用戶名為abcd的用戶的情況net localgroup查看所有和用戶組有關的信息和進行相關操作。鍵入不帶參數的netlocalgroup即列出當前所有的用戶組。在入侵過程中，我們一般利用它來把某個帳戶提升為administrator組帳戶，這樣我們利用這個帳戶就可以控制整個遠程主機了。用法：netlocalgroup groupname username /add。現在我們把剛纔新建的用戶abcd加到administrator組裡去了，這時候abcd用戶已經是超級管理員了，呵呵，你可以再使用netuserabcd來查看他的狀態，和圖10進行比較就可以看出來。但這樣太明顯了，網管一看用戶情況就能漏出破綻，所以這種方法隻能對付菜鳥網管，但我們還得知道。現在的手段都是利用其他工具和手段克隆一個讓網管看不出來的超級管理員，這是後話。有興趣的朋友可以參照《黑客防線》第30期上的《由淺入深解析隆帳戶》一文。net time這個命令可以查看遠程主機當前的時間。如果你的目標隻是進入到遠程主機裡面，那麼也許就用不到這個命令了。但簡單的入侵成功了，難道隻是看看嗎？我們需要進一步滲透。這就連遠程主機當前的時間都需要知道，因為利用時間和其他手段（後面會講到）可以實現某個命令和程序的定時啟動，為我們進一步入侵打好基礎。用法：nettime \IP。六，at這個命令的作用是安排在特定日期或時間執行某個特定的命令和程序（知道nettime的重要了吧？）。當我們知道了遠程主機的當前時間，就可以利用此命令讓其在以後的某個時間（比如2分鐘後）執行某個程序和命令。用法：attime command \computer。表示在6點55分時，讓名稱為a-01的計算機開啟telnet服務（這裡net starttelnet即為開啟telnet服務的命令）。七，ftp大家對這個命令應該比較熟悉了吧？網絡上開放的ftp的主機很多，其中很大一部分是匿名的，也就是說任何人都可以登陸上去。現在如果你掃到了一臺開放ftp服務的主機（一般都是開了21端口的機器），如果你還不會使用ftp的命令怎麼辦？下面就給出基本的ftp命令使用方法。首先在命令行鍵入ftp回車，出現ftp的提示符，這時候可以鍵入&ldquo;help＂來查看幫助（任何DOS命令都可以使用此方法查看其幫助)。大家可能看到了，這麼多命令該怎麼用？其實也用不到那麼多，掌握幾個基本的就夠了。首先是登陸過程，這就要用到open了，直接在ftp的提示符下輸入&ldquo;open 主機IPftp端口＂回車即可，一般端口默認都是21，可以不寫。接著就是輸入合法的用戶名和密碼進行登陸了，這裡以匿名ftp為例介紹。用戶名和密碼都是ftp，密碼是不顯示的。當提示**** loggedin時，就說明登陸成功。這裡因為是匿名登陸，所以用戶顯示為Anonymous。接下來就要介紹具體命令的使用方法了。dir 跟DOS命令一樣，用於查看服務器的文件，直接敲上dir回車，就可以看到此ftp服務器上的文件。cd 進入某個文件夾。get 下載文件到本地機器。put 上傳文件到遠程服務器。這就要看遠程ftp服務器是否給了你可寫的權限了，如果可以，呵呵，該怎麼利用就不多說了，大家就自由發揮去吧。delete 刪除遠程ftp服務器上的文件。這也必須保證你有可寫的權限。bye 退出當前連接。quit 同上。八，telnet功能強大的遠程登陸命令，幾乎所有的入侵者都喜歡用它，屢試不爽。為什麼？它操作簡單，如同使用自己的機器一樣，隻要你熟悉DOS命令，在成功以administrator身份連接了遠程機器後，就可以用它來干你想干的一切了。下面介紹一下使用方法，首先鍵入telnet回車，再鍵入help查看其幫助信息。然後在提示符下鍵入open IP回車，這時就出現了登陸窗口，讓你輸入合法的用戶名和密碼，這裡輸入任何密碼都是不顯示的。當輸入用戶名和密碼都正確後就成功建立了telnet連接，這時候你就在遠程主機上具有了和此用戶一樣的權限，利用DOS命令就可以實現你想干的事情了。這裡我使用的超級管理員權限登陸的。到這裡為止，網絡DOS命令的介紹就告一段落了，這裡介紹的目的隻是給菜鳥網管一個印像，讓其知道熟悉和掌握網絡DOS命令的重要性。其實和網絡有關的DOS命令還遠不止這些，這裡隻是拋磚引玉，希望能對廣大菜鳥網管有所幫助。學好DOS對當好網管有很大的幫助，特別的熟練掌握了一些網絡的DOS命令。另外大家應該清楚，任何人要想進入繫統，必須得有一個合法的用戶名和密碼（輸入法漏洞差不多絕跡了吧），哪怕你拿到帳戶的隻有一個很小的權限，你也可以利用它來達到最後的目的。所以堅決消滅空口令，給自己的帳戶加上一個強壯的密碼，是最好的防御弱口令入侵的方法。最後，由衷的說一句，培養良好的安全意識纔是最重要的。 ]]></summary>
    <content type="html"><![CDATA[<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR> <P><SPAN style="FONT-FAMILY: Arial">netstat參數　 </SPAN></P> <P><SPAN style="FONT-FAMILY: Arial">netstat參數--&gt;qqw轉移&nbsp;<BR><BR>-A 顯示任何關聯的協議控制塊的地址。主要用於調試&nbsp;<BR><BR>-a 顯示所有套接字的狀態。在一般情況下不顯示與服務器進程相關聯的套接字&nbsp;<BR><BR>-i 顯示自動配置接口的狀態。那些在系統初始引導后配置的接口狀態不在輸出之列&nbsp;<BR><BR>-m 打印網絡存儲器的使用情況&nbsp;<BR><BR>-n 打印實際地址，而不是對地址的解釋或者顯示主電腦，網絡名之類的符號&nbsp;<BR><BR>-r 打印路由選擇表&nbsp;<BR><BR>-f address -family對於給出名字的地址簇打印統計數字和控制塊資訊。到目前為止，唯一支持的地址簇是inet&nbsp;<BR><BR>-I interface 只打印給出名字的接口狀態&nbsp;<BR><BR>-p protocol-name 只打印給出名字的協議的統計數字和協議控制塊資訊&nbsp;<BR><BR>-s 打印每個協議的統計數字&nbsp;<BR><BR>-t 在輸出顯示中用時間資訊代替隊列長度資訊。 </SPAN></P><SPAN style="FONT-FAMILY: Arial"> <P><BR>netstat命令的列標題 <BR>Name 接口的名字 <BR>Mtu 接口的最大傳輸單位 <BR>Net/Dest 接口所在的網絡 <BR>Address 接口的IP地址 <BR>Ipkts 接收到的資料包數目 <BR>Ierrs 接收到時已損坏的資料包數目 <BR>Opkts 送出的資料包數目 <BR>Oeers 送出時已損坏的資料包數目 <BR>Collisions 由這個接口所記錄的網絡沖突數目&nbsp;</P> <P>下方是另ㄧ份筆記</P> <P>一，ping<BR>它是用來檢查網絡是否通暢或者網絡連接速度的命令。作為一個生活在網絡上的管理員或者黑客來說，ping命令是第一個必須掌握的DOS命令，它所利用的原理是這樣的：網絡上的機器都有唯一確定的IP地址，我們給目標IP地址發送一個數據包，對方就要返回一個同樣大小的數據包，根據返回的數據包我們可以確定目標主機的存在，可以初步判斷目標主機的操作繫統等。下面就來看看它的一些常用的操作。先看看幫助吧，在DOS窗口中鍵入：ping<BR>/? 回車，。所示的幫助畫面。在此，我們隻掌握一些基本的很有用的參數就可以了（下同）。<BR>-t表示將不間斷向目標IP發送數據包，直到我們強迫其停止。試想，如果你使用100M的寬帶接入，而目標IP是56K的小貓，那麼要不了多久，目標IP就因為承受不了這麼多的數據而掉線，呵呵，一次攻擊就這麼簡單的實現了。<BR>-l定義發送數據包的大小，默認為32字節，我們利用它可以最大定義到65500字節。結合上面介紹的-t參數一起使用，會有更好的效果哦。<BR>-n定義向目標IP發送數據包的次數，默認為3次。如果網絡速度比較慢，3次對我們來說也浪費了不少時間，因為現在我們的目的僅僅是判斷目標IP是否存在，那麼就定義為一次吧。<BR>說明一下，如果-t 參數和 -n參數一起使用，ping命令就以放在後面的參數為標準，比如&ldquo;ping IP -t -n<BR>3＂，雖然使用了-t參數，但並不是一直ping下去，而是隻ping 3次。另外，ping命令不一定非得ping<BR>IP，也可以直接ping主機域名，這樣就可以得到主機的IP。下面我們舉個例子來說明一下具體用法。<BR>這裡time=2表示從發出數據包到接受到返回數據包所用的時間是2秒，從這裡可以判斷網絡連接速度的大小。從TTL的返回值可以初步判斷被ping主機的操作繫統，之所以說&ldquo;初步判斷＂是因為這個值是可以修改的。這裡TTL=32表示操作繫統可能是win98。<BR>（小知識：如果TTL=128，則表示目標主機可能是Win2000；如果TTL=250，則目標主機可能是Unix）<BR>至於利用ping命令可以快速查找局域網故障，可以快速搜索最快的QQ服務器，可以對別人進行ping攻擊 這些就靠大家自己發揮了。<BR>二，nbtstat<BR>該命令使用TCP/IP上的NetBIOS顯示協議統計和當前TCP/IP連接，使用這個命令你可以得到遠程主機的NETBIOS信息，比如用戶名、所屬的工作組、網卡的MAC地址等。在此我們就有必要了解幾個基本的參數。<BR>-a 使用這個參數，隻要你知道了遠程主機的機器名稱，就可以得到它的NETBIOS信息（下同）。<BR>-A 這個參數也可以得到遠程主機的NETBIOS信息，但需要你知道它的IP。<BR>-n 列出本地機器的NETBIOS信息。<BR>當得到了對方的IP或者機器名的時候，就可以使用nbtstat命令來進一步得到對方的信息了，這又增加了我們入侵的保險繫數。<BR>三，netstat這是一個用來查看網絡狀態的命令，操作簡便功能強大。<BR>-a 查看本地機器的所有開放端口，可以有效發現和預防木馬，可以知道機器所開的服務等信息，如圖4。<BR>這裡可以看出本地機器開放有FTP服務、Telnet服務、郵件服務、WEB服務等。用法：netstat -a IP。<BR>-r 列出當前的路由信息，告訴我們本地機器的網關、子網掩碼等信息。用法：netstat -r IP。<BR>四，tracert跟蹤路由信息，使用此命令可以查出數據從本地機器傳輸到目標主機所經過的所有途徑，這對我們了解網絡布局和結構很有幫助。如圖5。<BR>這裡說明數據從本地機器傳輸到192.168.0.1的機器上，中間沒有經過任何中轉，說明這兩臺機器是在同一段局域網內。用法：tracert IP。<BR>五，net這個命令是網絡命令中最重要的一個，必須透徹掌握它的每一個子命令的用法，因為它的功能實在是太強大了，這簡直就是微軟為我們提供的最好的入侵工具。首先讓我們來看一看它都有那些子命令，鍵入net/?回車如圖6。<BR>在這裡，我們重點掌握幾個入侵常用的子命令。<BR>net view使用此命令查看遠程主機的所以共享資源。命令格式為net view \IP。<BR>net use把遠程主機的某個共享資源影射為本地盤符，圖形界面方便使用，呵呵。命令格式為net use x:<BR>\IP\sharename。上面一個表示把192.168.0.5IP的共享名為magic的目錄影射為本地的Z盤。下面表示和192.168.0.7<BR>建立IPC$連接（net use \IP\IPC$ "password" /user:"name"），建立了IPC$連接後，呵呵，就可以上傳文件了：copy nc.exe<BR>\192.168.0.7\admin$，表示把本地目錄下的nc.exe傳到遠程主機，結合後面要介紹到的其他DOS命令就可以實現入侵了。<BR>net start使用它來啟動遠程主機上的服務。當你和遠程主機建立連接後，如果發現它的什麼服務沒有啟動，而你又想利用此服務怎麼辦？就使用這個命令來啟動吧。用法：netstart servername，如圖9，成功啟動了telnet服務。<BR>net stop入侵後發現遠程主機的某個服務礙手礙腳，怎麼辦？利用這個命令停掉就ok了，用法和net start同。<BR>net user查看和帳戶有關的情況，包括新建帳戶、刪除帳戶、查看特定帳戶、激活帳戶、帳戶禁用等。這對我們入侵是很有利的，最重要的，它為我們克隆帳戶提供了前提。鍵入不帶參數的netuser，可以查看所有用戶，包括已經禁用的。下面分別講解。<BR>1，net user abcd 1234/add，新建一個用戶名為abcd，密碼為1234的帳戶，默認為user組成員。<BR>2，net user abcd /del，將用戶名為abcd的用戶刪除。<BR>3，net user abcd /active:no，將用戶名為abcd的用戶禁用。<BR>4，net user abcd /active:yes，激活用戶名為abcd的用戶。<BR>5，net user abcd，查看用戶名為abcd的用戶的情況<BR>net localgroup查看所有和用戶組有關的信息和進行相關操作。鍵入不帶參數的net<BR>localgroup即列出當前所有的用戶組。在入侵過程中，我們一般利用它來把某個帳戶提升為administrator組帳戶，這樣我們利用這個帳戶就可以控制整個遠程主機了。用法：netlocalgroup groupname username /add。<BR>現在我們把剛纔新建的用戶abcd加到administrator組裡去了，這時候abcd用戶已經是超級管理員了，呵呵，你可以再使用netuserabcd來查看他的狀態，和圖10進行比較就可以看出來。但這樣太明顯了，網管一看用戶情況就能漏出破綻，所以這種方法隻能對付菜鳥網管，但我們還得知道。現在的手段都是利用其他工具和手段克隆一個讓網管看不出來的超級管理員，這是後話。有興趣的朋友可以參照《黑客防線》第30期上的《由淺入深解析隆帳戶》一文。<BR>net time這個命令可以查看遠程主機當前的時間。如果你的目標隻是進入到遠程主機裡面，那麼也許就用不到這個命令了。但簡單的入侵成功了，難道隻是看看嗎？我們需要進一步滲透。這就連遠程主機當前的時間都需要知道，因為利用時間和其他手段（後面會講到）可以實現某個命令和程序的定時啟動，為我們進一步入侵打好基礎。用法：nettime \IP。<BR>六，at這個命令的作用是安排在特定日期或時間執行某個特定的命令和程序（知道net<BR>time的重要了吧？）。當我們知道了遠程主機的當前時間，就可以利用此命令讓其在以後的某個時間（比如2分鐘後）執行某個程序和命令。用法：attime command \computer。表示在6點55分時，讓名稱為a-01的計算機開啟telnet服務（這裡net starttelnet即為開啟telnet服務的命令）。<BR>七，ftp大家對這個命令應該比較熟悉了吧？網絡上開放的ftp的主機很多，其中很大一部分是匿名的，也就是說任何人都可以登陸上去。現在如果你掃到了一臺開放ftp服務的主機（一般都是開了21端口的機器），如果你還不會使用ftp的命令怎麼辦？下面就給出基本的ftp命令使用方法。<BR>首先在命令行鍵入ftp回車，出現ftp的提示符，這時候可以鍵入&ldquo;help＂來查看幫助（任何DOS命令都可以使用此方法查看其幫助)。大家可能看到了，這麼多命令該怎麼用？其實也用不到那麼多，掌握幾個基本的就夠了。<BR>首先是登陸過程，這就要用到open了，直接在ftp的提示符下輸入&ldquo;open 主機IPftp端口＂回車即可，一般端口默認都是21，可以不寫。接著就是輸入合法的用戶名和密碼進行登陸了，這裡以匿名ftp為例介紹。<BR>用戶名和密碼都是ftp，密碼是不顯示的。當提示**** loggedin時，就說明登陸成功。這裡因為是匿名登陸，所以用戶顯示為Anonymous。接下來就要介紹具體命令的使用方法了。<BR>dir 跟DOS命令一樣，用於查看服務器的文件，直接敲上dir回車，就可以看到此ftp服務器上的文件。<BR>cd 進入某個文件夾。<BR>get 下載文件到本地機器。<BR>put 上傳文件到遠程服務器。這就要看遠程ftp服務器是否給了你可寫的權限了，如果可以，呵呵，該怎麼利用就不多說了，大家就自由發揮去吧。<BR>delete 刪除遠程ftp服務器上的文件。這也必須保證你有可寫的權限。<BR>bye 退出當前連接。<BR>quit 同上。<BR>八，telnet功能強大的遠程登陸命令，幾乎所有的入侵者都喜歡用它，屢試不爽。為什麼？它操作簡單，如同使用自己的機器一樣，隻要你熟悉DOS命令，在成功以administrator身份連接了遠程機器後，就可以用它來干你想干的一切了。下面介紹一下使用方法，首先鍵入telnet回車，再鍵入help查看其幫助信息。然後在提示符下鍵入open IP回車，這時就出現了登陸窗口，讓你輸入合法的用戶名和密碼，這裡輸入任何密碼都是不顯示的。<BR>當輸入用戶名和密碼都正確後就成功建立了telnet連接，這時候你就在遠程主機上具有了和此用戶一樣的權限，利用DOS命令就可以實現你想干的事情了。這裡我使用的超級管理員權限登陸的。<BR>到這裡為止，網絡DOS命令的介紹就告一段落了，這裡介紹的目的隻是給菜鳥網管一個印像，讓其知道熟悉和掌握網絡DOS命令的重要性。其實和網絡有關的DOS命令還遠不止這些，這裡隻是拋磚引玉，希望能對廣大菜鳥網管有所幫助。學好DOS對當好網管有很大的幫助，特別的熟練掌握了一些網絡的DOS命令。另外大家應該清楚，任何人要想進入繫統，必須得有一個合法的用戶名和密碼（輸入法漏洞差不多絕跡了吧），哪怕你拿到帳戶的隻有一個很小的權限，你也可以利用它來達到最後的目的。所以堅決消滅空口令，給自己的帳戶加上一個強壯的密碼，是最好的防御弱口令入侵的方法。<BR>最後，由衷的說一句，培養良好的安全意識纔是最重要的。</P> </SPAN>  <div class="more"><a href="http://kill2266.pixnet.net/blog/post/21474209">(Read More...)</a></div>]]></content>
    <category term="No Category"/>
    <wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://kill2266.pixnet.net/blog/post/21474209#comments</wfw:comment>
  </entry>
  <entry xmlns:wfw="http://wellformedweb.org/CommentAPI/">
    <id>http://kill2266.pixnet.net/blog/post/21474179</id>
    <title><![CDATA[Port 大全]]></title>
    <updated>2008-08-18T01:45:49+08:00</updated>
    <link rel="alternate" href="http://kill2266.pixnet.net/blog/post/21474179"/>
    <summary><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Port 大全 1/tcp tcpmux TCP Port Service Multiplexer 2/tcp compressnet Management Utility 3/tcp compressnet Compression Process 5/tcp rje Remote Job Entry 7/tcp echo Echo 9/tcp discard Discard 11/tcp systat Active Users 13/tcp daytime Daytime (RFC 867) 17/tcp qotd Quote of the Day 18/tcp msp Message Send Protocol 19/tcp chargen Character Generator 20/tcp ftp-data File Transfer [Default Data] 21/tcp ftp File Transfer [Control] 22/tcp ssh SSH Remote Login Protocol 23/tcp telnet Telnet 24/tcp any private mail system any private mail system 25/tcp smtp Simple Mail Transfer 27/tcp nsw-fe NSW User System FE 29/tcp msg-icp MSG ICP 31/tcp msg-auth MSG Authentication 33/tcp dsp Display Support Protocol 35/tcp any private printer server any private printer server 37/tcp time Time 38/tcp rap Route Access Protocol 39/tcp rlp Resource Location Protocol 41/tcp graphics Graphics 42/tcp nameserver Host Name Server 43/tcp nicname Who Is 44/tcp mpm-flags MPM FLAGS Protocol 45/tcp mpm Message Processing Module [recv] 46/tcp mpm-snd MPM [default send] 47/tcp ni-ftp NI FTP 48/tcp auditd Digital Audit Daemon 49/tcp tacacs Login Host Protocol (TACACS) 50/tcp re-mail-ck Remote Mail Checking Protocol 51/tcp la-maint IMP Logical Address Maintenance 52/tcp xns-time XNS Time Protocol 53/tcp domain Domain Name Server 54/tcp xns-ch XNS Clearinghouse 55/tcp isi-gl ISI Graphics Language 56/tcp xns-auth XNS Authentication 57/tcp any private terminal access any private terminal access 58/tcp xns-mail XNS Mail 59/tcp any private file service any private file service 60/tcp Unassigned Unassigned 61/tcp ni-mail NI MAIL 62/tcp acas ACA Services 63/tcp whois++ whois++ 64/tcp covia Communications Integrator (CI) 65/tcp tacacs-ds TACACS-Database Service 66/tcp sql*net Oracle SQL*NET 67/tcp bootps Bootstrap Protocol Server 68/tcp bootpc Bootstrap Protocol Client 69/tcp tftp Trivial File Transfer 70/tcp gopher Gopher 71/tcp netrjs-1 Remote Job Service 72/tcp netrjs-2 Remote Job Service 73/tcp netrjs-3 Remote Job Service 74/tcp netrjs-4 Remote Job Service 75/tcp any private dial out service any private dial out service 76/tcp deos Distributed External Object Store 77/tcp any private RJE service any private RJE service 78/tcp vettcp vettcp 79/tcp finger Finger 80/tcp http-www World Wide Web HTTP 81/tcp hosts2-ns HOSTS2 Name Server 82/tcp xfer XFER Utility 83/tcp mit-ml-dev MIT ML Device 84/tcp ctf Common Trace Facility 85/tcp mit-ml-dev MIT ML Device 86/tcp mfcobol Micro Focus Cobol 87/tcp any private terminal link any private terminal link 88/tcp kerberos Kerberos 89/tcp su-mit-tg SU/MIT Telnet Gateway 90/tcp dnsix DNSIX Securit Attribute Token Map 91/tcp mit-dov MIT Dover Spooler 92/tcp npp Network Printing Protocol 93/tcp dcp Device Control Protocol 94/tcp objcall Tivoli Object Dispatcher 95/tcp supdup SUPDUP 96/tcp dixie DIXIE Protocol Specification 97/tcp swift-rvf Swift Remote Virtural File Protocol 98/tcp tacnews TAC News 99/tcp metagram Metagram Relay 101/tcp hostname NIC Host Name Server 102/tcp iso-tsap ISO-TSAP Class 0 103/tcp gppitnp Genesis Point-to-Point Trans Net 104/tcp acr-nema ACR-NEMA Digital Imag. &amp; Comm. 300 105/tcp cso CCSO name server protocol 105/tcp csnet-ns Mailbox Name Nameserver 106/tcp 3com-tsmux 3COM-TSMUX 107/tcp rtelnet Remote Telnet Service 108/tcp snagas SNA Gateway Access Server 109/tcp pop2 Post Office Protocol - Version 2 110/tcp pop3 Post Office Protocol - Version 3 111/tcp sunrpc SUN Remote Procedure Call 112/tcp mcidas McIDAS Data Transmission Protocol 113/tcp ident 114/tcp audionews Audio News Multicast 115/tcp sftp Simple File Transfer Protocol 116/tcp ansanotify ANSA REX Notify 117/tcp uucp-path UUCP Path Service 118/tcp sqlserv SQL Services 119/tcp nntp Network News Transfer Protocol 120/tcp cfdptkt CFDPTKT 121/tcp erpc Encore Expedited Remote Pro.Call 122/tcp smakynet SMAKYNET 123/tcp ntp Network Time Protocol 124/tcp ansatrader ANSA REX Trader 125/tcp locus-map Locus PC-Interface Net Map Ser 126/tcp unitary Unisys Unitary Login 127/tcp locus-con Locus PC-Interface Conn Server 128/tcp gss-xlicen GSS X License Verification 129/tcp pwdgen Password Generator Protocol 130/tcp cisco-fna cisco FNATIVE 131/tcp cisco-tna cisco TNATIVE 132/tcp cisco-sys cisco SYSMAINT 133/tcp statsrv Statistics Service 134/tcp ingres-net INGRES-NET Service 135/tcp epmap DCE endpoint resolution 136/tcp profile PROFILE Naming System 137/tcp netbios-ns NETBIOS Name Service 138/tcp netbios-dgm NETBIOS Datagram Service 139/tcp netbios-ssn NETBIOS Session Service 140/tcp emfis-data EMFIS Data Service 141/tcp emfis-cntl EMFIS Control Service 142/tcp bl-idm Britton-Lee IDM 143/tcp imap Internet Message Access Protocol 144/tcp uma Universal Management Architecture 145/tcp uaac UAAC Protocol 146/tcp iso-tp0 ISO-IP0 147/tcp iso-ip ISO-IP 148/tcp jargon Jargon 149/tcp aed-512 AED 512 Emulation Service 150/tcp sql-net SQL-NET 151/tcp hems HEMS 152/tcp bftp Background File Transfer Program 153/tcp sgmp SGMP 154/tcp netsc-prod NETSC 155/tcp netsc-dev NETSC 156/tcp sqlsrv SQL Service 157/tcp knet-cmp KNET/VM Command/Message Protocol 158/tcp pcmail-srv PCMail Server 159/tcp nss-routing NSS-Routing 160/tcp sgmp-traps SGMP-TRAPS 161/tcp snmp SNMP 162/tcp snmptrap SNMPTRAP 163/tcp cmip-man CMIP/TCP Manager 164/tcp cmip-agent CMIP/TCP Agent 165/tcp xns-courier Xerox 166/tcp s-net Sirius Systems 167/tcp namp NAMP 168/tcp rsvd RSVD 169/tcp send SEND 170/tcp print-srv Network PostScript 171/tcp multiplex Network Innovations Multiplex 172/tcp cl/1 Network Innovations CL/1 173/tcp xyplex-mux Xyplex 174/tcp mailq MAILQ 175/tcp vmnet VMNET 176/tcp genrad-mux GENRAD-MUX 177/tcp xdmcp X Display Manager Control Protocol 178/tcp nextstep NextStep Window Server 179/tcp bgp Border Gateway Protocol 180/tcp ris Intergraph 181/tcp unify Unify 182/tcp audit Unisys Audit SITP 183/tcp ocbinder OCBinder 184/tcp ocserver OCServer 185/tcp remote-kis Remote-KIS 186/tcp kis KIS Protocol 187/tcp aci Application Communication Interface 188/tcp mumps Plus Five's MUMPS 189/tcp qft Queued File Transport 190/tcp gacp Gateway Access Control Protocol 191/tcp prospero Prospero Directory Service 192/tcp osu-nms OSU Network Monitoring System 193/tcp srmp Spider Remote Monitoring Protocol 194/tcp irc Internet Relay Chat Protocol 195/tcp dn6-nlm-aud DNSIX Network Level Module Audit 196/tcp dn6-smm-red DNSIX Session Mgt Module Audit Redir 197/tcp dls Directory Location Service 198/tcp dls-mon Directory Location Service Monitor 199/tcp smux SMUX 200/tcp src IBM System Resource Controller 201/tcp at-rtmp AppleTalk Routing Maintenance 202/tcp at-nbp AppleTalk Name Binding 203/tcp at-3 AppleTalk Unused 204/tcp at-echo AppleTalk Echo 205/tcp at-5 AppleTalk Unused 206/tcp at-zis AppleTalk Zone Information 207/tcp at-7 AppleTalk Unused 208/tcp at-8 AppleTalk Unused 209/tcp qmtp The Quick Mail Transfer Protocol 210/tcp z39.50 ANSI Z39.50 211/tcp 914c/g Texas Instruments 914C/G Terminal 212/tcp anet ATEXSSTR 214/tcp vmpwscs VM PWSCS 215/tcp softpc Insignia Solutions 216/tcp CAIlic Computer Associates Int'l License Server 217/tcp dbase dBASE Unix 218/tcp mpp Netix Message Posting Protocol 219/tcp uarps Unisys ARPs 220/tcp imap3 Interactive Mail Access Protocol v3 221/tcp fln-spx Berkeley rlogind with SPX auth 222/tcp rsh-spx Berkeley rshd with SPX auth 223/tcp cdc Certificate Distribution Center 242/tcp direct Direct 243/tcp sur-meas Survey Measurement 244/tcp dayna Dayna 245/tcp link LINK 246/tcp dsp3270 Display Systems Protocol 247/tcp subntbcst_tftp SUBNTBCST_TFTP 248/tcp bhfhs bhfhs 256/tcp rap RAP 257/tcp set Secure Electronic Transaction 258/tcp yak-chat Yak Winsock Personal Chat 259/tcp esro-gen Efficient Short Remote Operations 260/tcp openport Openport 263/tcp hdap HDAP 264/tcp bgmp BGMP 280/tcp http-mgmt http-mgmt 309/tcp entrusttime EntrustTime 310/tcp bhmds bhmds 312/tcp vslmp VSLMP 315/tcp dpsi DPSI 316/tcp decauth decAuth 317/tcp zannet Zannet 321/tcp pip PIP 344/tcp pdap Prospero Data Access Protocol 345/tcp pawserv Perf Analysis Workbench 346/tcp zserv Zebra server 347/tcp fatserv Fatmen Server 348/tcp csi-sgwp Cabletron Management Protocol 349/tcp mftp mftp 351/tcp matip-type-b MATIP Type B 351/tcp bhoetty bhoetty (added 5/21/97) 353/tcp ndsauth NDSAUTH 354/tcp bh611 bh611 357/tcp bhevent bhevent 362/tcp srssend SRS Send 365/tcp dtk DTK 366/tcp odmr ODMR 368/tcp qbikgdp QbikGDP 371/tcp clearcase Clearcase 372/tcp ulistproc ListProcessor 373/tcp legent-1 Legent Corporation 374/tcp legent-2 Legent Corporation 375/tcp hassle Hassle 376/tcp nip Amiga Envoy Network Inquiry Proto 377/tcp tnETOS NEC Corporation 378/tcp dsETOS NEC Corporation 379/tcp is99c TIA/EIA/IS-99 modem client 380/tcp is99s TIA/EIA/IS-99 modem server 381/tcp hp-collector hp performance data collector 383/tcp hp-alarm-mgr hp performance data alarm manager 384/tcp arns A Remote Network Server System 385/tcp ibm-app IBM Application 386/tcp asa ASA Message Router Object Def. 387/tcp aurp Appletalk Update-Based Routing Pro. 388/tcp unidata-ldm Unidata LDM Version 4 389/tcp ldap Lightweight Directory Access Protocol 390/tcp uis UIS 391/tcp synotics-relay SynOptics SNMP Relay Port 393/tcp dis Data Interpretation System 394/tcp embl-ndt EMBL Nucleic Data Transfer 395/tcp netcp NETscout Control Protocol 396/tcp netware-ip Novell Netware over IP 397/tcp mptn Multi Protocol Trans. Net. 398/tcp kryptolan Kryptolan 399/tcp iso-tsap-c2 ISO Transport Class 2 Non-Control over TCP 400/tcp work-sol Workstation Solutions 401/tcp ups Uninterruptible Power Supply 402/tcp genie Genie Protocol 403/tcp decap decap 404/tcp nced nced 405/tcp ncld ncld 406/tcp imsp Interactive Mail Support Protocol 407/tcp timbuktu Timbuktu 408/tcp prm-sm Prospero Resource Manager Sys. Man. 409/tcp prm-nm Prospero Resource Manager Node Man. 410/tcp decladebug DECLadebug Remote Debug Protocol 411/tcp rmt Remote MT Protocol 412/tcp synoptics-trap Trap Convention Port 413/tcp smsp SMSP 414/tcp infoseek InfoSeek 415/tcp bnet BNet 416/tcp silverplatter Silverplatter 417/tcp onmux Onmux 418/tcp hyper-g Hyper-G 419/tcp ariel1 Ariel 420/tcp smpte SMPTE 421/tcp ariel2 Ariel 422/tcp ariel3 Ariel 423/tcp opc-job-start IBM Operations Planning and Control Start 424/tcp opc-job-track IBM Operations Planning and Control Track 425/tcp icad-el ICAD 426/tcp smartsdp smartsdp 427/tcp svrloc Server Location 428/tcp ocs_cmu OCS_CMU 429/tcp ocs_amu OCS_AMU 430/tcp utmpsd UTMPSD 431/tcp utmpcd UTMPCD 432/tcp iasd IASD 433/tcp nnsp NNSP 434/tcp mobileip-agent MobileIP-Agent 435/tcp mobilip-mn MobilIP-MN 436/tcp dna-cml DNA-CML 437/tcp comscm comscm 438/tcp dsfgw dsfgw 439/tcp dasp dasp Thomas Obermair 440/tcp sgcp sgcp 441/tcp decvms-sysmgt decvms-sysmgt 442/tcp cvc_hostd cvc_hostd 443/tcp https http protocol over TLS/SSL 444/tcp snpp Simple Network Paging Protocol 445/tcp microsoft-ds Microsoft-DS 446/tcp ddm-rdb DDM-RDB 447/tcp ddm-dfm DDM-RFM 448/tcp ddm-ssl DDM-SSL 449/tcp as-servermap AS Server Mapper 450/tcp tserver TServer 451/tcp sfs-smp-net Cray Network Semaphore server 453/tcp creativeserver CreativeServer 454/tcp contentserver ContentServer 455/tcp creativepartnr CreativePartnr 456/tcp macon-tcp macon-tcp 457/tcp scohelp scohelp 458/tcp appleqtc apple quick time 459/tcp ampr-rcmd ampr-rcmd 460/tcp skronk skronk 461/tcp datasurfsrv DataRampSrv 462/tcp datasurfsrvsec DataRampSrvSec 463/tcp alpes alpes 464/tcp kpasswd kpasswd 465/tcp smtps smtp protocol over TLS/SSL (was ssmtp) 466/tcp digital-vrc digital-vrc 467/tcp mylex-mapd mylex-mapd 468/tcp photuris proturis 469/tcp rcp Radio Control Protocol 470/tcp scx-proxy scx-proxy 471/tcp mondex Mondex 472/tcp ljk-login ljk-login 473/tcp hybrid-pop hybrid-pop 474/tcp tn-tl-w1 tn-tl-w1 475/tcp tcpnethaspsrv tcpnethaspsrv 476/tcp tn-tl-fd1 tn-tl-fd1 477/tcp ss7ns ss7ns 478/tcp spsc spsc 479/tcp iafserver iafserver 480/tcp iafdbase iafdbase 481/tcp ph Ph service 482/tcp bgs-nsi bgs-nsi 483/tcp ulpnet ulpnet 484/tcp integra-sme Integra Software Management Environment 485/tcp powerburst Air Soft Power Burst 486/tcp avian avian 487/tcp saft saft Simple Asynchronous File Transfer 488/tcp gss-http gss-http 489/tcp nest-protocol nest-protocol 490/tcp micom-pfs micom-pfs 491/tcp go-login go-login 492/tcp ticf-1 Transport Independent Convergence for FNA 493/tcp ticf-2 Transport Independent Convergence for FNA 494/tcp pov-ray POV-Ray 495/tcp intecourier intecourier 496/tcp pim-rp-disc PIM-RP-DISC 497/tcp dantz dantz 498/tcp siam siam 499/tcp iso-ill ISO ILL Protocol 500/tcp isakmp isakmp 501/tcp stmf STMF 502/tcp asa-appl-proto asa-appl-proto 503/tcp intrinsa Intrinsa 504/tcp citadel citadel 505/tcp mailbox-lm mailbox-lm 506/tcp ohimsrv ohimsrv 507/tcp crs crs 508/tcp xvttp xvttp 509/tcp snare snare 510/tcp fcp FirstClass Protocol 511/tcp passgo PassGo 512/tcp exec remote process execution; 513/tcp login remote login a la telnet; 514/tcp shell cmd 515/tcp printer spooler 516/tcp videotex videotex 517/tcp talk like tenex link, but across 518/tcp ntalk 519/tcp utime unixtime 520/tcp efs extended file name server 521/tcp ripng ripng 522/tcp ulp ULP 523/tcp ibm-db2 IBM-DB2 524/tcp ncp NCP 525/tcp timed timeserver 526/tcp tempo newdate 527/tcp stx Stock IXChange 528/tcp custix Customer IXChange 529/tcp irc-serv IRC-SERV 530/tcp courier rpc 531/tcp conference chat 532/tcp netnews readnews 533/tcp netwall for emergency broadcasts 534/tcp mm-admin MegaMedia Admin 535/tcp iiop iiop 536/tcp opalis-rdv opalis-rdv 537/tcp nmsp Networked Media Streaming Protocol 538/tcp gdomap gdomap 539/tcp apertus-ldp Apertus Technologies Load Determination 540/tcp uucp uucpd 541/tcp uucp-rlogin uucp-rlogin 542/tcp commerce commerce 543/tcp klogin 544/tcp kshell krcmd 545/tcp appleqtcsrvr appleqtcsrvr 546/tcp dhcpv6-client DHCPv6 Client 547/tcp dhcpv6-server DHCPv6 Server 548/tcp afpovertcp AFP over TCP 549/tcp idfp IDFP 550/tcp new-rwho new-who 551/tcp cybercash cybercash 552/tcp deviceshare deviceshare 553/tcp pirp pirp 554/tcp rtsp Real Time Stream Control Protocol 555/tcp dsf 556/tcp remotefs rfs server 557/tcp openvms-sysipc openvms-sysipc 558/tcp sdnskmp SDNSKMP 559/tcp teedtap TEEDTAP 560/tcp rmonitor rmonitord 561/tcp monitor 562/tcp chshell chcmd 563/tcp nntps nntp protocol over TLS/SSL (was snntp) 564/tcp 9pfs plan 9 file service 565/tcp whoami whoami 566/tcp streettalk streettalk 567/tcp banyan-rpc banyan-rpc 568/tcp ms-shuttle microsoft shuttle 569/tcp ms-rome microsoft rome 570/tcp meter demon 571/tcp meter udemon 572/tcp sonar sonar 573/tcp banyan-vip banyan-vip 574/tcp ftp-agent FTP Software Agent System 575/tcp vemmi VEMMI 576/tcp ipcd ipcd 577/tcp vnas vnas 578/tcp ipdd ipdd 579/tcp decbsrv decbsrv 581/tcp bdp Bundle Discovery Protocol 588/tcp cal CAL 589/tcp eyelink EyeLink 590/tcp tns-cml TNS CML 593/tcp http-rpc-epmap HTTP RPC Ep Map 594/tcp tpip TPIP 596/tcp smsd SMSD 599/tcp acp Aeolon Core Protocol 600/tcp ipcserver Sun IPC server 606/tcp urm Cray Unified Resource Manager 607/tcp nqs nqs 608/tcp sift-uft Sender-Initiated/Unsolicited File Transfer 609/tcp npmp-trap npmp-trap 610/tcp npmp-local npmp-local 611/tcp npmp-gui npmp-gui 613/tcp hmmp-op HMMP Operation 620/tcp sco-websrvrmgr SCO WebServer Manager 621/tcp escp-ip ESCP 625/tcp dec_dlm DEC DLM 626/tcp asia ASIA 628/tcp qmqp QMQP 630/tcp rda RDA 631/tcp ipp IPP (Internet Printing Protocol) 632/tcp bmpp bmpp 634/tcp ginad ginad 635/tcp rlzdbase RLZ DBase 636/tcp ldaps ldap protocol over TLS/SSL (was sldap) 637/tcp lanserver lanserver 639/tcp msdp MSDP 666/tcp doom doom Id Software 667/tcp disclose campaign contribution disclosures - SDR Technologies 668/tcp mecomm MeComm 669/tcp meregister MeRegister 670/tcp vacdsm-sws VACDSM-SWS 671/tcp vacdsm-app VACDSM-APP 672/tcp vpps-qua VPPS-QUA 673/tcp cimplex CIMPLEX 674/tcp acap ACAP 675/tcp dctp DCTP 704/tcp elcsd errlog copy/server daemon 705/tcp agentx AgentX 709/tcp entrust-kmsh Entrust Key Management Service Handler 710/tcp entrust-ash Entrust Administration Service Handler 729/tcp netviewdm1 IBM NetView DM/6000 Server/Client 730/tcp netviewdm2 IBM NetView DM/6000 send/tcp 731/tcp netviewdm3 IBM NetView DM/6000 receive/tcp 741/tcp netgw netGW 742/tcp netrcs Network based Rev. Cont. Sys. 744/tcp flexlm Flexible License Manager 747/tcp fujitsu-dev Fujitsu Device Control 748/tcp ris-cm Russell Info Sci Calendar Manager 749/tcp kerberos-adm kerberos administration 750/tcp rfile 751/tcp pump 752/tcp qrh 753/tcp rrh 754/tcp tell send 758/tcp nlogin 759/tcp con 760/tcp ns 761/tcp rxe 762/tcp quotad 763/tcp cycleserv 764/tcp omserv 765/tcp webster 769/tcp vid 770/tcp cadlock 771/tcp rtip 772/tcp cycleserv2 773/tcp submit 774/tcp rpasswd 776/tcp wpages 780/tcp wpgs 786/tcp concert Concert 787/tcp qsc QSC 801/tcp device 873/tcp rsync rsync 886/tcp iclcnet-locate ICL coNETion locate server 887/tcp iclcnet_svinfo ICL coNETion server info 888/tcp accessbuilder AccessBuilder 900/tcp omginitialrefs OMG Initial Refs 911/tcp xact-backup xact-backup 990/tcp ftps ftp protocol, control, over TLS/SSL 991/tcp nas Netnews Administration System 992/tcp telnets telnet protocol over TLS/SSL 993/tcp imaps imap4 protocol over TLS/SSL 994/tcp ircs irc protocol over TLS/SSL 995/tcp pop3s pop3 protocol over TLS/SSL (was spop3) 996/tcp vsinet vsinet 997/tcp maitrd 998/tcp busboy 999/tcp garcon 1000/tcp cadlock 1010/tcp surf surf 1023/tcp Reserved Reserved 1030/tcp iad1 BBN IAD 1031/tcp iad2 BBN IAD 1032/tcp iad3 BBN IAD 1047/tcp neod1 Sun's NEO Object Request Broker 1048/tcp neod2 Sun's NEO Object Request Broker 1058/tcp nim nim 1059/tcp nimreg nimreg 1067/tcp instl_boots Installation Bootstrap Proto. Serv. 1068/tcp instl_bootc Installation Bootstrap Proto. Cli. 1080/tcp socks Socks 1083/tcp ansoft-lm-1 Anasoft License Manager 1084/tcp ansoft-lm-2 Anasoft License Manager 1123/tcp murray Murray 1155/tcp nfa Network File Access 1212/tcp lupa lupa 1222/tcp nerv SNI R&amp;D network 1239/tcp nmsd NMSD 1248/tcp hermes 1313/tcp bmc_patroldb BMC_PATROLDB 1314/tcp pdps Photoscript Distributed Printing System 1321/tcp pip PIP 1345/tcp vpjp VPJP 1346/tcp alta-ana-lm Alta Analytics License Manager 1347/tcp bbn-mmc multi media conferencing 1348/tcp bbn-mmx multi media conferencing 1349/tcp sbook Registration Network Protocol 1350/tcp editbench Registration Network Protocol 1352/tcp lotusnote Lotus Note 1353/tcp relief Relief Consulting 1354/tcp rightbrain RightBrain Software 1355/tcp intuitive-edge Intuitive Edge 1356/tcp cuillamartin CuillaMartin Company 1357/tcp pegboard Electronic PegBoard 1358/tcp connlcli CONNLCLI 1359/tcp ftsrv FTSRV 1360/tcp mimer MIMER 1361/tcp linx LinX 1362/tcp timeflies TimeFlies 1363/tcp ndm-requester Network DataMover Requester 1364/tcp ndm-server Network DataMover Server 1365/tcp adapt-sna Network Software Associates 1366/tcp netware-csp Novell NetWare Comm Service Platform 1367/tcp dcs DCS 1368/tcp screencast ScreenCast 1369/tcp gv-us GlobalView to Unix Shell 1370/tcp us-gv Unix Shell to GlobalView 1371/tcp fc-cli Fujitsu Config Protocol 1372/tcp fc-ser Fujitsu Config Protocol 1373/tcp chromagrafx Chromagrafx 1374/tcp molly EPI Software Systems 1375/tcp bytex Bytex 1376/tcp ibm-pps IBM Person to Person Software 1377/tcp cichlid Cichlid License Manager 1378/tcp elan Elan License Manager 1379/tcp dbreporter Integrity Solutions 1380/tcp telesis-licman Telesis Network License Manager 1381/tcp apple-licman Apple Network License Manager 1382/tcp udt_os 1383/tcp gwha GW Hannaway Network License Manager 1384/tcp os-licman Objective Solutions License Manager 1385/tcp atex_elmd Atex Publishing License Manager 1386/tcp checksum CheckSum License Manager 1387/tcp cadsi-lm Computer Aided Design Software Inc LM 1388/tcp objective-dbc Objective Solutions DataBase Cache 1389/tcp iclpv-dm Document Manager 1390/tcp iclpv-sc Storage Controller 1391/tcp iclpv-sas Storage Access Server 1392/tcp iclpv-pm Print Manager 1393/tcp iclpv-nls Network Log Server 1394/tcp iclpv-nlc Network Log Client 1395/tcp iclpv-wsm PC Workstation Manager software 1396/tcp dvl-activemail DVL Active Mail 1399/tcp cadkey-licman Cadkey License Manager 1400/tcp cadkey-tablet Cadkey Tablet Daemon 1402/tcp prm-sm-np Prospero Resource Manager 1403/tcp prm-nm-np Prospero Resource Manager 1404/tcp igi-lm Infinite Graphics License Manager 1405/tcp ibm-res IBM Remote Execution Starter 1406/tcp netlabs-lm NetLabs License Manager 1407/tcp dbsa-lm DBSA License Manager 1408/tcp sophia-lm Sophia License Manager 1409/tcp here-lm Here License Manager 1410/tcp hiq HiQ License Manager 1411/tcp af AudioFile 1412/tcp innosys InnoSys 1413/tcp innosys-acl Innosys-ACL 1414/tcp ibm-mqseries IBM MQSeries 1415/tcp dbstar DBStar 1416/tcp novell-lu6.2 Novell LU6.2 1417/tcp timbuktu-srv1 Timbuktu Service 1 Port 1418/tcp timbuktu-srv2 Timbuktu Service 2 Port 1419/tcp timbuktu-srv3 Timbuktu Service 3 Port 1420/tcp timbuktu-srv4 Timbuktu Service 4 Port 1421/tcp gandalf-lm Gandalf License Manager 1422/tcp autodesk-lm Autodesk License Manager 1423/tcp essbase Essbase Arbor Software 1424/tcp hybrid Hybrid Encryption Protocol 1425/tcp zion-lm Zion Software License Manager 1426/tcp sais Satellite-data Acquisition System 1 1427/tcp mloadd mloadd monitoring tool 1428/tcp informatik-lm Informatik License Manager 1429/tcp nms Hypercom NMS 1430/tcp tpdu Hypercom TPDU 1431/tcp rgtp Reverse Gossip Transport 1432/tcp blueberry-lm Blueberry Software License Manager 1433/tcp ms-sql-s Microsoft-SQL-Server 1434/tcp ms-sql-m Microsoft-SQL-Monitor 1435/tcp ibm-cics IBM CICS 1436/tcp saism Satellite-data Acquisition System 2 1437/tcp tabula Tabula 1438/tcp eicon-server Eicon Security Agent/Server 1439/tcp eicon-x25 Eicon X25/SNA Gateway 1440/tcp eicon-slp Eicon Service Location Protocol 1441/tcp cadis-1 Cadis License Management 1442/tcp cadis-2 Cadis License Management 1443/tcp ies-lm Integrated Engineering Software 1444/tcp marcam-lm Marcam License Management 1445/tcp proxima-lm Proxima License Manager 1446/tcp ora-lm Optical Research Associates License Manager 1447/tcp apri-lm Applied Parallel Research LM 1448/tcp oc-lm OpenConnect License Manager 1449/tcp peport PEport 1450/tcp dwf Tandem Distributed Workbench Facility 1451/tcp infoman IBM Information Management 1452/tcp gtegsc-lm GTE Government Systems License Man 1453/tcp genie-lm Genie License Manager 1454/tcp interhdl_elmd interHDL License Manager 1455/tcp esl-lm ESL License Manager 1456/tcp dca DCA 1457/tcp valisys-lm Valisys License Manager 1458/tcp nrcabq-lm Nichols Research Corp. 1459/tcp proshare1 Proshare Notebook Application 1460/tcp proshare2 Proshare Notebook Application 1461/tcp ibm_wrless_lan IBM Wireless LAN 1462/tcp world-lm World License Manager 1463/tcp nucleus Nucleus 1464/tcp msl_lmd MSL License Manager 1465/tcp pipes Pipes Platform 1466/tcp oceansoft-lm Ocean Software License Manager 1467/tcp csdmbase CSDMBASE 1468/tcp csdm CSDM 1469/tcp aal-lm Active Analysis Limited License Manager 1470/tcp uaiact Universal Analytics 1471/tcp csdmbase csdmbase 1472/tcp csdm csdm 1473/tcp openmath OpenMath 1474/tcp telefinder Telefinder 1475/tcp taligent-lm Taligent License Manager 1476/tcp clvm-cfg clvm-cfg 1477/tcp ms-sna-server ms-sna-server 1478/tcp ms-sna-base ms-sna-base 1479/tcp dberegister dberegister 1480/tcp pacerforum PacerForum 1481/tcp airs AIRS 1482/tcp miteksys-lm Miteksys License Manager 1483/tcp afs AFS License Manager 1484/tcp confluent Confluent License Manager 1485/tcp lansource LANSource 1486/tcp nms_topo_serv nms_topo_serv 1487/tcp localinfosrvr LocalInfoSrvr 1488/tcp docstor DocStor 1489/tcp dmdocbroker dmdocbroker 1490/tcp insitu-conf insitu-conf 1491/tcp anynetgateway anynetgateway 1492/tcp stone-design-1 stone-design-1 1493/tcp netmap_lm netmap_lm 1494/tcp ica ica 1495/tcp cvc cvc 1496/tcp liberty-lm liberty-lm 1497/tcp rfx-lm rfx-lm 1498/tcp sybase-sqlany Sybase SQL Any 1499/tcp fhc Federico Heinz Consultora 1500/tcp vlsi-lm VLSI License Manager 1501/tcp saiscm Satellite-data Acquisition System 3 1502/tcp shivadiscovery Shiva 1503/tcp imtc-mcs Databeam 1504/tcp evb-elm EVB Software Engineering License Manager 1505/tcp funkproxy Funk Software, Inc. 1506/tcp utcd Universal Time daemon (utcd) 1507/tcp symplex symplex 1508/tcp diagmond diagmond 1509/tcp robcad-lm Robcad, Ltd. License Manager 1510/tcp mvx-lm Midland Valley Exploration Ltd. Lic. Man. 1511/tcp 3l-l1 3l-l1 1512/tcp wins Microsoft's Windows Internet Name Service 1513/tcp fujitsu-dtc Fujitsu Systems Business of America, Inc 1514/tcp fujitsu-dtcns Fujitsu Systems Business of America, Inc 1515/tcp ifor-protocol ifor-protocol 1516/tcp vpad Virtual Places Audio data 1517/tcp vpac Virtual Places Audio control 1518/tcp vpvd Virtual Places Video data 1519/tcp vpvc Virtual Places Video control 1520/tcp atm-zip-office atm zip office 1521/tcp ncube-lm nCube License Manager 1522/tcp ricardo-lm Ricardo North America License Manager 1523/tcp cichild-lm cichild 1525/tcp orasrv oracle 1525/tcp prospero-np Prospero Directory Service non-priv 1526/tcp pdap-np Prospero Data Access Prot non-priv 1527/tcp tlisrv oracle 1528/tcp mciautoreg micautoreg 1529/tcp coauthor oracle 1530/tcp rap-service rap-service 1531/tcp rap-listen rap-listen 1532/tcp miroconnect miroconnect 1533/tcp virtual-places Virtual Places Software 1534/tcp micromuse-lm micromuse-lm 1535/tcp ampr-info ampr-info 1536/tcp ampr-inter ampr-inter 1537/tcp sdsc-lm isi-lm 1538/tcp 3ds-lm 3ds-lm 1539/tcp intellistor-lm Intellistor License Manager 1540/tcp rds rds 1541/tcp rds2 rds2 1542/tcp gridgen-elmd gridgen-elmd 1543/tcp simba-cs simba-cs 1544/tcp aspeclmd aspeclmd 1545/tcp vistium-share vistium-share 1546/tcp abbaccuray abbaccuray 1547/tcp laplink laplink 1548/tcp axon-lm Axon License Manager 1549/tcp shivahose Shiva Hose 1550/tcp 3m-image-lm Image Storage license manager 3M Company 1551/tcp hecmtl-db HECMTL-DB 1552/tcp pciarray pciarray 1553/tcp sna-cs sna-cs 1554/tcp caci-lm CACI Products Company License Manager 1555/tcp livelan livelan 1556/tcp ashwin AshWin CI Tecnologies 1557/tcp arbortext-lm ArborText License Manager 1558/tcp xingmpeg xingmpeg 1559/tcp web2host web2host 1560/tcp asci-val asci-val 1561/tcp facilityview facilityview 1562/tcp pconnectmgr pconnectmgr 1563/tcp cadabra-lm Cadabra License Manager 1564/tcp pay-per-view Pay-Per-View 1565/tcp winddlb WinDD 1566/tcp corelvideo CORELVIDEO 1567/tcp jlicelmd jlicelmd 1568/tcp tsspmap tsspmap 1569/tcp ets ets 1570/tcp orbixd orbixd 1571/tcp rdb-dbs-disp Oracle Remote Data Base 1572/tcp chip-lm Chipcom License Manager 1573/tcp itscomm-ns itscomm-ns 1574/tcp mvel-lm mvel-lm 1575/tcp oraclenames oraclenames 1576/tcp moldflow-lm moldflow-lm 1577/tcp hypercube-lm hypercube-lm 1578/tcp jacobus-lm Jacobus License Manager 1579/tcp ioc-sea-lm ioc-sea-lm 1580/tcp tn-tl-r1 tn-tl-r1 1581/tcp mil-2045-47001 MIL-2045-47001 1582/tcp msims MSIMS 1583/tcp simbaexpress simbaexpress 1584/tcp tn-tl-fd2 tn-tl-fd2 1585/tcp intv intv 1586/tcp ibm-abtact ibm-abtact 1587/tcp pra_elmd pra_elmd 1588/tcp triquest-lm triquest-lm 1589/tcp vqp VQP 1590/tcp gemini-lm gemini-lm 1591/tcp ncpm-pm ncpm-pm 1592/tcp commonspace commonspace 1593/tcp mainsoft-lm mainsoft-lm 1594/tcp sixtrak sixtrak 1595/tcp radio radio 1596/tcp radio-sm radio-sm 1597/tcp orbplus-iiop orbplus-iiop 1598/tcp picknfs picknfs 1599/tcp simbaservices simbaservices 1600/tcp issd 1601/tcp aas aas 1602/tcp inspect inspect 1603/tcp picodbc pickodbc 1604/tcp icabrowser icabrowser 1605/tcp slp Salutation Manager (Salutation Protocol) 1606/tcp slm-api Salutation Manager (SLM-API) 1607/tcp stt stt 1608/tcp smart-lm Smart Corp. License Manager 1609/tcp isysg-lm isysg-lm 1610/tcp taurus-wh taurus-wh 1611/tcp ill Inter Library Loan 1612/tcp netbill-trans NetBill Transaction Server 1613/tcp netbill-keyrep NetBill Key Repository 1614/tcp netbill-cred NetBill Credential Server 1615/tcp netbill-auth NetBill Authorization Server 1616/tcp netbill-prod NetBill Product Server 1617/tcp nimrod-agent Nimrod Inter-Agent Communication 1618/tcp skytelnet skytelnet 1619/tcp xs-openstorage xs-openstorage 1620/tcp faxportwinport faxportwinport 1621/tcp softdataphone softdataphone 1622/tcp ontime ontime 1623/tcp jaleosnd jaleosnd 1624/tcp udp-sr-port udp-sr-port 1625/tcp svs-omagent svs-omagent 1636/tcp cncp CableNet Control Protocol 1637/tcp cnap CableNet Admin Protocol 1638/tcp cnip CableNet Info Protocol 1639/tcp cert-initiator cert-initiator 1640/tcp cert-responder cert-responder 1641/tcp invision InVision 1642/tcp isis-am isis-am 1643/tcp isis-ambc isis-ambc 1645/tcp datametrics datametrics 1646/tcp sa-msg-port sa-msg-port 1647/tcp rsap rsap 1648/tcp concurrent-lm concurrent-lm 1649/tcp inspect inspect 1650/tcp nkd nkd 1651/tcp shiva_confsrvr shiva_confsrvr 1652/tcp xnmp xnmp 1653/tcp alphatech-lm alphatech-lm 1654/tcp stargatealerts stargatealerts 1655/tcp dec-mbadmin dec-mbadmin 1656/tcp dec-mbadmin-h dec-mbadmin-h 1657/tcp fujitsu-mmpdc fujitsu-mmpdc 1658/tcp sixnetudr sixnetudr 1659/tcp sg-lm Silicon Grail License Manager 1660/tcp skip-mc-gikreq skip-mc-gikreq 1661/tcp netview-aix-1 netview-aix-1 1662/tcp netview-aix-2 netview-aix-2 1663/tcp netview-aix-3 netview-aix-3 1664/tcp netview-aix-4 netview-aix-4 1665/tcp netview-aix-5 netview-aix-5 1666/tcp netview-aix-6 netview-aix-6 1667/tcp netview-aix-7 netview-aix-7 1668/tcp netview-aix-8 netview-aix-8 1669/tcp netview-aix-9 netview-aix-9 1670/tcp netview-aix-10 netview-aix-10 1671/tcp netview-aix-11 netview-aix-11 1672/tcp netview-aix-12 netview-aix-12 1673/tcp proshare-mc-1 Intel Proshare Multicast 1674/tcp proshare-mc-2 Intel Proshare Multicast 1675/tcp pdp Pacific Data Products 1676/tcp netcomm1 netcomm1 1677/tcp groupwise groupwise 1678/tcp prolink prolink 1679/tcp darcorp-lm darcorp-lm 1681/tcp sd-elmd sd-elmd 1682/tcp lanyon-lantern lanyon-lantern 1683/tcp ncpm-hip ncpm-hip 1684/tcp snaresecure SnareSecure 1685/tcp n2nremote n2nremote 1686/tcp cvmon cvmon 1687/tcp nsjtp-ctrl nsjtp-ctrl 1688/tcp nsjtp-data nsjtp-data 1689/tcp firefox firefox 1690/tcp ng-umds ng-umds 1691/tcp empire-empuma empire-empuma 1692/tcp sstsys-lm sstsys-lm 1693/tcp rrirtr rrirtr 1694/tcp rrimwm rrimwm 1695/tcp rrilwm rrilwm 1696/tcp rrifmm rrifmm 1697/tcp rrisat rrisat 1698/tcp rsvp-encap-1 RSVP-ENCAPSULATION-1 1699/tcp rsvp-encap-2 RSVP-ENCAPSULATION-2 1700/tcp mps-raft mps-raft 1701/tcp l2f,l2tp l2f,l2tp 1702/tcp deskshare deskshare 1703/tcp hb-engine hb-engine 1704/tcp bcs-broker bcs-broker 1705/tcp slingshot slingshot 1706/tcp jetform jetform 1707/tcp vdmplay vdmplay 1708/tcp gat-lmd gat-lmd 1709/tcp centra centra 1710/tcp impera impera 1711/tcp pptconference pptconference 1712/tcp registrar resource monitoring service 1713/tcp conferencetalk ConferenceTalk 1714/tcp sesi-lm sesi-lm 1715/tcp houdini-lm houdini-lm 1716/tcp xmsg xmsg 1717/tcp fj-hdnet fj-hdnet 1718/tcp h323gatedisc h323gatedisc 1719/tcp h323gatestat h323gatestat 1720/tcp h323hostcall h323hostcall 1721/tcp caicci caicci 1722/tcp hks-lm HKS License Manager 1723/tcp pptp pptp 1724/tcp csbphonemaster csbphonemaster 1725/tcp iden-ralp iden-ralp 1726/tcp iberiagames IBERIAGAMES 1727/tcp winddx winddx 1728/tcp telindus TELINDUS 1729/tcp citynl CityNL License Management 1730/tcp roketz roketz 1731/tcp msiccp MSICCP 1732/tcp proxim proxim 1733/tcp siipat SIMS - SIIPAT Protocol for Alarm Transmission 1734/tcp cambertx-lm Camber Corporation License Management 1735/tcp privatechat PrivateChat 1736/tcp street-stream street-stream 1737/tcp ultimad ultimad 1738/tcp gamegen1 GameGen1 1739/tcp webaccess webaccess 1740/tcp encore encore 1741/tcp cisco-net-mgmt cisco-net-mgmt 1742/tcp 3Com-nsd 3Com-nsd 1743/tcp cinegrfx-lm Cinema Graphics License Manager 1744/tcp ncpm-ft ncpm-ft 1745/tcp remote-winsock remote-winsock 1746/tcp ftrapid-1 ftrapid-1 1747/tcp ftrapid-2 ftrapid-2 1748/tcp oracle-em1 oracle-em1 1749/tcp aspen-services aspen-services 1750/tcp sslp Simple Socket Library's PortMaster 1751/tcp swiftnet SwiftNet 1752/tcp lofr-lm Leap of Faith Research License Manager 1753/tcp translogic-lm Translogic License Manager 1754/tcp oracle-em2 oracle-em2 1755/tcp ms-streaming ms-streaming 1756/tcp capfast-lmd capfast-lmd 1757/tcp cnhrp cnhrp 1758/tcp tftp-mcast tftp-mcast 1759/tcp spss-lm SPSS License Manager 1760/tcp www-ldap-gw www-ldap-gw 1761/tcp cft-0 cft-0 1762/tcp cft-1 cft-1 1763/tcp cft-2 cft-2 1764/tcp cft-3 cft-3 1765/tcp cft-4 cft-4 1766/tcp cft-5 cft-5 1767/tcp cft-6 cft-6 1768/tcp cft-7 cft-7 1769/tcp bmc-net-adm bmc-net-adm 1770/tcp bmc-net-svc bmc-net-svc 1771/tcp vaultbase vaultbase 1772/tcp essweb-gw EssWeb Gateway 1773/tcp kmscontrol KMSControl 1774/tcp global-dtserv global-dtserv 1776/tcp femis Federal Emergency Management Information System 1777/tcp powerguardian powerguardian 1779/tcp pharmasoft pharmasoft 1780/tcp dpkeyserv dpkeyserv 1781/tcp answersoft-lm answersoft-lm 1782/tcp hp-hcip hp-hcip 1783/tcp fjris Fujitsu Remote Install Service 1784/tcp finle-lm Finle License Manager 1785/tcp windlm Wind River Systems License Manager 1786/tcp funk-logger funk-logger 1787/tcp funk-license funk-license 1788/tcp psmond psmond 1789/tcp hello hello 1790/tcp nmsp Narrative Media Streaming Protocol 1791/tcp ea1 EA1 1792/tcp ibm-dt-2 ibm-dt-2 1793/tcp rsc-robot rsc-robot 1794/tcp cera-bcm cera-bcm 1795/tcp dpi-proxy dpi-proxy 1796/tcp vocaltec-admin Vocaltec Server Administration 1797/tcp uma UMA 1798/tcp etp Event Transfer Protocol 1799/tcp netrisk NETRISK 1801/tcp msmq Microsoft Message Que 1804/tcp enl ENL 1807/tcp fhsp Fujitsu Hot Standby Protocol 1812/tcp radius RADIUS 1813/tcp radius-acct RADIUS Accounting 1814/tcp tdp-suite TDP Suite 1815/tcp mmpft MMPFT 1816/tcp harp HARP 1818/tcp etftp Enhanced Trivial File Transfer Protocol 1819/tcp plato-lm Plato License Manager 1820/tcp mcagent mcagent 1821/tcp donnyworld donnyworld 1822/tcp es-elmd es-elmd 1823/tcp unisys-lm Unisys Natural Language License Manager 1824/tcp metrics-pas metrics-pas 1850/tcp gsi GSI 1863/tcp msnp MSNP 1865/tcp entp ENTP 1901/tcp fjicl-tep-a Fujitsu ICL Terminal Emulator Program A 1902/tcp fjicl-tep-b Fujitsu ICL Terminal Emulator Program B 1903/tcp linkname Local Link Name Resolution 1904/tcp fjicl-tep-c Fujitsu ICL Terminal Emulator Program C 1905/tcp sugp Secure UP.Link Gateway Protocol 1906/tcp tpmd TPortMapperReq 1908/tcp dawn Dawn 1911/tcp mtp Starlight Networks Multimedia Transport Protocol 1913/tcp armadp armadp 1914/tcp elm-momentum Elm-Momentum 1915/tcp facelink FACELINK 1916/tcp persona Persoft Persona 1917/tcp noagent nOAgent 1921/tcp noadmin NoAdmin 1944/tcp close-combat close-combat 1945/tcp dialogic-elmd dialogic-elmd 1946/tcp tekpls tekpls 1947/tcp hlserver hlserver 1948/tcp eye2eye eye2eye 1949/tcp ismaeasdaqlive ISMA Easdaq Live 1950/tcp ismaeasdaqtest ISMA Easdaq Test 1951/tcp bcs-lmserver bcs-lmserver 1973/tcp dlsrap Data Link Switching Remote Access Protocol 1985/tcp hsrp Hot Standby Router Protocol 1986/tcp licensedaemon cisco license management 1987/tcp tr-rsrb-p1 cisco RSRB Priority 1 port 1988/tcp tr-rsrb-p2 cisco RSRB Priority 2 port 1989/tcp tr-rsrb-p3 cisco RSRB Priority 3 port 1989/tcp mshnet MHSnet system 1990/tcp stun-p1 cisco STUN Priority 1 port 1991/tcp stun-p2 cisco STUN Priority 2 port 1992/tcp stun-p3 cisco STUN Priority 3 port 1992/tcp ipsendmsg IPsendmsg 1993/tcp snmp-tcp-port cisco SNMP TCP port 1994/tcp stun-port cisco serial tunnel port 1995/tcp perf-port cisco perf port 1996/tcp tr-rsrb-port cisco Remote SRB port 1997/tcp gdp-port cisco Gateway Discovery Protocol 1998/tcp x25-svc-port cisco X.25 service (XOT) 1999/tcp tcp-id-port cisco identification port 2000/tcp callbook 2001/tcp dc 2002/tcp globe 2004/tcp mailbox 2005/tcp berknet 2007/tcp dectalk 2012/tcp ttyinfo 2013/tcp raid-am 2014/tcp troff 2015/tcp cypress 2025/tcp ellpack 2030/tcp device2 2032/tcp blackboard 2033/tcp glogger 2035/tcp imsldoc 2040/tcp lam 2042/tcp isis isis 2044/tcp rimsl 2045/tcp cdfunc 2046/tcp sdfunc 2047/tcp dls 2049/tcp shilp 2049/tcp nfs Network File System - Sun Microsystems 2065/tcp dlsrpn Data Link Switch Read Port Number 2067/tcp dlswpn Data Link Switch Write Port Number 2090/tcp lrp Load Report Protocol 2091/tcp prp PRP 2102/tcp zephyr-srv Zephyr server 2103/tcp zephyr-clt Zephyr serv-hm connection 2104/tcp zephyr-hm Zephyr hostmanager 2105/tcp minipay MiniPay 2200/tcp ici ICI 2201/tcp ats Advanced Training System Program 2213/tcp kali Kali 2222/tcp unreg-ab2 Allen-Bradley unregistered port 2232/tcp ivs-video IVS Video default 2234/tcp directplay DirectPlay 2236/tcp nani Nani 2240/tcp recipe RECIPe 2241/tcp ivsd IVS Daemon 2242/tcp foliocorp Folio Remote Server 2279/tcp xmquery xmquery 2280/tcp lnvpoller LNVPOLLER 2281/tcp lnvconsole LNVCONSOLE 2282/tcp lnvalarm LNVALARM 2283/tcp lnvstatus LNVSTATUS 2284/tcp lnvmaps LNVMAPS 2285/tcp lnvmailmon LNVMAILMON 2286/tcp nas-metering NAS-Metering 2287/tcp dna DNA 2288/tcp netml NETML 2300/tcp cvmmon CVMMON 2307/tcp pehelp pehelp 2308/tcp sdhelp sdhelp 2313/tcp iapp IAPP (Inter Access Point Protocol) 2316/tcp sent-lm SENT License Manager 2321/tcp rdlap RDLAP over UDP 2322/tcp ofsd ofsd 2323/tcp 3d-nfsd 3d-nfsd 2326/tcp idcp IDCP 2327/tcp xingcsm xingcsm 2329/tcp nvd NVD 2330/tcp tscchat TSCCHAT 2333/tcp snapp SNAPP 2337/tcp ideesrv ideesrv 2344/tcp fcmsys fcmsys 2345/tcp dbm dbm 2356/tcp gxtelmd GXT License Managemant 2358/tcp futrix Futrix 2390/tcp rsmtp RSMTP 2396/tcp wusage Wusage 2397/tcp ncl NCL 2398/tcp orbiter Orbiter 2401/tcp cvspserver cvspserver 2407/tcp orion Orion 2412/tcp cdn CDN 2415/tcp comtest COMTEST 2418/tcp cas cas 2421/tcp g-talk G-Talk 2423/tcp rnrp RNRP 2427/tcp stgcp Simple telephony Gateway Control Protocol 2428/tcp ott One Way Trip Time 2429/tcp ft-role FT-ROLE 2430/tcp venus venus 2432/tcp codasrv codasrv 2436/tcp topx TOP/X 2438/tcp msp MSP 2443/tcp powerclientcsf PowerClient Central Storage Facility 2445/tcp dtn1 DTN1 2447/tcp ovwdb OpenView NNM daemon 2449/tcp ratl RATL 2451/tcp netchat netchat 2458/tcp griffin griffin 2500/tcp rtsserv Resource Tracking system server 2501/tcp rtsclient Resource Tracking system client 2528/tcp ncr_ccl NCR CCL 2529/tcp utsftp UTS FTP 2532/tcp ovtopmd OVTOPMD 2592/tcp netrek netrek 2628/tcp dict DICT 2634/tcp pk-electronics PK Electronics 2636/tcp solve Solve 2639/tcp aminet AMInet 2641/tcp hdl-srv HDL Server 2642/tcp tragic Tragic 2646/tcp and-lm AND Licence Manager 2653/tcp sonus Sonus 2655/tcp unglue UNIX Nt Glue 2656/tcp kana Kana 2700/tcp tqdata tqdata 2784/tcp www-dev world wide web - development 2785/tcp aic-np aic-np 2786/tcp aic-oncrpc aic-oncrpc - Destiny MCD database 2787/tcp piccolo piccolo - Cornerstone Software 2788/tcp fryeserv NetWare Loadable Module - Seagate Software 2789/tcp media-agent Media Agent 2908/tcp mao mao 2912/tcp epicon Epicon 2971/tcp netclip Net Clip 2974/tcp signal Signal 2975/tcp fjmpcm Fujitsu Configuration Management Service 3000/tcp hbci HBCI 3001/tcp redwood-broker Redwood Broker 3003/tcp cgms CGMS 3010/tcp gw Telerate Workstation 3012/tcp twsdss Trusted Web Client 3020/tcp cifs CIFS 3047/tcp hlserver Fast Security HL Server 3048/tcp pctrader Sierra Net PC Trader 3049/tcp nsws NSWS 3105/tcp cardbox Cardbox 3130/tcp icpv2 ICPv2 3141/tcp vmodem VMODEM 3143/tcp seaview Sea View 3147/tcp rfio RFIO 3264/tcp ccmail cc:mail/lotus 3266/tcp ns-cfg-server NS CFG Server 3267/tcp ibm-dial-out IBM Dial Out 3268/tcp msft-gc Microsoft Global Catalog 3273/tcp sxmp Simple Extensible Multiplexed Protocol 3275/tcp samd SAMD 3279/tcp admind admind 3281/tcp sysopt SYSOPT 3284/tcp 4talk 4Talk 3285/tcp plato Plato 3286/tcp e-net E-Net 3288/tcp cops COPS 3289/tcp enpc ENPC 3290/tcp caps-lm CAPS LOGISTICS TOOLKIT - LM 3291/tcp sah-lm S A Holditch &amp; Associates - LM 3293/tcp fg-fps fg-fps 3294/tcp fg-gip fg-gip 3296/tcp rib-slm Rib License Manager 3299/tcp pdrncs pdrncs 3304/tcp opsession-srvr OP Session Server 3306/tcp mysql MySQL 3309/tcp tns-adv TNS ADV 3313/tcp uorb Unify Object Broker 3314/tcp uohost Unify Object Host 3315/tcp cdid CDID 3318/tcp ssrip Swith to Swith Routing Information Protocol 3319/tcp sdt-lmd SDT License Manager 3321/tcp vnsstr VNSSTR 3326/tcp sftu SFTU 3327/tcp bbars BBARS 3328/tcp egptlm Eaglepoint License Manager 3329/tcp hp-device-disc HP Device Disc 3330/tcp mcs-calypsoicf MCS Calypso ICF 3333/tcp dec-notes DEC Notes 3338/tcp anet-b OMF data b 3339/tcp anet-l OMF data l 3340/tcp anet-m OMF data m 3341/tcp anet-h OMF data h 3342/tcp webtie WebTIE 3351/tcp btrieve BTRIEVE 3352/tcp ssql SSQL 3353/tcp fatpipe FATPIPE 3354/tcp suitjd SUITJD 3362/tcp dj-ilm DJ ILM 3372/tcp tip2 TIP 2 3378/tcp wsicopy WSICOPY 3379/tcp socorfs SOCORFS 3381/tcp geneous Geneous 3383/tcp esp-lm Enterprise Software Products License Manager 3390/tcp dsc Distributed Service Coordinator 3391/tcp savant SAVANT 3392/tcp efi-lm EFI License Management 3395/tcp dyna-lm Dyna License Manager (Elam) 3421/tcp bmap Bull Apprise portmapper 3455/tcp prsvp RSVP Port 3456/tcp vat VAT default data 3457/tcp vat-control VAT default control 3900/tcp udt_os Unidata UDT OS 3984/tcp mapper-nodemgr MAPPER network node manager 3985/tcp mapper-mapethd MAPPER TCP/IP server 3986/tcp mapper-ws_ethd MAPPER workstation server 4001/tcp newoak NewOak 4008/tcp netcheque NetCheque accounting 4096/tcp bre BRE (Bridge Relay Element) 4132/tcp nuts_dem NUTS Daemon 4133/tcp nuts_bootp NUTS Bootp Server 4143/tcp oidsr Document Replication 4321/tcp rwhois Remote Who Is 4343/tcp unicall UNICALL 4346/tcp elanlm ELAN LM 4348/tcp itose ITOSE 4444/tcp krb524 KRB524 4444/tcp nv-video NV Video default 4446/tcp n1-fwp N1-FWP 4449/tcp privatewire PrivateWire 4450/tcp camp Camp 4451/tcp ctisystemmsg CTI System Msg 4452/tcp ctiprogramload CTI Program Load 4500/tcp sae-urn sae-urn 4501/tcp urn-x-cdchoice urn-x-cdchoice 4546/tcp sf-lm SF License Manager (Sentinel) 4672/tcp rfa remote file access server 4800/tcp iims Icona Instant Messenging System 4801/tcp iwec Icona Web Embedded Chat 4802/tcp ilss Icona License System Server 4827/tcp htcp HTCP 4868/tcp phrelay Photon Relay 4885/tcp abbs ABBS 5002/tcp rfe radio free ethernet 5003/tcp fmpro-internal FileMaker, Inc. - Proprietary transport 5004/tcp avt-profile-1 avt-profile-1 5005/tcp avt-profile-2 avt-profile-2 5010/tcp telelpathstart TelepathStart 5020/tcp zenginkyo-1 zenginkyo-1 5021/tcp zenginkyo-2 zenginkyo-2 5050/tcp mmcc multimedia conference control tool 5060/tcp sip SIP 5150/tcp atmp Ascend Tunnel Management Protocol 5190/tcp aol America-Online 5191/tcp aol-1 AmericaOnline1 5192/tcp aol-2 AmericaOnline2 5193/tcp aol-3 AmericaOnline3 5272/tcp pk PK 5300/tcp hacl-hb # HA cluster heartbeat 5301/tcp hacl-gs # HA cluster general services 5304/tcp hacl-local # HA Cluster Commands 5305/tcp hacl-test # HA Cluster Test 5307/tcp sco-aip SCO AIP 5310/tcp outlaws Outlaws 5311/tcp tmlogin TM Login 5400/tcp excerpt Excerpt Search 5402/tcp mftp MFTP 5404/tcp hpoms-dps-lstn HPOMS-DPS-LSTN 5407/tcp foresyte-clear Foresyte-Clear 5409/tcp salient-dtasrv Salient Data Server 5410/tcp salient-usrmgr Salient User Manager 5411/tcp actnet ActNet 5414/tcp statusd StatusD 5418/tcp mcntp MCNTP 5419/tcp dj-ice DJ-ICE 5500/tcp fcp-addr-srvr1 fcp-addr-srvr1 5501/tcp fcp-addr-srvr2 fcp-addr-srvr2 5502/tcp fcp-srvr-inst1 fcp-srvr-inst1 5503/tcp fcp-srvr-inst2 fcp-srvr-inst2 5504/tcp fcp-cics-gw1 fcp-cics-gw1 5555/tcp personal-agent Personal Agent 5602/tcp a1-msc A1-MSC 5603/tcp a1-bs A1-BS 5631/tcp pcanywheredata pcANYWHEREdata 5632/tcp pcanywherestat pcANYWHEREstat 5678/tcp rrac Remote Replication Agent Connection 5679/tcp dccm Direct Cable Connect Manager 5713/tcp proshareaudio proshare conf audio 5714/tcp prosharevideo proshare conf video 5715/tcp prosharedata proshare conf data 5717/tcp prosharenotify proshare conf notify 5729/tcp openmail Openmail User Agent Layer 5741/tcp ida-discover1 IDA Discover Port 1 5742/tcp ida-discover2 IDA Discover Port 2 5745/tcp fcopy-server fcopy-server 5746/tcp fcopys-server fcopys-server 5755/tcp openmailg OpenMail Desk Gateway server 5757/tcp x500ms OpenMail X.500 Directory Server 5766/tcp openmailns OpenMail NewMail Server 5767/tcp s-openmail OpenMail Suer Agent Layer (Secure) 6000/tcp x11 X Window System 6110/tcp softcm HP SoftBench CM 6111/tcp spc HP SoftBench Sub-Process Control 6112/tcp dtspcd dtspcd 6123/tcp backup-express Backup Express 6141/tcp meta-corp Meta Corporation License Manager 6142/tcp aspentec-lm Aspen Technology License Manager 6143/tcp watershed-lm Watershed License Manager 6144/tcp statsci1-lm StatSci License Manager - 1 6145/tcp statsci2-lm StatSci License Manager - 2 6146/tcp lonewolf-lm Lone Wolf Systems License Manager 6147/tcp montage-lm Montage License Manager 6148/tcp ricardo-lm Ricardo North America License Manager 6149/tcp tal-pod tal-pod 6253/tcp crip CRIP 6389/tcp clariion-evr01 clariion-evr01 6500/tcp boks BoKS Master 6558/tcp xdsxdm 6665/tcp ircu IRCU 6670/tcp vocaltec-gold Vocaltec Global Online Directory 6672/tcp vision_server vision_server 6673/tcp vision_elmd vision_elmd 6790/tcp hnmp HNMP 6831/tcp ambit-lm ambit-lm 6969/tcp acmsoda acmsoda 7010/tcp ups-onlinet onlinet uninterruptable power supplies 7020/tcp dpserve DP Serve 7070/tcp arcp ARCP 7099/tcp lazy-ptop lazy-ptop 7100/tcp font-service X Font Service 7121/tcp virprot-lm Virtual Prototypes License Manager 7174/tcp clutild Clutild 7200/tcp fodms FODMS FLIP 7201/tcp dlip DLIP 7395/tcp winqedit winqedit 7426/tcp pmdmgr OpenView DM Postmaster Manager 7430/tcp xmpv7 OpenView DM xmpv7 api pipe 7431/tcp pmd OpenView DM ovc/xmpv3 api pipe 7491/tcp telops-lmd telops-lmd 7511/tcp pafec-lm pafec-lm 7544/tcp nta-ds FlowAnalyzer DisplayServer 7545/tcp nta-us FlowAnalyzer UtilityServer 7588/tcp sun-lm Sun License Manager 7777/tcp cbt cbt 7781/tcp accu-lmgr accu-lmgr 7932/tcp t2-drm Tier 2 Data Resource Manager 7933/tcp t2-brm Tier 2 Business Rules Manager 7999/tcp irdmi2 iRDMI2 8000/tcp irdmi iRDMI 8032/tcp pro-ed ProEd 8400/tcp cvd cvd 8401/tcp sabarsd sabarsd 8402/tcp abarsd abarsd 8403/tcp admind admind 8450/tcp npmp npmp 8473/tcp vp2p Vitual Point to Point 8888/tcp ddi-tcp-1 NewsEDGE server TCP (TCP 1) 8889/tcp ddi-tcp-2 Desktop Data TCP 1 8890/tcp ddi-tcp-3 Desktop Data TCP 2 8891/tcp ddi-tcp-4 Desktop Data TCP 3: NESS application 8892/tcp ddi-tcp-5 Desktop Data TCP 4: FARM product 8893/tcp ddi-tcp-6 Desktop Data TCP 5: NewsEDGE/Web application 8894/tcp ddi-tcp-7 Desktop Data TCP 6: COAL application 9000/tcp cslistener CSlistener 9006/tcp sctp SCTP 9090/tcp websm WebSM 9535/tcp man 9594/tcp msgsys Message System 9595/tcp pds Ping Discovery Service 9876/tcp sd Session Director 9992/tcp palace Palace 9993/tcp palace Palace 9994/tcp palace Palace 9995/tcp palace Palace 9996/tcp palace Palace 9997/tcp palace Palace 9998/tcp distinct32 Distinct32 9999/tcp distinct distinct 10000/tcp ndmp Network Data Management Protocol 11000/tcp irisa IRISA 11001/tcp metasys Metasys 12753/tcp tsaf tsaf port 13160/tcp i-zipqd I-ZIPQD 13720/tcp bprd BPRD Protocol (VERITAS NetBackup) 13721/tcp bpbrm BPBRM Protocol (VERITAS NetBackup) 13782/tcp bpcd VERITAS NetBackup 17219/tcp chipper Chipper 18000/tcp biimenu Beckman Instruments, Inc. 19410/tcp hp-sco hp-sco 19411/tcp hp-sca hp-sca 19541/tcp jcp JCP Client 21845/tcp webphone webphone 21846/tcp netspeak-is NetSpeak Corp. Directory Services 21847/tcp netspeak-cs NetSpeak Corp. Connection Services 21848/tcp netspeak-acd NetSpeak Corp. Automatic Call Distribution 21849/tcp netspeak-cps NetSpeak Corp. Credit Processing System 22273/tcp wnn6 wnn6 22555/tcp vocaltec-wconf Vocaltec Web Conference 22800/tcp aws-brf Telerate Information Platform LAN 22951/tcp brf-gw Telerate Information Platform WAN 24000/tcp med-ltp med-ltp 24004/tcp med-ovw med-ovw 24005/tcp med-ci med-ci 25000/tcp icl-twobase1 icl-twobase1 25001/tcp icl-twobase2 icl-twobase2 25002/tcp icl-twobase3 icl-twobase3 25003/tcp icl-twobase4 icl-twobase4 25004/tcp icl-twobase5 icl-twobase5 25005/tcp icl-twobase6 icl-twobase6 25006/tcp icl-twobase7 icl-twobase7 25007/tcp icl-twobase8 icl-twobase8 25008/tcp icl-twobase9 icl-twobase9 25009/tcp icl-twobase10 icl-twobase10 25793/tcp vocaltec-hos Vocaltec Address Server 26000/tcp quake quake 26208/tcp wnn6-ds wnn6-ds 45678/tcp eba EBA PRISE 47557/tcp dbbrowse Databeam Corporation 47806/tcp ap ALC Protocol 47808/tcp bacnet Building Automation and Control Networks ********************************************************************* port大全說明 那些數字就是port 那些英文是說明那些程式會開那些port 如果把IP解釋成我們家的地址的話,那麼PORT就是門了。當然我們家有時不只一扇門,使用的軟體不一樣,所要開啟的門也就不一樣,一般來說當我們開啟一套網路軟體後,便會開啟一個或數個PORT,有些軟體所開的PORT是固定的,但大部份都沒有固定。 上網意思就是從別人的電腦上下載資料到自己的電腦裏 . 網頁就是最上下載的資料 . 如果要允許資料傳輸, 你和別人的電腦都需要打開一個 PORT 讓資出入 . 即是說如何你的朋友要來探你, 他必需把他自己屋企的門口打開, 然後才可出街. 當你朋友到你屋企時 , 你又必需把你的門口打出, 你的朋友才可進入你家. 每一個與網上連線的程式都需要一PORT來傳輸資料, 而每個 PORT 都只給一個程或使用 . 一部電腦可同時打開不同的PORT給不同的程式使, 即是說你屋企可有幾個不同的門口 其實不管是什麼樣的網路軟體,只要知道程式開啟的PORT就可以控制他,像是網頁的話大部份都是PORT=80,一上網呢 ,就會開139,舊版的95都不會關了這一PORT,所以就常被當機,但98也是有,以後再述,最多人用的NetMeeting聊天一開就是1503,登入及聊天就會開1720跟1730。 常見的一些木馬的Port port 21 - Back Construction, Blade Runner, Doly Trojan, Fore, FTP trojan, Invisible FTP, Larva,WebEx, WinCrash port 23 - Tiny Telnet Server (= TTS) port 25 - Ajan, Antigen, Email Password Sender, Haebu Coceda (= Naebi), Happy 99, Kuang2, ProMail trojan, Shtrilitz, Stealth, Tapiras, Terminator, WinPC, WinSpy port 31 - Agent 31, Hackers Paradise, Masters Paradise port 41 - DeepThroat port 59 - DMSetup port 79 - Firehotcker port 80 - Executor, RingZero port 99 - Hidden Port port 110 - ProMail trojan port 113 - Kazimas port 119 - Happy 99 port 121 - JammerKillah port 421 - TCP Wrappers port 456 - Hackers Paradise port 531 - Rasmin port 555 - Ini-Killer, NeTAdmin, Phase Zero, Stealth Spy port 666 - Attack FTP, Back Construction, Cain &amp; Abel, Satanz Backdoor, ServeU, Shadow Phyre port 911 - Dark Shadow port 999 - DeepThroat, WinSatan port 1001 - Silencer, WebEx port 1010 - Doly Trojan port 1011 - Doly Trojan port 1012 - Doly Trojan port 1015 - Doly Trojan port 1024 - NetSpy port 1042 - Bla port 1045 - Rasmin port 1090 - Xtreme port 1170 - Psyber Stream Server, Streaming Audio trojan, Voice port 1234 - Ultors Trojan port 1243 - SubSeven port 1245 - VooDoo Doll port 1269 - Mavericks Matrix port 1349 (UDP) - BO DLL port 1492 - FTP99CMP port 1509 - Psyber Streaming Server port 1600 - Shivka-Burka port 1807 - SpySender port 1981 - Shockrave port 1999 - BackDoor port 1999 - TransScout port 2000 - TransScout port 2001 - TransScout port 2001 - Trojan Cow port 2002 - TransScout port 2003 - TransScout port 2004 - TransScout port 2005 - TransScout port 2023 - Ripper port 2115 - Bugs port 2140 - Deep Throat, The Invasor port 2155 - Illusion Mailer port 2283 - HVL Rat5 port 2565 - Striker port 2583 - WinCrash port 2600 - Digital RootBeer port 2801 - Phineas Phucker port 2989 (UDP) - RAT port 3024 - WinCrash port 3128 - RingZero port 3129 - Masters Paradise port 3150 - Deep Throat, The Invasor port 3459 - Eclipse 2000 port 3700 - Portal of Doom port 3791 - Eclypse port 3801 (UDP) - Eclypse port 4092 - WinCrash port 4321 - BoBo port 4567 - File Nail port 4590 - ICQTrojan port 5000 - Bubbel, Back Door Setup, Sockets de Troie port 5001 - Back Door Setup, Sockets de Troie port 5011 - One of the Last Trojans (OOTLT) port 5031 - NetMetro port 5321 - Firehotcker port 5400 - Blade Runner, Back Construction port 5401 - Blade Runner, Back Construction port 5402 - Blade Runner, Back Construction port 5550 - Xtcp port 5512 - Illusion Mailer port 5555 - ServeMe port 5556 - BO Facil port 5557 - BO Facil port 5569 - Robo-Hack port 5742 - WinCrash port 6400 - The Thing port 6669 - Vampyre port 6670 - DeepThroat port 6771 - DeepThroat port 6776 - BackDoor-G, SubSeven port 6912 - @!#$ Heep (not port 69123!) port 6939 - Indoctrination port 6969 - GateCrasher, Priority, IRC 3 port 6970 - GateCrasher port 7000 - Remote Grab, Kazimas port 7300 - NetMonitor port 7301 - NetMonitor port 7306 - NetMonitor port 7307 - NetMonitor port 7308 - NetMonitor port 7789 - Back Door Setup, ICKiller port 8080 - RingZero port 9400 - InCommand port 9872 - Portal of Doom port 9873 - Portal of Doom port 9874 - Portal of Doom port 9875 - Portal of Doom port 9876 - Cyber Attacker port 9878 - TransScout port 9989 - iNi-Killer port 10067 (UDP) - Portal of Doom port 10101 - BrainSpy port 10167 (UDP) - Portal of Doom port 10520 - Acid Shivers port 10607 - Coma port 11000 - Senna Spy port 11223 - Progenic trojan port 12076 - Gjamer port 12223 - Hack?9 KeyLogger port 12345 - GabanBus, NetBus, Pie Bill Gates, X-bill port 12346 - GabanBus, NetBus, X-bill port 12361 - Whack-a-mole port 12362 - Whack-a-mole port 12631 - WhackJob port 13000 - Senna Spy port 16969 - Priority port 17300 - Kuang2 The Virus port 20000 - Millennium port 20001 - Millennium port 20034 - NetBus 2 Pro port 20203 - Logged port 21544 - GirlFriend port 22222 - Prosiak port 23456 - Evil FTP, Ugly prot 0 - 65535 ]]></summary>
    <content type="html"><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br /><p><font face="Arial">Port 大全 </font></p><p><font face="Arial">1/tcp tcpmux TCP Port Service Multiplexer <br />2/tcp compressnet Management Utility <br />3/tcp compressnet Compression Process <br />5/tcp rje Remote Job Entry <br />7/tcp echo Echo <br />9/tcp discard Discard <br />11/tcp systat Active Users <br />13/tcp daytime Daytime (RFC 867) <br />17/tcp qotd Quote of the Day <br />18/tcp msp Message Send Protocol <br />19/tcp chargen Character Generator <br />20/tcp ftp-data File Transfer [Default Data] <br />21/tcp ftp File Transfer [Control] <br />22/tcp ssh SSH Remote Login Protocol <br />23/tcp telnet Telnet <br />24/tcp any private mail system any private mail system <br />25/tcp smtp Simple Mail Transfer <br />27/tcp nsw-fe NSW User System FE <br />29/tcp msg-icp MSG ICP <br />31/tcp msg-auth MSG Authentication <br />33/tcp dsp Display Support Protocol <br />35/tcp any private printer server any private printer server <br />37/tcp time Time <br />38/tcp rap Route Access Protocol <br />39/tcp rlp Resource Location Protocol <br />41/tcp graphics Graphics <br />42/tcp nameserver Host Name Server <br />43/tcp nicname Who Is <br />44/tcp mpm-flags MPM FLAGS Protocol <br />45/tcp mpm Message Processing Module [recv] <br />46/tcp mpm-snd MPM [default send] <br />47/tcp ni-ftp NI FTP <br />48/tcp auditd Digital Audit Daemon <br />49/tcp tacacs Login Host Protocol (TACACS) <br />50/tcp re-mail-ck Remote Mail Checking Protocol <br />51/tcp la-maint IMP Logical Address Maintenance <br />52/tcp xns-time XNS Time Protocol <br />53/tcp domain Domain Name Server <br />54/tcp xns-ch XNS Clearinghouse <br />55/tcp isi-gl ISI Graphics Language <br />56/tcp xns-auth XNS Authentication <br />57/tcp any private terminal access any private terminal access <br />58/tcp xns-mail XNS Mail <br />59/tcp any private file service any private file service <br />60/tcp Unassigned Unassigned <br />61/tcp ni-mail NI MAIL <br />62/tcp acas ACA Services <br />63/tcp whois++ whois++ <br />64/tcp covia Communications Integrator (CI) <br />65/tcp tacacs-ds TACACS-Database Service <br />66/tcp sql*net Oracle SQL*NET <br />67/tcp bootps Bootstrap Protocol Server <br />68/tcp bootpc Bootstrap Protocol Client <br />69/tcp tftp Trivial File Transfer <br />70/tcp gopher Gopher <br />71/tcp netrjs-1 Remote Job Service <br />72/tcp netrjs-2 Remote Job Service <br />73/tcp netrjs-3 Remote Job Service <br />74/tcp netrjs-4 Remote Job Service <br />75/tcp any private dial out service any private dial out service <br />76/tcp deos Distributed External Object Store <br />77/tcp any private RJE service any private RJE service <br />78/tcp vettcp vettcp <br />79/tcp finger Finger <br />80/tcp http-www World Wide Web HTTP <br />81/tcp hosts2-ns HOSTS2 Name Server <br />82/tcp xfer XFER Utility <br />83/tcp mit-ml-dev MIT ML Device <br />84/tcp ctf Common Trace Facility <br />85/tcp mit-ml-dev MIT ML Device <br />86/tcp mfcobol Micro Focus Cobol <br />87/tcp any private terminal link any private terminal link <br />88/tcp kerberos Kerberos <br />89/tcp su-mit-tg SU/MIT Telnet Gateway <br />90/tcp dnsix DNSIX Securit Attribute Token Map <br />91/tcp mit-dov MIT Dover Spooler <br />92/tcp npp Network Printing Protocol <br />93/tcp dcp Device Control Protocol <br />94/tcp objcall Tivoli Object Dispatcher <br />95/tcp supdup SUPDUP <br />96/tcp dixie DIXIE Protocol Specification <br />97/tcp swift-rvf Swift Remote Virtural File Protocol <br />98/tcp tacnews TAC News <br />99/tcp metagram Metagram Relay <br />101/tcp hostname NIC Host Name Server <br />102/tcp iso-tsap ISO-TSAP Class 0 <br />103/tcp gppitnp Genesis Point-to-Point Trans Net <br />104/tcp acr-nema ACR-NEMA Digital Imag. &amp; Comm. 300 <br />105/tcp cso CCSO name server protocol <br />105/tcp csnet-ns Mailbox Name Nameserver <br />106/tcp 3com-tsmux 3COM-TSMUX <br />107/tcp rtelnet Remote Telnet Service <br />108/tcp snagas SNA Gateway Access Server <br />109/tcp pop2 Post Office Protocol - Version 2 <br />110/tcp pop3 Post Office Protocol - Version 3 <br />111/tcp sunrpc SUN Remote Procedure Call <br />112/tcp mcidas McIDAS Data Transmission Protocol <br />113/tcp ident <br />114/tcp audionews Audio News Multicast <br />115/tcp sftp Simple File Transfer Protocol <br />116/tcp ansanotify ANSA REX Notify <br />117/tcp uucp-path UUCP Path Service <br />118/tcp sqlserv SQL Services <br />119/tcp nntp Network News Transfer Protocol <br />120/tcp cfdptkt CFDPTKT <br />121/tcp erpc Encore Expedited Remote Pro.Call <br />122/tcp smakynet SMAKYNET <br />123/tcp ntp Network Time Protocol <br />124/tcp ansatrader ANSA REX Trader <br />125/tcp locus-map Locus PC-Interface Net Map Ser <br />126/tcp unitary Unisys Unitary Login <br />127/tcp locus-con Locus PC-Interface Conn Server <br />128/tcp gss-xlicen GSS X License Verification <br />129/tcp pwdgen Password Generator Protocol <br />130/tcp cisco-fna cisco FNATIVE <br />131/tcp cisco-tna cisco TNATIVE <br />132/tcp cisco-sys cisco SYSMAINT <br />133/tcp statsrv Statistics Service <br />134/tcp ingres-net INGRES-NET Service <br />135/tcp epmap DCE endpoint resolution <br />136/tcp profile PROFILE Naming System <br />137/tcp netbios-ns NETBIOS Name Service <br />138/tcp netbios-dgm NETBIOS Datagram Service <br />139/tcp netbios-ssn NETBIOS Session Service <br />140/tcp emfis-data EMFIS Data Service <br />141/tcp emfis-cntl EMFIS Control Service <br />142/tcp bl-idm Britton-Lee IDM <br />143/tcp imap Internet Message Access Protocol <br />144/tcp uma Universal Management Architecture <br />145/tcp uaac UAAC Protocol <br />146/tcp iso-tp0 ISO-IP0 <br />147/tcp iso-ip ISO-IP <br />148/tcp jargon Jargon <br />149/tcp aed-512 AED 512 Emulation Service <br />150/tcp sql-net SQL-NET <br />151/tcp hems HEMS <br />152/tcp bftp Background File Transfer Program <br />153/tcp sgmp SGMP <br />154/tcp netsc-prod NETSC <br />155/tcp netsc-dev NETSC <br />156/tcp sqlsrv SQL Service <br />157/tcp knet-cmp KNET/VM Command/Message Protocol <br />158/tcp pcmail-srv PCMail Server <br />159/tcp nss-routing NSS-Routing <br />160/tcp sgmp-traps SGMP-TRAPS <br />161/tcp snmp SNMP <br />162/tcp snmptrap SNMPTRAP <br />163/tcp cmip-man CMIP/TCP Manager <br />164/tcp cmip-agent CMIP/TCP Agent <br />165/tcp xns-courier Xerox <br />166/tcp s-net Sirius Systems <br />167/tcp namp NAMP <br />168/tcp rsvd RSVD <br />169/tcp send SEND <br />170/tcp print-srv Network PostScript <br />171/tcp multiplex Network Innovations Multiplex <br />172/tcp cl/1 Network Innovations CL/1 <br />173/tcp xyplex-mux Xyplex <br />174/tcp mailq MAILQ <br />175/tcp vmnet VMNET <br />176/tcp genrad-mux GENRAD-MUX <br />177/tcp xdmcp X Display Manager Control Protocol <br />178/tcp nextstep NextStep Window Server <br />179/tcp bgp Border Gateway Protocol <br />180/tcp ris Intergraph <br />181/tcp unify Unify <br />182/tcp audit Unisys Audit SITP <br />183/tcp ocbinder OCBinder <br />184/tcp ocserver OCServer <br />185/tcp remote-kis Remote-KIS <br />186/tcp kis KIS Protocol <br />187/tcp aci Application Communication Interface <br />188/tcp mumps Plus Five's MUMPS <br />189/tcp qft Queued File Transport <br />190/tcp gacp Gateway Access Control Protocol <br />191/tcp prospero Prospero Directory Service <br />192/tcp osu-nms OSU Network Monitoring System <br />193/tcp srmp Spider Remote Monitoring Protocol <br />194/tcp irc Internet Relay Chat Protocol <br />195/tcp dn6-nlm-aud DNSIX Network Level Module Audit <br />196/tcp dn6-smm-red DNSIX Session Mgt Module Audit Redir <br />197/tcp dls Directory Location Service <br />198/tcp dls-mon Directory Location Service Monitor <br />199/tcp smux SMUX <br />200/tcp src IBM System Resource Controller <br />201/tcp at-rtmp AppleTalk Routing Maintenance <br />202/tcp at-nbp AppleTalk Name Binding <br />203/tcp at-3 AppleTalk Unused <br />204/tcp at-echo AppleTalk Echo <br />205/tcp at-5 AppleTalk Unused <br />206/tcp at-zis AppleTalk Zone Information <br />207/tcp at-7 AppleTalk Unused <br />208/tcp at-8 AppleTalk Unused <br />209/tcp qmtp The Quick Mail Transfer Protocol <br />210/tcp z39.50 ANSI Z39.50 <br />211/tcp 914c/g Texas Instruments 914C/G Terminal <br />212/tcp anet ATEXSSTR <br />214/tcp vmpwscs VM PWSCS <br />215/tcp softpc Insignia Solutions <br />216/tcp CAIlic Computer Associates Int'l License Server <br />217/tcp dbase dBASE Unix <br />218/tcp mpp Netix Message Posting Protocol <br />219/tcp uarps Unisys ARPs <br />220/tcp imap3 Interactive Mail Access Protocol v3 <br />221/tcp fln-spx Berkeley rlogind with SPX auth <br />222/tcp rsh-spx Berkeley rshd with SPX auth <br />223/tcp cdc Certificate Distribution Center <br />242/tcp direct Direct <br />243/tcp sur-meas Survey Measurement <br />244/tcp dayna Dayna <br />245/tcp link LINK <br />246/tcp dsp3270 Display Systems Protocol <br />247/tcp subntbcst_tftp SUBNTBCST_TFTP <br />248/tcp bhfhs bhfhs <br />256/tcp rap RAP <br />257/tcp set Secure Electronic Transaction <br />258/tcp yak-chat Yak Winsock Personal Chat <br />259/tcp esro-gen Efficient Short Remote Operations <br />260/tcp openport Openport <br />263/tcp hdap HDAP <br />264/tcp bgmp BGMP <br />280/tcp http-mgmt http-mgmt <br />309/tcp entrusttime EntrustTime <br />310/tcp bhmds bhmds <br />312/tcp vslmp VSLMP <br />315/tcp dpsi DPSI <br />316/tcp decauth decAuth <br />317/tcp zannet Zannet <br />321/tcp pip PIP <br />344/tcp pdap Prospero Data Access Protocol <br />345/tcp pawserv Perf Analysis Workbench <br />346/tcp zserv Zebra server <br />347/tcp fatserv Fatmen Server <br />348/tcp csi-sgwp Cabletron Management Protocol <br />349/tcp mftp mftp <br />351/tcp matip-type-b MATIP Type B <br />351/tcp bhoetty bhoetty (added 5/21/97) <br />353/tcp ndsauth NDSAUTH <br />354/tcp bh611 bh611 <br />357/tcp bhevent bhevent <br />362/tcp srssend SRS Send <br />365/tcp dtk DTK <br />366/tcp odmr ODMR <br />368/tcp qbikgdp QbikGDP <br />371/tcp clearcase Clearcase <br />372/tcp ulistproc ListProcessor <br />373/tcp legent-1 Legent Corporation <br />374/tcp legent-2 Legent Corporation <br />375/tcp hassle Hassle <br />376/tcp nip Amiga Envoy Network Inquiry Proto <br />377/tcp tnETOS NEC Corporation <br />378/tcp dsETOS NEC Corporation <br />379/tcp is99c TIA/EIA/IS-99 modem client <br />380/tcp is99s TIA/EIA/IS-99 modem server <br />381/tcp hp-collector hp performance data collector <br />383/tcp hp-alarm-mgr hp performance data alarm manager <br />384/tcp arns A Remote Network Server System <br />385/tcp ibm-app IBM Application <br />386/tcp asa ASA Message Router Object Def. <br />387/tcp aurp Appletalk Update-Based Routing Pro. <br />388/tcp unidata-ldm Unidata LDM Version 4 <br />389/tcp ldap Lightweight Directory Access Protocol <br />390/tcp uis UIS <br />391/tcp synotics-relay SynOptics SNMP Relay Port <br />393/tcp dis Data Interpretation System <br />394/tcp embl-ndt EMBL Nucleic Data Transfer <br />395/tcp netcp NETscout Control Protocol <br />396/tcp netware-ip Novell Netware over IP <br />397/tcp mptn Multi Protocol Trans. Net. <br />398/tcp kryptolan Kryptolan <br />399/tcp iso-tsap-c2 ISO Transport Class 2 Non-Control over TCP <br />400/tcp work-sol Workstation Solutions <br />401/tcp ups Uninterruptible Power Supply <br />402/tcp genie Genie Protocol <br />403/tcp decap decap <br />404/tcp nced nced <br />405/tcp ncld ncld <br />406/tcp imsp Interactive Mail Support Protocol <br />407/tcp timbuktu Timbuktu <br />408/tcp prm-sm Prospero Resource Manager Sys. Man. <br />409/tcp prm-nm Prospero Resource Manager Node Man. <br />410/tcp decladebug DECLadebug Remote Debug Protocol <br />411/tcp rmt Remote MT Protocol <br />412/tcp synoptics-trap Trap Convention Port <br />413/tcp smsp SMSP <br />414/tcp infoseek InfoSeek <br />415/tcp bnet BNet <br />416/tcp silverplatter Silverplatter <br />417/tcp onmux Onmux <br />418/tcp hyper-g Hyper-G <br />419/tcp ariel1 Ariel <br />420/tcp smpte SMPTE <br />421/tcp ariel2 Ariel <br />422/tcp ariel3 Ariel <br />423/tcp opc-job-start IBM Operations Planning and Control Start <br />424/tcp opc-job-track IBM Operations Planning and Control Track <br />425/tcp icad-el ICAD <br />426/tcp smartsdp smartsdp <br />427/tcp svrloc Server Location <br />428/tcp ocs_cmu OCS_CMU <br />429/tcp ocs_amu OCS_AMU <br />430/tcp utmpsd UTMPSD <br />431/tcp utmpcd UTMPCD <br />432/tcp iasd IASD <br />433/tcp nnsp NNSP <br />434/tcp mobileip-agent MobileIP-Agent <br />435/tcp mobilip-mn MobilIP-MN <br />436/tcp dna-cml DNA-CML <br />437/tcp comscm comscm <br />438/tcp dsfgw dsfgw <br />439/tcp dasp dasp Thomas Obermair <br />440/tcp sgcp sgcp <br />441/tcp decvms-sysmgt decvms-sysmgt <br />442/tcp cvc_hostd cvc_hostd <br />443/tcp https http protocol over TLS/SSL <br />444/tcp snpp Simple Network Paging Protocol <br />445/tcp microsoft-ds Microsoft-DS <br />446/tcp ddm-rdb DDM-RDB <br />447/tcp ddm-dfm DDM-RFM <br />448/tcp ddm-ssl DDM-SSL <br />449/tcp as-servermap AS Server Mapper <br />450/tcp tserver TServer <br />451/tcp sfs-smp-net Cray Network Semaphore server <br />453/tcp creativeserver CreativeServer <br />454/tcp contentserver ContentServer <br />455/tcp creativepartnr CreativePartnr <br />456/tcp macon-tcp macon-tcp <br />457/tcp scohelp scohelp <br />458/tcp appleqtc apple quick time <br />459/tcp ampr-rcmd ampr-rcmd <br />460/tcp skronk skronk <br />461/tcp datasurfsrv DataRampSrv <br />462/tcp datasurfsrvsec DataRampSrvSec <br />463/tcp alpes alpes <br />464/tcp kpasswd kpasswd <br />465/tcp smtps smtp protocol over TLS/SSL (was ssmtp) <br />466/tcp digital-vrc digital-vrc <br />467/tcp mylex-mapd mylex-mapd <br />468/tcp photuris proturis <br />469/tcp rcp Radio Control Protocol <br />470/tcp scx-proxy scx-proxy <br />471/tcp mondex Mondex <br />472/tcp ljk-login ljk-login <br />473/tcp hybrid-pop hybrid-pop <br />474/tcp tn-tl-w1 tn-tl-w1 <br />475/tcp tcpnethaspsrv tcpnethaspsrv <br />476/tcp tn-tl-fd1 tn-tl-fd1 <br />477/tcp ss7ns ss7ns <br />478/tcp spsc spsc <br />479/tcp iafserver iafserver <br />480/tcp iafdbase iafdbase <br />481/tcp ph Ph service <br />482/tcp bgs-nsi bgs-nsi <br />483/tcp ulpnet ulpnet <br />484/tcp integra-sme Integra Software Management Environment <br />485/tcp powerburst Air Soft Power Burst <br />486/tcp avian avian <br />487/tcp saft saft Simple Asynchronous File Transfer <br />488/tcp gss-http gss-http <br />489/tcp nest-protocol nest-protocol <br />490/tcp micom-pfs micom-pfs <br />491/tcp go-login go-login <br />492/tcp ticf-1 Transport Independent Convergence for FNA <br />493/tcp ticf-2 Transport Independent Convergence for FNA <br />494/tcp pov-ray POV-Ray <br />495/tcp intecourier intecourier <br />496/tcp pim-rp-disc PIM-RP-DISC <br />497/tcp dantz dantz <br />498/tcp siam siam <br />499/tcp iso-ill ISO ILL Protocol <br />500/tcp isakmp isakmp <br />501/tcp stmf STMF <br />502/tcp asa-appl-proto asa-appl-proto <br />503/tcp intrinsa Intrinsa <br />504/tcp citadel citadel <br />505/tcp mailbox-lm mailbox-lm <br />506/tcp ohimsrv ohimsrv <br />507/tcp crs crs <br />508/tcp xvttp xvttp <br />509/tcp snare snare <br />510/tcp fcp FirstClass Protocol <br />511/tcp passgo PassGo <br />512/tcp exec remote process execution; <br />513/tcp login remote login a la telnet; <br />514/tcp shell cmd <br />515/tcp printer spooler <br />516/tcp videotex videotex <br />517/tcp talk like tenex link, but across <br />518/tcp ntalk <br />519/tcp utime unixtime <br />520/tcp efs extended file name server <br />521/tcp ripng ripng <br />522/tcp ulp ULP <br />523/tcp ibm-db2 IBM-DB2 <br />524/tcp ncp NCP <br />525/tcp timed timeserver <br />526/tcp tempo newdate <br />527/tcp stx Stock IXChange <br />528/tcp custix Customer IXChange <br />529/tcp irc-serv IRC-SERV <br />530/tcp courier rpc <br />531/tcp conference chat <br />532/tcp netnews readnews <br />533/tcp netwall for emergency broadcasts <br />534/tcp mm-admin MegaMedia Admin <br />535/tcp iiop iiop <br />536/tcp opalis-rdv opalis-rdv <br />537/tcp nmsp Networked Media Streaming Protocol <br />538/tcp gdomap gdomap <br />539/tcp apertus-ldp Apertus Technologies Load Determination <br />540/tcp uucp uucpd <br />541/tcp uucp-rlogin uucp-rlogin <br />542/tcp commerce commerce <br />543/tcp klogin <br />544/tcp kshell krcmd <br />545/tcp appleqtcsrvr appleqtcsrvr <br />546/tcp dhcpv6-client DHCPv6 Client <br />547/tcp dhcpv6-server DHCPv6 Server <br />548/tcp afpovertcp AFP over TCP <br />549/tcp idfp IDFP <br />550/tcp new-rwho new-who <br />551/tcp cybercash cybercash <br />552/tcp deviceshare deviceshare <br />553/tcp pirp pirp <br />554/tcp rtsp Real Time Stream Control Protocol <br />555/tcp dsf <br />556/tcp remotefs rfs server <br />557/tcp openvms-sysipc openvms-sysipc <br />558/tcp sdnskmp SDNSKMP <br />559/tcp teedtap TEEDTAP <br />560/tcp rmonitor rmonitord <br />561/tcp monitor <br />562/tcp chshell chcmd <br />563/tcp nntps nntp protocol over TLS/SSL (was snntp) <br />564/tcp 9pfs plan 9 file service <br />565/tcp whoami whoami <br />566/tcp streettalk streettalk <br />567/tcp banyan-rpc banyan-rpc <br />568/tcp ms-shuttle microsoft shuttle <br />569/tcp ms-rome microsoft rome <br />570/tcp meter demon <br />571/tcp meter udemon <br />572/tcp sonar sonar <br />573/tcp banyan-vip banyan-vip <br />574/tcp ftp-agent FTP Software Agent System <br />575/tcp vemmi VEMMI <br />576/tcp ipcd ipcd <br />577/tcp vnas vnas <br />578/tcp ipdd ipdd <br />579/tcp decbsrv decbsrv <br />581/tcp bdp Bundle Discovery Protocol <br />588/tcp cal CAL <br />589/tcp eyelink EyeLink <br />590/tcp tns-cml TNS CML <br />593/tcp http-rpc-epmap HTTP RPC Ep Map <br />594/tcp tpip TPIP <br />596/tcp smsd SMSD <br />599/tcp acp Aeolon Core Protocol <br />600/tcp ipcserver Sun IPC server <br />606/tcp urm Cray Unified Resource Manager <br />607/tcp nqs nqs <br />608/tcp sift-uft Sender-Initiated/Unsolicited File Transfer <br />609/tcp npmp-trap npmp-trap <br />610/tcp npmp-local npmp-local <br />611/tcp npmp-gui npmp-gui <br />613/tcp hmmp-op HMMP Operation <br />620/tcp sco-websrvrmgr SCO WebServer Manager <br />621/tcp escp-ip ESCP <br />625/tcp dec_dlm DEC DLM <br />626/tcp asia ASIA <br />628/tcp qmqp QMQP <br />630/tcp rda RDA <br />631/tcp ipp IPP (Internet Printing Protocol) <br />632/tcp bmpp bmpp <br />634/tcp ginad ginad <br />635/tcp rlzdbase RLZ DBase <br />636/tcp ldaps ldap protocol over TLS/SSL (was sldap) <br />637/tcp lanserver lanserver <br />639/tcp msdp MSDP <br />666/tcp doom doom Id Software <br />667/tcp disclose campaign contribution disclosures - SDR Technologies <br />668/tcp mecomm MeComm <br />669/tcp meregister MeRegister <br />670/tcp vacdsm-sws VACDSM-SWS <br />671/tcp vacdsm-app VACDSM-APP <br />672/tcp vpps-qua VPPS-QUA <br />673/tcp cimplex CIMPLEX <br />674/tcp acap ACAP <br />675/tcp dctp DCTP <br />704/tcp elcsd errlog copy/server daemon <br />705/tcp agentx AgentX <br />709/tcp entrust-kmsh Entrust Key Management Service Handler <br />710/tcp entrust-ash Entrust Administration Service Handler <br />729/tcp netviewdm1 IBM NetView DM/6000 Server/Client <br />730/tcp netviewdm2 IBM NetView DM/6000 send/tcp <br />731/tcp netviewdm3 IBM NetView DM/6000 receive/tcp <br />741/tcp netgw netGW <br />742/tcp netrcs Network based Rev. Cont. Sys. <br />744/tcp flexlm Flexible License Manager <br />747/tcp fujitsu-dev Fujitsu Device Control <br />748/tcp ris-cm Russell Info Sci Calendar Manager <br />749/tcp kerberos-adm kerberos administration <br />750/tcp rfile <br />751/tcp pump <br />752/tcp qrh <br />753/tcp rrh <br />754/tcp tell send <br />758/tcp nlogin <br />759/tcp con <br />760/tcp ns <br />761/tcp rxe <br />762/tcp quotad <br />763/tcp cycleserv <br />764/tcp omserv <br />765/tcp webster <br />769/tcp vid <br />770/tcp cadlock <br />771/tcp rtip <br />772/tcp cycleserv2 <br />773/tcp submit <br />774/tcp rpasswd <br />776/tcp wpages <br />780/tcp wpgs <br />786/tcp concert Concert <br />787/tcp qsc QSC <br />801/tcp device <br />873/tcp rsync rsync <br />886/tcp iclcnet-locate ICL coNETion locate server <br />887/tcp iclcnet_svinfo ICL coNETion server info <br />888/tcp accessbuilder AccessBuilder <br />900/tcp omginitialrefs OMG Initial Refs <br />911/tcp xact-backup xact-backup <br />990/tcp ftps ftp protocol, control, over TLS/SSL <br />991/tcp nas Netnews Administration System <br />992/tcp telnets telnet protocol over TLS/SSL <br />993/tcp imaps imap4 protocol over TLS/SSL <br />994/tcp ircs irc protocol over TLS/SSL <br />995/tcp pop3s pop3 protocol over TLS/SSL (was spop3) <br />996/tcp vsinet vsinet <br />997/tcp maitrd <br />998/tcp busboy <br />999/tcp garcon <br />1000/tcp cadlock <br />1010/tcp surf surf <br />1023/tcp Reserved Reserved <br />1030/tcp iad1 BBN IAD <br />1031/tcp iad2 BBN IAD <br />1032/tcp iad3 BBN IAD <br />1047/tcp neod1 Sun's NEO Object Request Broker <br />1048/tcp neod2 Sun's NEO Object Request Broker <br />1058/tcp nim nim <br />1059/tcp nimreg nimreg <br />1067/tcp instl_boots Installation Bootstrap Proto. Serv. <br />1068/tcp instl_bootc Installation Bootstrap Proto. Cli. <br />1080/tcp socks Socks <br />1083/tcp ansoft-lm-1 Anasoft License Manager <br />1084/tcp ansoft-lm-2 Anasoft License Manager <br />1123/tcp murray Murray <br />1155/tcp nfa Network File Access <br />1212/tcp lupa lupa <br />1222/tcp nerv SNI R&amp;D network <br />1239/tcp nmsd NMSD <br />1248/tcp hermes <br />1313/tcp bmc_patroldb BMC_PATROLDB <br />1314/tcp pdps Photoscript Distributed Printing System <br />1321/tcp pip PIP <br />1345/tcp vpjp VPJP <br />1346/tcp alta-ana-lm Alta Analytics License Manager <br />1347/tcp bbn-mmc multi media conferencing <br />1348/tcp bbn-mmx multi media conferencing <br />1349/tcp sbook Registration Network Protocol <br />1350/tcp editbench Registration Network Protocol <br />1352/tcp lotusnote Lotus Note <br />1353/tcp relief Relief Consulting <br />1354/tcp rightbrain RightBrain Software <br />1355/tcp intuitive-edge Intuitive Edge <br />1356/tcp cuillamartin CuillaMartin Company <br />1357/tcp pegboard Electronic PegBoard <br />1358/tcp connlcli CONNLCLI <br />1359/tcp ftsrv FTSRV <br />1360/tcp mimer MIMER <br />1361/tcp linx LinX <br />1362/tcp timeflies TimeFlies <br />1363/tcp ndm-requester Network DataMover Requester <br />1364/tcp ndm-server Network DataMover Server <br />1365/tcp adapt-sna Network Software Associates <br />1366/tcp netware-csp Novell NetWare Comm Service Platform <br />1367/tcp dcs DCS <br />1368/tcp screencast ScreenCast <br />1369/tcp gv-us GlobalView to Unix Shell <br />1370/tcp us-gv Unix Shell to GlobalView <br />1371/tcp fc-cli Fujitsu Config Protocol <br />1372/tcp fc-ser Fujitsu Config Protocol <br />1373/tcp chromagrafx Chromagrafx <br />1374/tcp molly EPI Software Systems <br />1375/tcp bytex Bytex <br />1376/tcp ibm-pps IBM Person to Person Software <br />1377/tcp cichlid Cichlid License Manager <br />1378/tcp elan Elan License Manager <br />1379/tcp dbreporter Integrity Solutions <br />1380/tcp telesis-licman Telesis Network License Manager <br />1381/tcp apple-licman Apple Network License Manager <br />1382/tcp udt_os <br />1383/tcp gwha GW Hannaway Network License Manager <br />1384/tcp os-licman Objective Solutions License Manager <br />1385/tcp atex_elmd Atex Publishing License Manager <br />1386/tcp checksum CheckSum License Manager <br />1387/tcp cadsi-lm Computer Aided Design Software Inc LM <br />1388/tcp objective-dbc Objective Solutions DataBase Cache <br />1389/tcp iclpv-dm Document Manager <br />1390/tcp iclpv-sc Storage Controller <br />1391/tcp iclpv-sas Storage Access Server <br />1392/tcp iclpv-pm Print Manager <br />1393/tcp iclpv-nls Network Log Server <br />1394/tcp iclpv-nlc Network Log Client <br />1395/tcp iclpv-wsm PC Workstation Manager software <br />1396/tcp dvl-activemail DVL Active Mail <br />1399/tcp cadkey-licman Cadkey License Manager <br />1400/tcp cadkey-tablet Cadkey Tablet Daemon <br />1402/tcp prm-sm-np Prospero Resource Manager <br />1403/tcp prm-nm-np Prospero Resource Manager <br />1404/tcp igi-lm Infinite Graphics License Manager <br />1405/tcp ibm-res IBM Remote Execution Starter <br />1406/tcp netlabs-lm NetLabs License Manager <br />1407/tcp dbsa-lm DBSA License Manager <br />1408/tcp sophia-lm Sophia License Manager <br />1409/tcp here-lm Here License Manager <br />1410/tcp hiq HiQ License Manager <br />1411/tcp af AudioFile <br />1412/tcp innosys InnoSys <br />1413/tcp innosys-acl Innosys-ACL <br />1414/tcp ibm-mqseries IBM MQSeries <br />1415/tcp dbstar DBStar <br />1416/tcp novell-lu6.2 Novell LU6.2 <br />1417/tcp timbuktu-srv1 Timbuktu Service 1 Port <br />1418/tcp timbuktu-srv2 Timbuktu Service 2 Port <br />1419/tcp timbuktu-srv3 Timbuktu Service 3 Port <br />1420/tcp timbuktu-srv4 Timbuktu Service 4 Port <br />1421/tcp gandalf-lm Gandalf License Manager <br />1422/tcp autodesk-lm Autodesk License Manager <br />1423/tcp essbase Essbase Arbor Software <br />1424/tcp hybrid Hybrid Encryption Protocol <br />1425/tcp zion-lm Zion Software License Manager <br />1426/tcp sais Satellite-data Acquisition System 1 <br />1427/tcp mloadd mloadd monitoring tool <br />1428/tcp informatik-lm Informatik License Manager <br />1429/tcp nms Hypercom NMS <br />1430/tcp tpdu Hypercom TPDU <br />1431/tcp rgtp Reverse Gossip Transport <br />1432/tcp blueberry-lm Blueberry Software License Manager <br />1433/tcp ms-sql-s Microsoft-SQL-Server <br />1434/tcp ms-sql-m Microsoft-SQL-Monitor <br />1435/tcp ibm-cics IBM CICS <br />1436/tcp saism Satellite-data Acquisition System 2 <br />1437/tcp tabula Tabula <br />1438/tcp eicon-server Eicon Security Agent/Server <br />1439/tcp eicon-x25 Eicon X25/SNA Gateway <br />1440/tcp eicon-slp Eicon Service Location Protocol <br />1441/tcp cadis-1 Cadis License Management <br />1442/tcp cadis-2 Cadis License Management <br />1443/tcp ies-lm Integrated Engineering Software <br />1444/tcp marcam-lm Marcam License Management <br />1445/tcp proxima-lm Proxima License Manager <br />1446/tcp ora-lm Optical Research Associates License Manager <br />1447/tcp apri-lm Applied Parallel Research LM <br />1448/tcp oc-lm OpenConnect License Manager <br />1449/tcp peport PEport <br />1450/tcp dwf Tandem Distributed Workbench Facility <br />1451/tcp infoman IBM Information Management <br />1452/tcp gtegsc-lm GTE Government Systems License Man <br />1453/tcp genie-lm Genie License Manager <br />1454/tcp interhdl_elmd interHDL License Manager <br />1455/tcp esl-lm ESL License Manager <br />1456/tcp dca DCA <br />1457/tcp valisys-lm Valisys License Manager <br />1458/tcp nrcabq-lm Nichols Research Corp. <br />1459/tcp proshare1 Proshare Notebook Application <br />1460/tcp proshare2 Proshare Notebook Application <br />1461/tcp ibm_wrless_lan IBM Wireless LAN <br />1462/tcp world-lm World License Manager <br />1463/tcp nucleus Nucleus <br />1464/tcp msl_lmd MSL License Manager <br />1465/tcp pipes Pipes Platform <br />1466/tcp oceansoft-lm Ocean Software License Manager <br />1467/tcp csdmbase CSDMBASE <br />1468/tcp csdm CSDM <br />1469/tcp aal-lm Active Analysis Limited License Manager <br />1470/tcp uaiact Universal Analytics <br />1471/tcp csdmbase csdmbase <br />1472/tcp csdm csdm <br />1473/tcp openmath OpenMath <br />1474/tcp telefinder Telefinder <br />1475/tcp taligent-lm Taligent License Manager <br />1476/tcp clvm-cfg clvm-cfg <br />1477/tcp ms-sna-server ms-sna-server <br />1478/tcp ms-sna-base ms-sna-base <br />1479/tcp dberegister dberegister <br />1480/tcp pacerforum PacerForum <br />1481/tcp airs AIRS <br />1482/tcp miteksys-lm Miteksys License Manager <br />1483/tcp afs AFS License Manager <br />1484/tcp confluent Confluent License Manager <br />1485/tcp lansource LANSource <br />1486/tcp nms_topo_serv nms_topo_serv <br />1487/tcp localinfosrvr LocalInfoSrvr <br />1488/tcp docstor DocStor <br />1489/tcp dmdocbroker dmdocbroker <br />1490/tcp insitu-conf insitu-conf <br />1491/tcp anynetgateway anynetgateway <br />1492/tcp stone-design-1 stone-design-1 <br />1493/tcp netmap_lm netmap_lm <br />1494/tcp ica ica <br />1495/tcp cvc cvc <br />1496/tcp liberty-lm liberty-lm <br />1497/tcp rfx-lm rfx-lm <br />1498/tcp sybase-sqlany Sybase SQL Any <br />1499/tcp fhc Federico Heinz Consultora <br />1500/tcp vlsi-lm VLSI License Manager <br />1501/tcp saiscm Satellite-data Acquisition System 3 <br />1502/tcp shivadiscovery Shiva <br />1503/tcp imtc-mcs Databeam <br />1504/tcp evb-elm EVB Software Engineering License Manager <br />1505/tcp funkproxy Funk Software, Inc. <br />1506/tcp utcd Universal Time daemon (utcd) <br />1507/tcp symplex symplex <br />1508/tcp diagmond diagmond <br />1509/tcp robcad-lm Robcad, Ltd. License Manager <br />1510/tcp mvx-lm Midland Valley Exploration Ltd. Lic. Man. <br />1511/tcp 3l-l1 3l-l1 <br />1512/tcp wins Microsoft's Windows Internet Name Service <br />1513/tcp fujitsu-dtc Fujitsu Systems Business of America, Inc <br />1514/tcp fujitsu-dtcns Fujitsu Systems Business of America, Inc <br />1515/tcp ifor-protocol ifor-protocol <br />1516/tcp vpad Virtual Places Audio data <br />1517/tcp vpac Virtual Places Audio control <br />1518/tcp vpvd Virtual Places Video data <br />1519/tcp vpvc Virtual Places Video control <br />1520/tcp atm-zip-office atm zip office <br />1521/tcp ncube-lm nCube License Manager <br />1522/tcp ricardo-lm Ricardo North America License Manager <br />1523/tcp cichild-lm cichild <br />1525/tcp orasrv oracle <br />1525/tcp prospero-np Prospero Directory Service non-priv <br />1526/tcp pdap-np Prospero Data Access Prot non-priv <br />1527/tcp tlisrv oracle <br />1528/tcp mciautoreg micautoreg <br />1529/tcp coauthor oracle <br />1530/tcp rap-service rap-service <br />1531/tcp rap-listen rap-listen <br />1532/tcp miroconnect miroconnect <br />1533/tcp virtual-places Virtual Places Software <br />1534/tcp micromuse-lm micromuse-lm <br />1535/tcp ampr-info ampr-info <br />1536/tcp ampr-inter ampr-inter <br />1537/tcp sdsc-lm isi-lm <br />1538/tcp 3ds-lm 3ds-lm <br />1539/tcp intellistor-lm Intellistor License Manager <br />1540/tcp rds rds <br />1541/tcp rds2 rds2 <br />1542/tcp gridgen-elmd gridgen-elmd <br />1543/tcp simba-cs simba-cs <br />1544/tcp aspeclmd aspeclmd <br />1545/tcp vistium-share vistium-share <br />1546/tcp abbaccuray abbaccuray <br />1547/tcp laplink laplink <br />1548/tcp axon-lm Axon License Manager <br />1549/tcp shivahose Shiva Hose <br />1550/tcp 3m-image-lm Image Storage license manager 3M Company <br />1551/tcp hecmtl-db HECMTL-DB <br />1552/tcp pciarray pciarray <br />1553/tcp sna-cs sna-cs <br />1554/tcp caci-lm CACI Products Company License Manager <br />1555/tcp livelan livelan <br />1556/tcp ashwin AshWin CI Tecnologies <br />1557/tcp arbortext-lm ArborText License Manager <br />1558/tcp xingmpeg xingmpeg <br />1559/tcp web2host web2host <br />1560/tcp asci-val asci-val <br />1561/tcp facilityview facilityview <br />1562/tcp pconnectmgr pconnectmgr <br />1563/tcp cadabra-lm Cadabra License Manager <br />1564/tcp pay-per-view Pay-Per-View <br />1565/tcp winddlb WinDD <br />1566/tcp corelvideo CORELVIDEO <br />1567/tcp jlicelmd jlicelmd <br />1568/tcp tsspmap tsspmap <br />1569/tcp ets ets <br />1570/tcp orbixd orbixd <br />1571/tcp rdb-dbs-disp Oracle Remote Data Base <br />1572/tcp chip-lm Chipcom License Manager <br />1573/tcp itscomm-ns itscomm-ns <br />1574/tcp mvel-lm mvel-lm <br />1575/tcp oraclenames oraclenames <br />1576/tcp moldflow-lm moldflow-lm <br />1577/tcp hypercube-lm hypercube-lm <br />1578/tcp jacobus-lm Jacobus License Manager <br />1579/tcp ioc-sea-lm ioc-sea-lm <br />1580/tcp tn-tl-r1 tn-tl-r1 <br />1581/tcp mil-2045-47001 MIL-2045-47001 <br />1582/tcp msims MSIMS <br />1583/tcp simbaexpress simbaexpress <br />1584/tcp tn-tl-fd2 tn-tl-fd2 <br />1585/tcp intv intv <br />1586/tcp ibm-abtact ibm-abtact <br />1587/tcp pra_elmd pra_elmd <br />1588/tcp triquest-lm triquest-lm <br />1589/tcp vqp VQP <br />1590/tcp gemini-lm gemini-lm <br />1591/tcp ncpm-pm ncpm-pm <br />1592/tcp commonspace commonspace <br />1593/tcp mainsoft-lm mainsoft-lm <br />1594/tcp sixtrak sixtrak <br />1595/tcp radio radio <br />1596/tcp radio-sm radio-sm <br />1597/tcp orbplus-iiop orbplus-iiop <br />1598/tcp picknfs picknfs <br />1599/tcp simbaservices simbaservices <br />1600/tcp issd <br />1601/tcp aas aas <br />1602/tcp inspect inspect <br />1603/tcp picodbc pickodbc <br />1604/tcp icabrowser icabrowser <br />1605/tcp slp Salutation Manager (Salutation Protocol) <br />1606/tcp slm-api Salutation Manager (SLM-API) <br />1607/tcp stt stt <br />1608/tcp smart-lm Smart Corp. License Manager <br />1609/tcp isysg-lm isysg-lm <br />1610/tcp taurus-wh taurus-wh <br />1611/tcp ill Inter Library Loan <br />1612/tcp netbill-trans NetBill Transaction Server <br />1613/tcp netbill-keyrep NetBill Key Repository <br />1614/tcp netbill-cred NetBill Credential Server <br />1615/tcp netbill-auth NetBill Authorization Server <br />1616/tcp netbill-prod NetBill Product Server <br />1617/tcp nimrod-agent Nimrod Inter-Agent Communication <br />1618/tcp skytelnet skytelnet <br />1619/tcp xs-openstorage xs-openstorage <br />1620/tcp faxportwinport faxportwinport <br />1621/tcp softdataphone softdataphone <br />1622/tcp ontime ontime <br />1623/tcp jaleosnd jaleosnd <br />1624/tcp udp-sr-port udp-sr-port <br />1625/tcp svs-omagent svs-omagent <br />1636/tcp cncp CableNet Control Protocol <br />1637/tcp cnap CableNet Admin Protocol <br />1638/tcp cnip CableNet Info Protocol <br />1639/tcp cert-initiator cert-initiator <br />1640/tcp cert-responder cert-responder <br />1641/tcp invision InVision <br />1642/tcp isis-am isis-am <br />1643/tcp isis-ambc isis-ambc <br />1645/tcp datametrics datametrics <br />1646/tcp sa-msg-port sa-msg-port <br />1647/tcp rsap rsap <br />1648/tcp concurrent-lm concurrent-lm <br />1649/tcp inspect inspect <br />1650/tcp nkd nkd <br />1651/tcp shiva_confsrvr shiva_confsrvr <br />1652/tcp xnmp xnmp <br />1653/tcp alphatech-lm alphatech-lm <br />1654/tcp stargatealerts stargatealerts <br />1655/tcp dec-mbadmin dec-mbadmin <br />1656/tcp dec-mbadmin-h dec-mbadmin-h <br />1657/tcp fujitsu-mmpdc fujitsu-mmpdc <br />1658/tcp sixnetudr sixnetudr <br />1659/tcp sg-lm Silicon Grail License Manager <br />1660/tcp skip-mc-gikreq skip-mc-gikreq <br />1661/tcp netview-aix-1 netview-aix-1 <br />1662/tcp netview-aix-2 netview-aix-2 <br />1663/tcp netview-aix-3 netview-aix-3 <br />1664/tcp netview-aix-4 netview-aix-4 <br />1665/tcp netview-aix-5 netview-aix-5 <br />1666/tcp netview-aix-6 netview-aix-6 <br />1667/tcp netview-aix-7 netview-aix-7 <br />1668/tcp netview-aix-8 netview-aix-8 <br />1669/tcp netview-aix-9 netview-aix-9 <br />1670/tcp netview-aix-10 netview-aix-10 <br />1671/tcp netview-aix-11 netview-aix-11 <br />1672/tcp netview-aix-12 netview-aix-12 <br />1673/tcp proshare-mc-1 Intel Proshare Multicast <br />1674/tcp proshare-mc-2 Intel Proshare Multicast <br />1675/tcp pdp Pacific Data Products <br />1676/tcp netcomm1 netcomm1 <br />1677/tcp groupwise groupwise <br />1678/tcp prolink prolink <br />1679/tcp darcorp-lm darcorp-lm <br />1681/tcp sd-elmd sd-elmd <br />1682/tcp lanyon-lantern lanyon-lantern <br />1683/tcp ncpm-hip ncpm-hip <br />1684/tcp snaresecure SnareSecure <br />1685/tcp n2nremote n2nremote <br />1686/tcp cvmon cvmon <br />1687/tcp nsjtp-ctrl nsjtp-ctrl <br />1688/tcp nsjtp-data nsjtp-data <br />1689/tcp firefox firefox <br />1690/tcp ng-umds ng-umds <br />1691/tcp empire-empuma empire-empuma <br />1692/tcp sstsys-lm sstsys-lm <br />1693/tcp rrirtr rrirtr <br />1694/tcp rrimwm rrimwm <br />1695/tcp rrilwm rrilwm <br />1696/tcp rrifmm rrifmm <br />1697/tcp rrisat rrisat <br />1698/tcp rsvp-encap-1 RSVP-ENCAPSULATION-1 <br />1699/tcp rsvp-encap-2 RSVP-ENCAPSULATION-2 <br />1700/tcp mps-raft mps-raft <br />1701/tcp l2f,l2tp l2f,l2tp <br />1702/tcp deskshare deskshare <br />1703/tcp hb-engine hb-engine <br />1704/tcp bcs-broker bcs-broker <br />1705/tcp slingshot slingshot <br />1706/tcp jetform jetform <br />1707/tcp vdmplay vdmplay <br />1708/tcp gat-lmd gat-lmd <br />1709/tcp centra centra <br />1710/tcp impera impera <br />1711/tcp pptconference pptconference <br />1712/tcp registrar resource monitoring service <br />1713/tcp conferencetalk ConferenceTalk <br />1714/tcp sesi-lm sesi-lm <br />1715/tcp houdini-lm houdini-lm <br />1716/tcp xmsg xmsg <br />1717/tcp fj-hdnet fj-hdnet <br />1718/tcp h323gatedisc h323gatedisc <br />1719/tcp h323gatestat h323gatestat <br />1720/tcp h323hostcall h323hostcall <br />1721/tcp caicci caicci <br />1722/tcp hks-lm HKS License Manager <br />1723/tcp pptp pptp <br />1724/tcp csbphonemaster csbphonemaster <br />1725/tcp iden-ralp iden-ralp <br />1726/tcp iberiagames IBERIAGAMES <br />1727/tcp winddx winddx <br />1728/tcp telindus TELINDUS <br />1729/tcp citynl CityNL License Management <br />1730/tcp roketz roketz <br />1731/tcp msiccp MSICCP <br />1732/tcp proxim proxim <br />1733/tcp siipat SIMS - SIIPAT Protocol for Alarm Transmission <br />1734/tcp cambertx-lm Camber Corporation License Management <br />1735/tcp privatechat PrivateChat <br />1736/tcp street-stream street-stream <br />1737/tcp ultimad ultimad <br />1738/tcp gamegen1 GameGen1 <br />1739/tcp webaccess webaccess <br />1740/tcp encore encore <br />1741/tcp cisco-net-mgmt cisco-net-mgmt <br />1742/tcp 3Com-nsd 3Com-nsd <br />1743/tcp cinegrfx-lm Cinema Graphics License Manager <br />1744/tcp ncpm-ft ncpm-ft <br />1745/tcp remote-winsock remote-winsock <br />1746/tcp ftrapid-1 ftrapid-1 <br />1747/tcp ftrapid-2 ftrapid-2 <br />1748/tcp oracle-em1 oracle-em1 <br />1749/tcp aspen-services aspen-services <br />1750/tcp sslp Simple Socket Library's PortMaster <br />1751/tcp swiftnet SwiftNet <br />1752/tcp lofr-lm Leap of Faith Research License Manager <br />1753/tcp translogic-lm Translogic License Manager <br />1754/tcp oracle-em2 oracle-em2 <br />1755/tcp ms-streaming ms-streaming <br />1756/tcp capfast-lmd capfast-lmd <br />1757/tcp cnhrp cnhrp <br />1758/tcp tftp-mcast tftp-mcast <br />1759/tcp spss-lm SPSS License Manager <br />1760/tcp www-ldap-gw www-ldap-gw <br />1761/tcp cft-0 cft-0 <br />1762/tcp cft-1 cft-1 <br />1763/tcp cft-2 cft-2 <br />1764/tcp cft-3 cft-3 <br />1765/tcp cft-4 cft-4 <br />1766/tcp cft-5 cft-5 <br />1767/tcp cft-6 cft-6 <br />1768/tcp cft-7 cft-7 <br />1769/tcp bmc-net-adm bmc-net-adm <br />1770/tcp bmc-net-svc bmc-net-svc <br />1771/tcp vaultbase vaultbase <br />1772/tcp essweb-gw EssWeb Gateway <br />1773/tcp kmscontrol KMSControl <br />1774/tcp global-dtserv global-dtserv <br />1776/tcp femis Federal Emergency Management Information System <br />1777/tcp powerguardian powerguardian <br />1779/tcp pharmasoft pharmasoft <br />1780/tcp dpkeyserv dpkeyserv <br />1781/tcp answersoft-lm answersoft-lm <br />1782/tcp hp-hcip hp-hcip <br />1783/tcp fjris Fujitsu Remote Install Service <br />1784/tcp finle-lm Finle License Manager <br />1785/tcp windlm Wind River Systems License Manager <br />1786/tcp funk-logger funk-logger <br />1787/tcp funk-license funk-license <br />1788/tcp psmond psmond <br />1789/tcp hello hello <br />1790/tcp nmsp Narrative Media Streaming Protocol <br />1791/tcp ea1 EA1 <br />1792/tcp ibm-dt-2 ibm-dt-2 <br />1793/tcp rsc-robot rsc-robot <br />1794/tcp cera-bcm cera-bcm <br />1795/tcp dpi-proxy dpi-proxy <br />1796/tcp vocaltec-admin Vocaltec Server Administration <br />1797/tcp uma UMA <br />1798/tcp etp Event Transfer Protocol <br />1799/tcp netrisk NETRISK <br />1801/tcp msmq Microsoft Message Que <br />1804/tcp enl ENL <br />1807/tcp fhsp Fujitsu Hot Standby Protocol <br />1812/tcp radius RADIUS <br />1813/tcp radius-acct RADIUS Accounting <br />1814/tcp tdp-suite TDP Suite <br />1815/tcp mmpft MMPFT <br />1816/tcp harp HARP <br />1818/tcp etftp Enhanced Trivial File Transfer Protocol <br />1819/tcp plato-lm Plato License Manager <br />1820/tcp mcagent mcagent <br />1821/tcp donnyworld donnyworld <br />1822/tcp es-elmd es-elmd <br />1823/tcp unisys-lm Unisys Natural Language License Manager <br />1824/tcp metrics-pas metrics-pas <br />1850/tcp gsi GSI <br />1863/tcp msnp MSNP <br />1865/tcp entp ENTP <br />1901/tcp fjicl-tep-a Fujitsu ICL Terminal Emulator Program A <br />1902/tcp fjicl-tep-b Fujitsu ICL Terminal Emulator Program B <br />1903/tcp linkname Local Link Name Resolution <br />1904/tcp fjicl-tep-c Fujitsu ICL Terminal Emulator Program C <br />1905/tcp sugp Secure UP.Link Gateway Protocol <br />1906/tcp tpmd TPortMapperReq <br />1908/tcp dawn Dawn <br />1911/tcp mtp Starlight Networks Multimedia Transport Protocol <br />1913/tcp armadp armadp <br />1914/tcp elm-momentum Elm-Momentum <br />1915/tcp facelink FACELINK <br />1916/tcp persona Persoft Persona <br />1917/tcp noagent nOAgent <br />1921/tcp noadmin NoAdmin <br />1944/tcp close-combat close-combat <br />1945/tcp dialogic-elmd dialogic-elmd <br />1946/tcp tekpls tekpls <br />1947/tcp hlserver hlserver <br />1948/tcp eye2eye eye2eye <br />1949/tcp ismaeasdaqlive ISMA Easdaq Live <br />1950/tcp ismaeasdaqtest ISMA Easdaq Test <br />1951/tcp bcs-lmserver bcs-lmserver <br />1973/tcp dlsrap Data Link Switching Remote Access Protocol <br />1985/tcp hsrp Hot Standby Router Protocol <br />1986/tcp licensedaemon cisco license management <br />1987/tcp tr-rsrb-p1 cisco RSRB Priority 1 port <br />1988/tcp tr-rsrb-p2 cisco RSRB Priority 2 port <br />1989/tcp tr-rsrb-p3 cisco RSRB Priority 3 port <br />1989/tcp mshnet MHSnet system <br />1990/tcp stun-p1 cisco STUN Priority 1 port <br />1991/tcp stun-p2 cisco STUN Priority 2 port <br />1992/tcp stun-p3 cisco STUN Priority 3 port <br />1992/tcp ipsendmsg IPsendmsg <br />1993/tcp snmp-tcp-port cisco SNMP TCP port <br />1994/tcp stun-port cisco serial tunnel port <br />1995/tcp perf-port cisco perf port <br />1996/tcp tr-rsrb-port cisco Remote SRB port <br />1997/tcp gdp-port cisco Gateway Discovery Protocol <br />1998/tcp x25-svc-port cisco X.25 service (XOT) <br />1999/tcp tcp-id-port cisco identification port <br />2000/tcp callbook <br />2001/tcp dc <br />2002/tcp globe <br />2004/tcp mailbox <br />2005/tcp berknet <br />2007/tcp dectalk <br />2012/tcp ttyinfo <br />2013/tcp raid-am <br />2014/tcp troff <br />2015/tcp cypress <br />2025/tcp ellpack <br />2030/tcp device2 <br />2032/tcp blackboard <br />2033/tcp glogger <br />2035/tcp imsldoc <br />2040/tcp lam <br />2042/tcp isis isis <br />2044/tcp rimsl <br />2045/tcp cdfunc <br />2046/tcp sdfunc <br />2047/tcp dls <br />2049/tcp shilp <br />2049/tcp nfs Network File System - Sun Microsystems <br />2065/tcp dlsrpn Data Link Switch Read Port Number <br />2067/tcp dlswpn Data Link Switch Write Port Number <br />2090/tcp lrp Load Report Protocol <br />2091/tcp prp PRP <br />2102/tcp zephyr-srv Zephyr server <br />2103/tcp zephyr-clt Zephyr serv-hm connection <br />2104/tcp zephyr-hm Zephyr hostmanager <br />2105/tcp minipay MiniPay <br />2200/tcp ici ICI <br />2201/tcp ats Advanced Training System Program <br />2213/tcp kali Kali <br />2222/tcp unreg-ab2 Allen-Bradley unregistered port <br />2232/tcp ivs-video IVS Video default <br />2234/tcp directplay DirectPlay <br />2236/tcp nani Nani <br />2240/tcp recipe RECIPe <br />2241/tcp ivsd IVS Daemon <br />2242/tcp foliocorp Folio Remote Server <br />2279/tcp xmquery xmquery <br />2280/tcp lnvpoller LNVPOLLER <br />2281/tcp lnvconsole LNVCONSOLE <br />2282/tcp lnvalarm LNVALARM <br />2283/tcp lnvstatus LNVSTATUS <br />2284/tcp lnvmaps LNVMAPS <br />2285/tcp lnvmailmon LNVMAILMON <br />2286/tcp nas-metering NAS-Metering <br />2287/tcp dna DNA <br />2288/tcp netml NETML <br />2300/tcp cvmmon CVMMON <br />2307/tcp pehelp pehelp <br />2308/tcp sdhelp sdhelp <br />2313/tcp iapp IAPP (Inter Access Point Protocol) <br />2316/tcp sent-lm SENT License Manager <br />2321/tcp rdlap RDLAP over UDP <br />2322/tcp ofsd ofsd <br />2323/tcp 3d-nfsd 3d-nfsd <br />2326/tcp idcp IDCP <br />2327/tcp xingcsm xingcsm <br />2329/tcp nvd NVD <br />2330/tcp tscchat TSCCHAT <br />2333/tcp snapp SNAPP <br />2337/tcp ideesrv ideesrv <br />2344/tcp fcmsys fcmsys <br />2345/tcp dbm dbm <br />2356/tcp gxtelmd GXT License Managemant <br />2358/tcp futrix Futrix <br />2390/tcp rsmtp RSMTP <br />2396/tcp wusage Wusage <br />2397/tcp ncl NCL <br />2398/tcp orbiter Orbiter <br />2401/tcp cvspserver cvspserver <br />2407/tcp orion Orion <br />2412/tcp cdn CDN <br />2415/tcp comtest COMTEST <br />2418/tcp cas cas <br />2421/tcp g-talk G-Talk <br />2423/tcp rnrp RNRP <br />2427/tcp stgcp Simple telephony Gateway Control Protocol <br />2428/tcp ott One Way Trip Time <br />2429/tcp ft-role FT-ROLE <br />2430/tcp venus venus <br />2432/tcp codasrv codasrv <br />2436/tcp topx TOP/X <br />2438/tcp msp MSP <br />2443/tcp powerclientcsf PowerClient Central Storage Facility <br />2445/tcp dtn1 DTN1 <br />2447/tcp ovwdb OpenView NNM daemon <br />2449/tcp ratl RATL <br />2451/tcp netchat netchat <br />2458/tcp griffin griffin <br />2500/tcp rtsserv Resource Tracking system server <br />2501/tcp rtsclient Resource Tracking system client <br />2528/tcp ncr_ccl NCR CCL <br />2529/tcp utsftp UTS FTP <br />2532/tcp ovtopmd OVTOPMD <br />2592/tcp netrek netrek <br />2628/tcp dict DICT <br />2634/tcp pk-electronics PK Electronics <br />2636/tcp solve Solve <br />2639/tcp aminet AMInet <br />2641/tcp hdl-srv HDL Server <br />2642/tcp tragic Tragic <br />2646/tcp and-lm AND Licence Manager <br />2653/tcp sonus Sonus <br />2655/tcp unglue UNIX Nt Glue <br />2656/tcp kana Kana <br />2700/tcp tqdata tqdata <br />2784/tcp www-dev world wide web - development <br />2785/tcp aic-np aic-np <br />2786/tcp aic-oncrpc aic-oncrpc - Destiny MCD database <br />2787/tcp piccolo piccolo - Cornerstone Software <br />2788/tcp fryeserv NetWare Loadable Module - Seagate Software <br />2789/tcp media-agent Media Agent <br />2908/tcp mao mao <br />2912/tcp epicon Epicon <br />2971/tcp netclip Net Clip <br />2974/tcp signal Signal <br />2975/tcp fjmpcm Fujitsu Configuration Management Service <br />3000/tcp hbci HBCI <br />3001/tcp redwood-broker Redwood Broker <br />3003/tcp cgms CGMS <br />3010/tcp gw Telerate Workstation <br />3012/tcp twsdss Trusted Web Client <br />3020/tcp cifs CIFS <br />3047/tcp hlserver Fast Security HL Server <br />3048/tcp pctrader Sierra Net PC Trader <br />3049/tcp nsws NSWS <br />3105/tcp cardbox Cardbox <br />3130/tcp icpv2 ICPv2 <br />3141/tcp vmodem VMODEM <br />3143/tcp seaview Sea View <br />3147/tcp rfio RFIO <br />3264/tcp ccmail cc:mail/lotus <br />3266/tcp ns-cfg-server NS CFG Server <br />3267/tcp ibm-dial-out IBM Dial Out <br />3268/tcp msft-gc Microsoft Global Catalog <br />3273/tcp sxmp Simple Extensible Multiplexed Protocol <br />3275/tcp samd SAMD <br />3279/tcp admind admind <br />3281/tcp sysopt SYSOPT <br />3284/tcp 4talk 4Talk <br />3285/tcp plato Plato <br />3286/tcp e-net E-Net <br />3288/tcp cops COPS <br />3289/tcp enpc ENPC <br />3290/tcp caps-lm CAPS LOGISTICS TOOLKIT - LM <br />3291/tcp sah-lm S A Holditch &amp; Associates - LM <br />3293/tcp fg-fps fg-fps <br />3294/tcp fg-gip fg-gip <br />3296/tcp rib-slm Rib License Manager <br />3299/tcp pdrncs pdrncs <br />3304/tcp opsession-srvr OP Session Server <br />3306/tcp mysql MySQL <br />3309/tcp tns-adv TNS ADV <br />3313/tcp uorb Unify Object Broker <br />3314/tcp uohost Unify Object Host <br />3315/tcp cdid CDID <br />3318/tcp ssrip Swith to Swith Routing Information Protocol <br />3319/tcp sdt-lmd SDT License Manager <br />3321/tcp vnsstr VNSSTR <br />3326/tcp sftu SFTU <br />3327/tcp bbars BBARS <br />3328/tcp egptlm Eaglepoint License Manager <br />3329/tcp hp-device-disc HP Device Disc <br />3330/tcp mcs-calypsoicf MCS Calypso ICF <br />3333/tcp dec-notes DEC Notes <br />3338/tcp anet-b OMF data b <br />3339/tcp anet-l OMF data l <br />3340/tcp anet-m OMF data m <br />3341/tcp anet-h OMF data h <br />3342/tcp webtie WebTIE <br />3351/tcp btrieve BTRIEVE <br />3352/tcp ssql SSQL <br />3353/tcp fatpipe FATPIPE <br />3354/tcp suitjd SUITJD <br />3362/tcp dj-ilm DJ ILM <br />3372/tcp tip2 TIP 2 <br />3378/tcp wsicopy WSICOPY <br />3379/tcp socorfs SOCORFS <br />3381/tcp geneous Geneous <br />3383/tcp esp-lm Enterprise Software Products License Manager <br />3390/tcp dsc Distributed Service Coordinator <br />3391/tcp savant SAVANT <br />3392/tcp efi-lm EFI License Management <br />3395/tcp dyna-lm Dyna License Manager (Elam) <br />3421/tcp bmap Bull Apprise portmapper <br />3455/tcp prsvp RSVP Port <br />3456/tcp vat VAT default data <br />3457/tcp vat-control VAT default control <br />3900/tcp udt_os Unidata UDT OS <br />3984/tcp mapper-nodemgr MAPPER network node manager <br />3985/tcp mapper-mapethd MAPPER TCP/IP server <br />3986/tcp mapper-ws_ethd MAPPER workstation server <br />4001/tcp newoak NewOak <br />4008/tcp netcheque NetCheque accounting <br />4096/tcp bre BRE (Bridge Relay Element) <br />4132/tcp nuts_dem NUTS Daemon <br />4133/tcp nuts_bootp NUTS Bootp Server <br />4143/tcp oidsr Document Replication <br />4321/tcp rwhois Remote Who Is <br />4343/tcp unicall UNICALL <br />4346/tcp elanlm ELAN LM <br />4348/tcp itose ITOSE <br />4444/tcp krb524 KRB524 <br />4444/tcp nv-video NV Video default <br />4446/tcp n1-fwp N1-FWP <br />4449/tcp privatewire PrivateWire <br />4450/tcp camp Camp <br />4451/tcp ctisystemmsg CTI System Msg <br />4452/tcp ctiprogramload CTI Program Load <br />4500/tcp sae-urn sae-urn <br />4501/tcp urn-x-cdchoice urn-x-cdchoice <br />4546/tcp sf-lm SF License Manager (Sentinel) <br />4672/tcp rfa remote file access server <br />4800/tcp iims Icona Instant Messenging System <br />4801/tcp iwec Icona Web Embedded Chat <br />4802/tcp ilss Icona License System Server <br />4827/tcp htcp HTCP <br />4868/tcp phrelay Photon Relay <br />4885/tcp abbs ABBS <br />5002/tcp rfe radio free ethernet <br />5003/tcp fmpro-internal FileMaker, Inc. - Proprietary transport <br />5004/tcp avt-profile-1 avt-profile-1 <br />5005/tcp avt-profile-2 avt-profile-2 <br />5010/tcp telelpathstart TelepathStart <br />5020/tcp zenginkyo-1 zenginkyo-1 <br />5021/tcp zenginkyo-2 zenginkyo-2 <br />5050/tcp mmcc multimedia conference control tool <br />5060/tcp sip SIP <br />5150/tcp atmp Ascend Tunnel Management Protocol <br />5190/tcp aol America-Online <br />5191/tcp aol-1 AmericaOnline1 <br />5192/tcp aol-2 AmericaOnline2 <br />5193/tcp aol-3 AmericaOnline3 <br />5272/tcp pk PK <br />5300/tcp hacl-hb # HA cluster heartbeat <br />5301/tcp hacl-gs # HA cluster general services <br />5304/tcp hacl-local # HA Cluster Commands <br />5305/tcp hacl-test # HA Cluster Test <br />5307/tcp sco-aip SCO AIP <br />5310/tcp outlaws Outlaws <br />5311/tcp tmlogin TM Login <br />5400/tcp excerpt Excerpt Search <br />5402/tcp mftp MFTP <br />5404/tcp hpoms-dps-lstn HPOMS-DPS-LSTN <br />5407/tcp foresyte-clear Foresyte-Clear <br />5409/tcp salient-dtasrv Salient Data Server <br />5410/tcp salient-usrmgr Salient User Manager <br />5411/tcp actnet ActNet <br />5414/tcp statusd StatusD <br />5418/tcp mcntp MCNTP <br />5419/tcp dj-ice DJ-ICE <br />5500/tcp fcp-addr-srvr1 fcp-addr-srvr1 <br />5501/tcp fcp-addr-srvr2 fcp-addr-srvr2 <br />5502/tcp fcp-srvr-inst1 fcp-srvr-inst1 <br />5503/tcp fcp-srvr-inst2 fcp-srvr-inst2 <br />5504/tcp fcp-cics-gw1 fcp-cics-gw1 <br />5555/tcp personal-agent Personal Agent <br />5602/tcp a1-msc A1-MSC <br />5603/tcp a1-bs A1-BS <br />5631/tcp pcanywheredata pcANYWHEREdata <br />5632/tcp pcanywherestat pcANYWHEREstat <br />5678/tcp rrac Remote Replication Agent Connection <br />5679/tcp dccm Direct Cable Connect Manager <br />5713/tcp proshareaudio proshare conf audio <br />5714/tcp prosharevideo proshare conf video <br />5715/tcp prosharedata proshare conf data <br />5717/tcp prosharenotify proshare conf notify <br />5729/tcp openmail Openmail User Agent Layer <br />5741/tcp ida-discover1 IDA Discover Port 1 <br />5742/tcp ida-discover2 IDA Discover Port 2 <br />5745/tcp fcopy-server fcopy-server <br />5746/tcp fcopys-server fcopys-server <br />5755/tcp openmailg OpenMail Desk Gateway server <br />5757/tcp x500ms OpenMail X.500 Directory Server <br />5766/tcp openmailns OpenMail NewMail Server <br />5767/tcp s-openmail OpenMail Suer Agent Layer (Secure) <br />6000/tcp x11 X Window System <br />6110/tcp softcm HP SoftBench CM <br />6111/tcp spc HP SoftBench Sub-Process Control <br />6112/tcp dtspcd dtspcd <br />6123/tcp backup-express Backup Express <br />6141/tcp meta-corp Meta Corporation License Manager <br />6142/tcp aspentec-lm Aspen Technology License Manager <br />6143/tcp watershed-lm Watershed License Manager <br />6144/tcp statsci1-lm StatSci License Manager - 1 <br />6145/tcp statsci2-lm StatSci License Manager - 2 <br />6146/tcp lonewolf-lm Lone Wolf Systems License Manager <br />6147/tcp montage-lm Montage License Manager <br />6148/tcp ricardo-lm Ricardo North America License Manager <br />6149/tcp tal-pod tal-pod <br />6253/tcp crip CRIP <br />6389/tcp clariion-evr01 clariion-evr01 <br />6500/tcp boks BoKS Master <br />6558/tcp xdsxdm <br />6665/tcp ircu IRCU <br />6670/tcp vocaltec-gold Vocaltec Global Online Directory <br />6672/tcp vision_server vision_server <br />6673/tcp vision_elmd vision_elmd <br />6790/tcp hnmp HNMP <br />6831/tcp ambit-lm ambit-lm <br />6969/tcp acmsoda acmsoda <br />7010/tcp ups-onlinet onlinet uninterruptable power supplies <br />7020/tcp dpserve DP Serve <br />7070/tcp arcp ARCP <br />7099/tcp lazy-ptop lazy-ptop <br />7100/tcp font-service X Font Service <br />7121/tcp virprot-lm Virtual Prototypes License Manager <br />7174/tcp clutild Clutild <br />7200/tcp fodms FODMS FLIP <br />7201/tcp dlip DLIP <br />7395/tcp winqedit winqedit <br />7426/tcp pmdmgr OpenView DM Postmaster Manager <br />7430/tcp xmpv7 OpenView DM xmpv7 api pipe <br />7431/tcp pmd OpenView DM ovc/xmpv3 api pipe <br />7491/tcp telops-lmd telops-lmd <br />7511/tcp pafec-lm pafec-lm <br />7544/tcp nta-ds FlowAnalyzer DisplayServer <br />7545/tcp nta-us FlowAnalyzer UtilityServer <br />7588/tcp sun-lm Sun License Manager <br />7777/tcp cbt cbt <br />7781/tcp accu-lmgr accu-lmgr <br />7932/tcp t2-drm Tier 2 Data Resource Manager <br />7933/tcp t2-brm Tier 2 Business Rules Manager <br />7999/tcp irdmi2 iRDMI2 <br />8000/tcp irdmi iRDMI <br />8032/tcp pro-ed ProEd <br />8400/tcp cvd cvd <br />8401/tcp sabarsd sabarsd <br />8402/tcp abarsd abarsd <br />8403/tcp admind admind <br />8450/tcp npmp npmp <br />8473/tcp vp2p Vitual Point to Point <br />8888/tcp ddi-tcp-1 NewsEDGE server TCP (TCP 1) <br />8889/tcp ddi-tcp-2 Desktop Data TCP 1 <br />8890/tcp ddi-tcp-3 Desktop Data TCP 2 <br />8891/tcp ddi-tcp-4 Desktop Data TCP 3: NESS application <br />8892/tcp ddi-tcp-5 Desktop Data TCP 4: FARM product <br />8893/tcp ddi-tcp-6 Desktop Data TCP 5: NewsEDGE/Web application <br />8894/tcp ddi-tcp-7 Desktop Data TCP 6: COAL application <br />9000/tcp cslistener CSlistener <br />9006/tcp sctp SCTP <br />9090/tcp websm WebSM <br />9535/tcp man <br />9594/tcp msgsys Message System <br />9595/tcp pds Ping Discovery Service <br />9876/tcp sd Session Director <br />9992/tcp palace Palace <br />9993/tcp palace Palace <br />9994/tcp palace Palace <br />9995/tcp palace Palace <br />9996/tcp palace Palace <br />9997/tcp palace Palace <br />9998/tcp distinct32 Distinct32 <br />9999/tcp distinct distinct <br />10000/tcp ndmp Network Data Management Protocol <br />11000/tcp irisa IRISA <br />11001/tcp metasys Metasys <br />12753/tcp tsaf tsaf port <br />13160/tcp i-zipqd I-ZIPQD <br />13720/tcp bprd BPRD Protocol (VERITAS NetBackup) <br />13721/tcp bpbrm BPBRM Protocol (VERITAS NetBackup) <br />13782/tcp bpcd VERITAS NetBackup <br />17219/tcp chipper Chipper <br />18000/tcp biimenu Beckman Instruments, Inc. <br />19410/tcp hp-sco hp-sco <br />19411/tcp hp-sca hp-sca <br />19541/tcp jcp JCP Client <br />21845/tcp webphone webphone <br />21846/tcp netspeak-is NetSpeak Corp. Directory Services <br />21847/tcp netspeak-cs NetSpeak Corp. Connection Services <br />21848/tcp netspeak-acd NetSpeak Corp. Automatic Call Distribution <br />21849/tcp netspeak-cps NetSpeak Corp. Credit Processing System <br />22273/tcp wnn6 wnn6 <br />22555/tcp vocaltec-wconf Vocaltec Web Conference <br />22800/tcp aws-brf Telerate Information Platform LAN <br />22951/tcp brf-gw Telerate Information Platform WAN <br />24000/tcp med-ltp med-ltp <br />24004/tcp med-ovw med-ovw <br />24005/tcp med-ci med-ci <br />25000/tcp icl-twobase1 icl-twobase1 <br />25001/tcp icl-twobase2 icl-twobase2 <br />25002/tcp icl-twobase3 icl-twobase3 <br />25003/tcp icl-twobase4 icl-twobase4 <br />25004/tcp icl-twobase5 icl-twobase5 <br />25005/tcp icl-twobase6 icl-twobase6 <br />25006/tcp icl-twobase7 icl-twobase7 <br />25007/tcp icl-twobase8 icl-twobase8 <br />25008/tcp icl-twobase9 icl-twobase9 <br />25009/tcp icl-twobase10 icl-twobase10 <br />25793/tcp vocaltec-hos Vocaltec Address Server <br />26000/tcp quake quake <br />26208/tcp wnn6-ds wnn6-ds <br />45678/tcp eba EBA PRISE <br />47557/tcp dbbrowse Databeam Corporation <br />47806/tcp ap ALC Protocol <br />47808/tcp bacnet Building Automation and Control Networks <br />********************************************************************* </font></p><p><font face="Arial">port大全說明 </font></p><p><font face="Arial">那些數字就是port <br />那些英文是說明那些程式會開那些port </font></p><font face="Arial"><p><br />如果把IP解釋成我們家的地址的話,那麼PORT就是門了。當然我們家有時不只一扇門,使用的軟體不一樣,所要開啟的門也就不一樣,一般來說當我們開啟一套網路軟體後,便會開啟一個或數個PORT,有些軟體所開的PORT是固定的,但大部份都沒有固定。 </p><p>上網意思就是從別人的電腦上下載資料到自己的電腦裏 . 網頁就是最上下載的資料 . 如果要允許資料傳輸, 你和別人的電腦都需要打開一個 PORT 讓資出入 . 即是說如何你的朋友要來探你, 他必需把他自己屋企的門口打開, 然後才可出街. 當你朋友到你屋企時 , 你又必需把你的門口打出, 你的朋友才可進入你家. 每一個與網上連線的程式都需要一PORT來傳輸資料, 而每個 PORT 都只給一個程或使用 . 一部電腦可同時打開不同的PORT給不同的程式使, 即是說你屋企可有幾個不同的門口 </p><p>其實不管是什麼樣的網路軟體,只要知道程式開啟的PORT就可以控制他,像是網頁的話大部份都是PORT=80,一上網呢 <br />,就會開139,舊版的95都不會關了這一PORT,所以就常被當機,但98也是有,以後再述,最多人用的NetMeeting聊天一開就是1503,登入及聊天就會開1720跟1730。 </p><p>常見的一些木馬的Port <br />port 21 - Back Construction, Blade Runner, Doly Trojan, Fore, FTP trojan, <br />Invisible FTP, Larva,WebEx, WinCrash <br />port 23 - Tiny Telnet Server (= TTS) <br />port 25 - Ajan, Antigen, Email Password Sender, Haebu Coceda (= Naebi), <br />Happy 99, Kuang2, ProMail trojan, Shtrilitz, Stealth, Tapiras, Terminator, <br />WinPC, WinSpy <br />port 31 - Agent 31, Hackers Paradise, Masters Paradise <br />port 41 - DeepThroat <br />port 59 - DMSetup <br />port 79 - Firehotcker <br />port 80 - Executor, RingZero <br />port 99 - Hidden Port <br />port 110 - ProMail trojan <br />port 113 - Kazimas <br />port 119 - Happy 99 <br />port 121 - JammerKillah <br />port 421 - TCP Wrappers <br />port 456 - Hackers Paradise <br />port 531 - Rasmin <br />port 555 - Ini-Killer, NeTAdmin, Phase Zero, Stealth Spy <br />port 666 - Attack FTP, Back Construction, Cain &amp; Abel, Satanz Backdoor, <br />ServeU, Shadow Phyre <br />port 911 - Dark Shadow <br />port 999 - DeepThroat, WinSatan <br />port 1001 - Silencer, WebEx <br />port 1010 - Doly Trojan <br />port 1011 - Doly Trojan <br />port 1012 - Doly Trojan <br />port 1015 - Doly Trojan <br />port 1024 - NetSpy <br />port 1042 - Bla <br />port 1045 - Rasmin <br />port 1090 - Xtreme <br />port 1170 - Psyber Stream Server, Streaming Audio trojan, Voice <br />port 1234 - Ultors Trojan <br />port 1243 - SubSeven <br />port 1245 - VooDoo Doll <br />port 1269 - Mavericks Matrix <br />port 1349 (UDP) - BO DLL <br />port 1492 - FTP99CMP <br />port 1509 - Psyber Streaming Server <br />port 1600 - Shivka-Burka <br />port 1807 - SpySender <br />port 1981 - Shockrave <br />port 1999 - BackDoor <br />port 1999 - TransScout <br />port 2000 - TransScout <br />port 2001 - TransScout <br />port 2001 - Trojan Cow <br />port 2002 - TransScout <br />port 2003 - TransScout <br />port 2004 - TransScout <br />port 2005 - TransScout <br />port 2023 - Ripper <br />port 2115 - Bugs <br />port 2140 - Deep Throat, The Invasor <br />port 2155 - Illusion Mailer <br />port 2283 - HVL Rat5 <br />port 2565 - Striker <br />port 2583 - WinCrash <br />port 2600 - Digital RootBeer <br />port 2801 - Phineas Phucker <br />port 2989 (UDP) - RAT <br />port 3024 - WinCrash <br />port 3128 - RingZero <br />port 3129 - Masters Paradise <br />port 3150 - Deep Throat, The Invasor <br />port 3459 - Eclipse 2000 <br />port 3700 - Portal of Doom <br />port 3791 - Eclypse <br />port 3801 (UDP) - Eclypse <br />port 4092 - WinCrash <br />port 4321 - BoBo <br />port 4567 - File Nail <br />port 4590 - ICQTrojan <br />port 5000 - Bubbel, Back Door Setup, Sockets de Troie <br />port 5001 - Back Door Setup, Sockets de Troie <br />port 5011 - One of the Last Trojans (OOTLT) <br />port 5031 - NetMetro <br />port 5321 - Firehotcker <br />port 5400 - Blade Runner, Back Construction <br />port 5401 - Blade Runner, Back Construction <br />port 5402 - Blade Runner, Back Construction <br />port 5550 - Xtcp <br />port 5512 - Illusion Mailer <br />port 5555 - ServeMe <br />port 5556 - BO Facil <br />port 5557 - BO Facil <br />port 5569 - Robo-Hack <br />port 5742 - WinCrash <br />port 6400 - The Thing <br />port 6669 - Vampyre <br />port 6670 - DeepThroat <br />port 6771 - DeepThroat <br />port 6776 - BackDoor-G, SubSeven <br />port 6912 - @!#$ Heep (not port 69123!) <br />port 6939 - Indoctrination <br />port 6969 - GateCrasher, Priority, IRC 3 <br />port 6970 - GateCrasher <br />port 7000 - Remote Grab, Kazimas <br />port 7300 - NetMonitor <br />port 7301 - NetMonitor <br />port 7306 - NetMonitor <br />port 7307 - NetMonitor <br />port 7308 - NetMonitor <br />port 7789 - Back Door Setup, ICKiller <br />port 8080 - RingZero <br />port 9400 - InCommand <br />port 9872 - Portal of Doom <br />port 9873 - Portal of Doom <br />port 9874 - Portal of Doom <br />port 9875 - Portal of Doom <br />port 9876 - Cyber Attacker <br />port 9878 - TransScout <br />port 9989 - iNi-Killer <br />port 10067 (UDP) - Portal of Doom <br />port 10101 - BrainSpy <br />port 10167 (UDP) - Portal of Doom <br />port 10520 - Acid Shivers <br />port 10607 - Coma <br />port 11000 - Senna Spy <br />port 11223 - Progenic trojan <br />port 12076 - Gjamer <br />port 12223 - Hack?9 KeyLogger <br />port 12345 - GabanBus, NetBus, Pie Bill Gates, X-bill <br />port 12346 - GabanBus, NetBus, X-bill <br />port 12361 - Whack-a-mole <br />port 12362 - Whack-a-mole <br />port 12631 - WhackJob <br />port 13000 - Senna Spy <br />port 16969 - Priority <br />port 17300 - Kuang2 The Virus <br />port 20000 - Millennium <br />port 20001 - Millennium <br />port 20034 - NetBus 2 Pro <br />port 20203 - Logged <br />port 21544 - GirlFriend <br />port 22222 - Prosiak <br />port 23456 - Evil FTP, Ugly </p><p>prot 0 - 65535 </p><p>]]></content>
    <category term="No Category"/>
    <wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://kill2266.pixnet.net/blog/post/21474179#comments</wfw:comment>
  </entry>
  <entry xmlns:wfw="http://wellformedweb.org/CommentAPI/">
    <id>http://kill2266.pixnet.net/blog/post/21474132</id>
    <title><![CDATA[網路頻寬種類]]></title>
    <updated>2008-08-18T01:43:42+08:00</updated>
    <link rel="alternate" href="http://kill2266.pixnet.net/blog/post/21474132"/>
    <summary><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;T1 American standard 1544 kbit/s E1 European standard 2048 kbit/s T2 American standard 6 Mbit/s (4 x T1, exotic) E2 European standard 8 Mbit/s (4 x E1, exotic) E3 European standard 34 Mbit/s (4 x E2) T3 American standard 45 Mbit/s (7 x T2, very common) OC-1 American standard 51 Mbit/s (SONET, 1 T3) E4 European standard 140 Mbit/s (4 x E3) OC-3 American standard 155 Mbit/s (SONET, 3 x OC-1) STM-1 European standard 155 Mbit/s (SDH speed = OC-3) STM-4 European standard 622 Mbit/s (4 x STM-1) STM-16 European standard 2488 Mbit/s (16 x STM-1; 2,5 Gbit/s) STM-64 European standard 9952 Mbit/s (16 x STM-1; 10 Gbit/s) Japanese know T1 but multiplex in a different hierarchy to 32 Mbit/s and 96 Mbit/s. Officially there are no Amerikan standards above T3, in common-practice there where a lot of proprietary transmissionystems build in the eighties which could do up to 1,8 Gbit/s. In Europe there have been quite some 565 Mbit/s (4 x E4) lines. SONET/SDH started in the middle eighties to stop the wildgrowth and to define higher speeds as a World Standard. This only worked for speeds of 155 Mbit/s and higher, mainly with, and because of, the optic interfaces, which are identical. The Amerikan SONET-standard follows the same hierarchy as SDH; OC-12 = 622 Mbit/s, OC-48 = 2,5 Gbit/s, OC-192 = 10 Gbit/s For the near future: STM-256 and/or OC-768 40 Gbit/s (2001 of 2002) &nbsp;Optic: DWDM wavelenghtmultiplex delivered in channels, per channel 2,5 Gbit/s or 10 Gbit/s 16 channel 40 Gbit/s (official standard ITU) 32 channel 80 Gbit/s (Lucent Wavestar 80G) 40 channel 100 Gbit/s (Ciena) 96 channel 240 Gbit/s (Ciena) and 16 channel 160 Gbit/s 40 channel 400 Gbit/s (Lucent Wavestar 400G, prototypes available) 128 channel 1,28 Tbit/s (Pirelli-TeraMux) 160 channel 1,6 Tbit/s (OPTera/Nortel) 翻譯T1 美國標準1.544 Mbit/s T2 美國標準6 Mbit/s (4 x T1) T3 美國標準45 Mbit/s (7 x T2) E1 歐洲標準2.048 Mbit/s E2 歐洲標準8 Mbit/s (4 x E1) E3 歐洲標準34 Mbit/s (4 x E2) E4 歐洲標準140 Mbit/s (4 x E3) OC-1 美國標準51 Mbit/s (SONET, 1 T3) OC-3 美國標準155 Mbit/s (SONET, 3 x OC-1) STM-1 歐洲標準155 Mbit/s (SDH 速度= OC-3) STM-4 歐洲標準622 Mbit/s (4 x STM-1) STM-16 歐洲標準2488 Mbit/s (16 x STM-1; 2,5 Gbit/s) STM-64 歐洲標準9952 Mbit/s (16 x STM-1; 10 Gbit/s)&nbsp;日語知道T1 但多元化在一另外hi5erarchy 對32 Mbit/s 和96 Mbit/s 。沒有正式地Amerikan 標準在T3 之上, 在共同實踐那裡很多私有的transmissionystems 修造在能做1,8 Gbit/s 的80 的地方。 在歐洲有是相當大約565 條Mbit/s (4 x E4) 線。 同步光纖網路/同步數位架構(SONET/SDH) 開始在中間80 停止wildgrowth 和定義更高的速度作為世界標準。這只運作為155 Mbit/s 的速度和更高, 主要以, 和由於, 視覺接口, 是相同的。 Amerikan SONET 標準跟隨同樣hi5erarchy 像SDH; OC-12 = 622 Mbit/s, OC-48 = 2,5 Gbit/s, OC-192 = 10 Gbit/s 為不久的將來: STM-256 並且/或者OC-768 40 Gbit/s (2001 年2002) &nbsp;視覺: DWDM wavelenghtmultiplex 交付在渠道裡, 每渠道2,5 Gbit/s 或10 Gbit/s 16 渠道40 Gbit/s (正式標準ITU) 32 渠道80 Gbit/s (Lucent Wavestar 80G) 40 渠道100 Gbit/s (Ciena) 96 渠道240 Gbit/s (Ciena) 並且 16 渠道160 Gbit/s 40 渠道400 Gbit/s (Lucent Wavestar 400G,原型可利用) 128 渠道1,28 Tbit/s (Pirelli-TeraMux) 160 渠道1,6 Tbit/s (OPTera/Nortel)ISO(International Organization for Standardization)OSI(Open System Interconnection)無線(IEEE 802.16、802.20)]]></summary>
    <content type="html"><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br /><p><font face="Arial">T1 American standard 1544 kbit/s <br />E1 European standard 2048 kbit/s <br />T2 American standard 6 Mbit/s (4 x T1, exotic) <br />E2 European standard 8 Mbit/s (4 x E1, exotic) <br />E3 European standard 34 Mbit/s (4 x E2) <br />T3 American standard 45 Mbit/s (7 x T2, very common) <br />OC-1 American standard 51 Mbit/s (SONET, 1 T3) <br />E4 European standard 140 Mbit/s (4 x E3) <br />OC-3 American standard 155 Mbit/s (SONET, 3 x OC-1) <br />STM-1 European standard 155 Mbit/s (SDH speed = OC-3) <br />STM-4 European standard 622 Mbit/s (4 x STM-1) <br />STM-16 European standard 2488 Mbit/s (16 x STM-1; 2,5 Gbit/s) <br />STM-64 European standard 9952 Mbit/s (16 x STM-1; 10 Gbit/s) </font></p><p><font face="Arial">Japanese know T1 but multiplex in a different hierarchy to 32 Mbit/s and 96 Mbit/s. Officially there are no Amerikan standards above T3, in common-practice there where a lot of proprietary transmissionystems build in the eighties which could do up to 1,8 Gbit/s. <br />In Europe there have been quite some 565 Mbit/s (4 x E4) lines. </font></p><p><font face="Arial">SONET/SDH started in the middle eighties to stop the wildgrowth and to define higher speeds as a World Standard. This only worked for speeds of 155 Mbit/s and higher, mainly with, and because of, the optic interfaces, which are identical. </font></p><font face="Arial"><p><br />The Amerikan SONET-standard follows the same hierarchy as SDH; <br />OC-12 = 622 Mbit/s, OC-48 = 2,5 Gbit/s, OC-192 = 10 Gbit/s </p><p><br />For the near future: <br />STM-256 and/or OC-768 40 Gbit/s (2001 of 2002) </p><p>&nbsp;</p><p>Optic: DWDM wavelenghtmultiplex <br />delivered in channels, per channel 2,5 Gbit/s or 10 Gbit/s <br />16 channel 40 Gbit/s (official standard ITU) <br />32 channel 80 Gbit/s (Lucent Wavestar 80G) <br />40 channel 100 Gbit/s (Ciena) <br />96 channel 240 Gbit/s (Ciena) <br />and <br />16 channel 160 Gbit/s <br />40 channel 400 Gbit/s (Lucent Wavestar 400G, <br />prototypes available) <br />128 channel 1,28 Tbit/s (Pirelli-TeraMux) <br />160 channel 1,6 Tbit/s (OPTera/Nortel) </p><p>翻譯</p><p>T1 美國標準1.544 Mbit/s <br />T2 美國標準6 Mbit/s (4 x T1) <br />T3 美國標準45 Mbit/s (7 x T2) </p><p>E1 歐洲標準2.048 Mbit/s <br />E2 歐洲標準8 Mbit/s (4 x E1) <br />E3 歐洲標準34 Mbit/s (4 x E2) <br />E4 歐洲標準140 Mbit/s (4 x E3) </p><p>OC-1 美國標準51 Mbit/s (SONET, 1 T3) <br />OC-3 美國標準155 Mbit/s (SONET, 3 x OC-1) </p><p>STM-1 歐洲標準155 Mbit/s (SDH 速度= OC-3) <br />STM-4 歐洲標準622 Mbit/s (4 x STM-1) <br />STM-16 歐洲標準2488 Mbit/s (16 x STM-1; 2,5 Gbit/s) <br />STM-64 歐洲標準9952 Mbit/s (16 x STM-1; 10 Gbit/s)</p><p><br />&nbsp;</p><p>日語知道T1 但多元化在一另外hi5erarchy 對32 Mbit/s 和96 Mbit/s 。沒有正式地Amerikan 標準在T3 之上, 在共同實踐那裡很多私有的transmissionystems 修造在能做1,8 Gbit/s 的80 的地方。 <br />在歐洲有是相當大約565 條Mbit/s (4 x E4) 線。 </p><p>同步光纖網路/同步數位架構(SONET/SDH) 開始在中間80 停止wildgrowth 和定義更高的速度作為世界標準。這只運作為155 Mbit/s 的速度和更高, 主要以, 和由於, 視覺接口, 是相同的。 </p><p><br />Amerikan SONET 標準跟隨同樣hi5erarchy 像SDH; <br />OC-12 = 622 Mbit/s, OC-48 = 2,5 Gbit/s, OC-192 = 10 Gbit/s </p><p><br />為不久的將來: <br />STM-256 並且/或者OC-768 40 Gbit/s (2001 年2002) </p><p>&nbsp;</p><p>視覺: DWDM wavelenghtmultiplex <br />交付在渠道裡, 每渠道2,5 Gbit/s 或10 Gbit/s <br />16 渠道40 Gbit/s (正式標準ITU) <br />32 渠道80 Gbit/s (Lucent Wavestar 80G) <br />40 渠道100 Gbit/s (Ciena) <br />96 渠道240 Gbit/s (Ciena) <br />並且 <br />16 渠道160 Gbit/s <br />40 渠道400 Gbit/s (Lucent Wavestar 400G,原型可利用) <br />128 渠道1,28 Tbit/s (Pirelli-TeraMux) <br />160 渠道1,6 Tbit/s (OPTera/Nortel)</p><p><br />ISO(International Organization for Standardization)<br />OSI(Open System Interconnection)<br />無線(IEEE 802.16、802.20)</p></font>  <div class="more"><a href="http://kill2266.pixnet.net/blog/post/21474132">(Read More...)</a></div>]]></content>
    <category term="No Category"/>
    <wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://kill2266.pixnet.net/blog/post/21474132#comments</wfw:comment>
  </entry>
  <entry xmlns:wfw="http://wellformedweb.org/CommentAPI/">
    <id>http://kill2266.pixnet.net/blog/post/21474069</id>
    <title><![CDATA[JavaScript上課筆記(9/16更新)]]></title>
    <updated>2008-08-18T01:39:17+08:00</updated>
    <link rel="alternate" href="http://kill2266.pixnet.net/blog/post/21474069"/>
    <summary><![CDATA[ 今天找到遺失的部份~我把他補充在最後面囉~ 其實我所上過的課程充其量只是認識JAVA進而運用吧了! &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Javascript語法1.&lt;script laguage=Javascript&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .&nbsp;&nbsp;&nbsp; 程式碼敘述;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .&nbsp; &lt;/script&gt;2.使用在超連結直接執行Javascript&nbsp;&lt;A href="Javascript:程式碼敘述"&gt;3.適用在觸發控制項並指定Javascript函數執行&lt;script&gt;&lt;A herf="Javascript:函數名稱()";&gt;....&lt;/A&gt;&nbsp;&nbsp;&nbsp; 程式碼敘述;&lt;/script&gt; 撰寫Javascript注意事項1.有分英文大小寫2.每行成是敘述完成需加上;3.程式註解不執行方式&nbsp; a.單行註解://.單行註解...&nbsp; b.多行註解:/*.....&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 多行註解&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .....*/或是&lt;!--&nbsp;&nbsp;&nbsp; Javascript程式碼&nbsp;&nbsp;&nbsp;&nbsp; //--&gt; 透過Javascript程式語法產生網頁內容document.write("HTML標籤語法")----不會換行document.writeln("HTML標籤語法")--會換行 HTML(超連結語法)標籤格式1.&lt;標籤名稱&gt;內容&lt;/標籤名稱&gt;2.&lt;標籤內容&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;HR&gt;=&gt;水平線&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;BR&gt;=&gt;強迫換行&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;img&gt;=&gt;圖片 &lt;b&gt;&lt;/b&gt;粗體&lt;i&gt;&lt;/i&gt;斜體&lt;s&gt;&lt;/s&gt;刪除線&lt;u&gt;&lt;/u&gt;底線 &lt;font color=#RRGGBB &gt;&lt;/FONT&gt; 程式流程控制種類:1.循序流程2.判斷(條件)流程3.迴圈(重複)流程 Javascript內建視窗函數1.顯示訊息~alert()&nbsp; 語法:alert("訊息傳送")2.確認訊息~confirm()&nbsp; 語法:變數名稱=confirm("訊息內容")3.資料輸入~prompt&nbsp; 語法:變數名稱=prompt("輸入訊息內容","預設值")EX:&nbsp; &lt;script&gt;&nbsp; name =prompt("請輸入你的姓氏","無名氏");&nbsp; ans=confirm("你確定"+name+"真的是您的姓名");&nbsp; if (ans)&nbsp;&nbsp;&nbsp; alert(name+",歡迎光臨阿三小站!!");&nbsp; &lt;/script&gt; （1） 從網路上載入APPLE(小應用程式)現在的大多數瀏覽器都不約而同地對Java進行支援。在HTML語言中，在.html文件的任何的位置上有一個特殊標記 。這句話就是對小應用程式的引用。小應用程序沒有受到地域的限制，它可以在本地，也可以在Internet上的任何一個地方。其位置對於用戶來講是透明的。而對於瀏覽器來講，其位置在 中被讀出，然後進行定位小應用程式，並運行它。如果小應用程式位於遠端電腦上，那麽瀏覽器就必須小載它，然後才可運行。（2） 從URL載入圖像首先，必須先介紹URL。它表示一個通過資源定位器（Uniform Resource Locator），是網路上某些資源的地址。Java程式可以使用一個URL來引用或連接網路資源。如：如果需要從遠端載入一張圖時，Java程式必須先創建一個URL，以包含圖像的位址。URL是Java程式裏高級別的交互功能。二、URL及其使用URL代表通用資源定位器。將URL提供給網路瀏覽器，那麽它就可以在Internet上尋找並定位文件。在編寫Java程式時，也可以用URL在互聯網上尋找希望訪問的資源。類組java.net中包含一個名爲URL的類，Java可以使用它來表示一個URL地址。這裏需要區別的是：URL位址表示一個Internet位址，而URL物件則指代Java程式中的類URL的一個實例。（1） URL的定義URL是一個縮寫，代表通過資源定位（Uniform Resource Locator），是對Internet資源的一個引用（一個地址）。URL不但可以表示網路上的一個文件的名稱，而且可以指向網路上的其他資源，如：資料庫查詢和命令輸出。如：http://java.sun.com//所有的URL擁有兩個主要的組成部分：（1） 協定辨識符；（2） 資源名稱。上面的例子中，http爲協定辨識符，而//java.sun.com/爲資源名稱。協定辨識符說明被使用來獲取資源的協定的名稱。示例使用超文本傳輸協定(HTTP)，它用在超文本文檔服務中使用。HTTP只是被用來訪問網上不同類型資源的多種不同協定之一。其他的協定還包括文件傳輸協定（FTP）、gopher、文件（file）和新聞（news）。資源名稱是資源的完整地址。資源名稱的格式完全依賴於使用的協定，但對於大多數格式而言，資源名稱包括下面元件的一種或多種：（1） 宿主名稱：資源所處的機器的名稱。（2） 檔案名：機器上文件的路徑。（3） 埠號：連接的埠號（一般爲可選項）。（4） 引用：對於資源內部一個有名連接（anchor）的一個引用；它常常指代一個文件內的特定位置（一般爲可選項）。大多數情況下，宿主名稱和檔案名是必須的，而埠號以及引用則是可選的。上面的示例中java.sun.com爲宿主名稱，冒號後的第一個斜線&rsquo;/&rsquo;是文件/index.html的簡寫。在構建任何URL的時候，都應該將協定辨識符放在首位，後面緊跟冒號&rsquo;:&rsquo;，然後才是資源名稱，即：protocolID:resourceName在類組java.net中包含一個類URL，Java程式使用它代表一個URL地址。Java程式可以構造一個URL物件，打開對它的一個連接，然後在這個連接中讀入和寫出。三、創建一個URL在Java程式中，可以創建一個URL物件以表示一個URL位址。URL物件總是指向一個絕對的URL，但它可以由一個絕對的URL、一個相對的URL或URL元件構造而來。創建一個URL物件的最簡單的方法就是從一個表示URL位址的&ldquo;可閱讀&rdquo;形式的字串創建。在Java中，可以使用上述文字的字串創建一個URL物件：URL gamelan=new URL(http://www.linuxaid.com.cn/)這種方法創建的URL物件表示一個絕對的URL。一個絕對的URL包含了到達資源所需的所有資訊。另外，還可以由一個相對的URL位址創建URL物件。（1） 相對URL一個相對URL只包含到達對於另一個URL（或處於另一個URL上下文之中）的資源的足夠資訊。在HTML文件中常常使用相對的URL指定資源的位置。如有兩個文件1.html、2.html和3.html，並且它們在同一個目錄下面，那麽在1.html中如果需要調用2.html和3.html則必須寫入：My StoryPicture of My Pets這些URL均爲相對的URL，即：這些URL相對於包含它們的文件1.html。在Java中中，可以由一個相對的URL指定創建一個URL物件。例如，假設程式已經爲http://www.linuxaid.com.cn/創建了一個URL物件，而且已經知道該站點的一個文件的名稱爲linuxaid.animation.html，則就可以在初始的linuxaid URL上下文中，通過簡單地指定檔案名，爲linuxaid站點的這個文件創建URL：URL linuxaid = new URL(http://www.javaworld.com/);URL linuxaidanimation = new URL(linuxaid,&rdquo;linuxaid.animation.html&rdquo;);上面的代碼使用用了類URL的另一種形式的構造過程，它允許你由一個URL物件（基本URL）和一個相對的URL創建一個物件。這個構造過程也可以用來創建對一個文件中的有名連接（引用）的URL物件。例如，假設文件&ldquo;linuxaid.animation.html&rdquo;中包含一個有名連接BOTTOM，它在文件的底部，則可以使用相對URL構造過程創建一個URL物件（在下面的語句中BOTTOM前的字元#是必須的）：URL linuxaidAnimationBottom=new URL(linuxaid,&rdquo;#BOTTOM&rdquo;);這種URL構造過程的一般形式爲：URL（URL baseURL,String relativeURL）其中，第一個參數是一個URL物件，指定新的URL的基址，第二個參數爲一個String物件，是對相對于基址的資源名稱的描述。如果baseURL爲null，那麽這個構造過程就將relativeURL視爲一個絕對的URL指定。但如果relativeURL是一個絕對的URL指定，那麽構造過程將忽略baseURL。(2)其他的URL構造過程除前面介紹的類URL的構造過程外,類URL還提供了另外兩個構造過程。當你使用URL的時候，例如HTTP的URL，它的資源名稱部分包含宿主名稱、檔案名稱、埠號和引用等元件，這些構造過程就很有用了。如果不清楚包含完整URL的String物件，只要知道URL的不同元件，使用這兩個構造過程就顯得非常方便。如果需要設計一個網路程式，讓用戶使用滑鼠選擇協定、宿主名稱、埠號和檔案名，則可以由這些元件構造一個URL。類URL提供了用協定、宿主名稱和檔案名創建一個URL的構造過程。下面的代碼就創建了一個指向linuxaid站點的linuxaid.animation.html文件的URL：URL linuxaid = new URL(&ldquo;http&rdquo;,&rdquo;www.linuxaid.com.cn&rdquo;,&rdquo;/linuxaid.animation.html&rdquo;);該語句和URL linuxaid=URL(http://www.linuxaid.com.cn/linuxaid.animation.html)；是等價的。其中，第一個參數爲協定，第二個參數爲宿主名稱，最後一個爲文件的路徑名。注意，檔案名的開頭爲一個斜線&rsquo;/&rsquo;，說明檔案名相對於宿主的根目錄。類URL的另一個構造過程還在參數列表中添加了埠號，例如：URL linuxaid = new URL(&ldquo;http&rdquo;,www.linuxaid.com,80,&rdquo;/linuxaid.animation.html&rdquo;);其中，80是埠號，別的參數同前。該語句創建了如下的一個URL物件：http://www.linunaid.com.cn:80/linunxaid.animation.html如果使用這些過程創建一個URL物件，就可以通過使用URL的過程toString()或過程toExternalForm()得到一個包含完整URL位址的String物件。（2） 異常MalformedURLException在類URL的構造過程的兩個版本中，當傳遞給它們的參數指向一個空的或不知道的協定時，它們都抛出一個MalformedURLException異常。如果希望捕捉和處理這個異常，只要將URL的構造過程語句放在一個try/catch中即可。例如：try{URL url=new URL(&hellip;.);}catch (MalformedURLException e){//異常處理代碼}四、分析一個URL類URL提供一些查詢URL物件的過程，可以用它們獲取一個有效的URL物件所包含的協定、宿主名稱、埠號和檔案名。下面是這些過程的功能描述：（1） getProtocol( )，返回URL的協定辨識符元件。（2） getHost()，返回URL的宿主名稱元件。（3） getPort()，返回URL的埠號元件；如果埠沒有設置，返回-1；（4） getFile()，返回URL的檔案名元件。（5） getRef()，返回URL的引用元件。請注意；並非所有的URL位址都包含這些元件。類URL提供這些過程的原因是HTTP URL包含這些元件，而且它們可能是最常使用的URL。類URL在某種程式是以HTTP爲中心的。可以使用這些getXXX()過程獲取關於URL的資訊，它們與創建URL物件的構造過程無關。下面給出一個示例程式ParseURL，它由一個指定URL的字串創建了一個URL物件，然後使用URL物件的存取過程分析URL；import java.net.*;class ParseURL{public static void main(String[] args){URL url = null;try{url = new URL(http://www.ncsa.uiuc.edu:8080/demoweb/urlprimer.html#INSTALL);System.out.println(&ldquo;protocol = &ldquo;+ url.getProtocol());System.out.println(&ldquo;host =&rdquo;+url.getHost());System.out.println(&ldquo;filename =&rdquo;+url.getFile());System.out.println(&ldquo;port=&rdquo;+url.getPort());System.out.println(&ldquo;ref=&rdquo;+url.getRef());}catch (MalformedURLException e){System.err.println(&ldquo;MalformedURLException:&rdquo;+e);}}}下面是程式執行的結果：protocol=httphost=www.ncsa.uinc.edufilename=/demoweb/url-primer.htmlport=8080ref=INSTALL使用過程getRef()應當注意：在JDK1.02以前的版本中，過程getRef()僅對以下兩個構造過程創建的URL有效：URL（String absoluteURLSpecification）;URL (URL baseURL,String relativeURLSpecification);例如，假設你使用下面的語句創建了一個URL：URL linuxaid=new URL(&ldquo;http://www.linuxaid.com.cn/&rdquo;);URL linuxaidAnimationBottom=new URL(gamelan,&rdquo;linuxaid.animation.html#BOTTOM&rdquo;);當你對linuxaidAnimationBottom調用過程getRef()時，它正確地返回&rdquo;BOTTOM&rdquo;。但你如果使用下面的語句創建一個指向同一資源的URL：URL linuxaidAnimationBottom = new URL(&ldquo;http&rdquo;,&rdquo;www.linuxaid.com.cn&rdquo;,&rdquo;linuxaid.animation.html#BOTTOM&rdquo;);當調用過程getRef()從上面語句所創建的linuxaidAnimationbottom中獲取資訊時，getRef()返回null，而不能返回正確值&ldquo;BOTTOM&rdquo;。五、直接從一個URL讀入在成功創建了一個URL以後，就可以調用URL的過程openStream()以獲取一個流，並從這個流中讀入URL的內容。過程openStream()返回一個InputStream物件，因此，可以使用一般的InputStream過程讀入。本書第2.9節描述了Java開發環境提供的I/O類及其使用方法。從一個URL中讀入就如同從一個輸入流中讀入一樣容易。下面的Java程式openStreamTest使用過程openStream()得到URL http://www.javaworld.com/ 上的一個輸入流，然後從這個輸入流中讀入URL的內容，並顯示在螢幕上。Import java.net.*;Import java.io.*;Class OpenStreamTest{Public static void main(String[] args){Try{URL url = new URL(http://www.javaworld.com/);DataInputStream dis = new DataInputStream(url.openStream());String str;While((str=dis.readLine())!=null)System.out.println(str);Dis.close();}catch (MalformedURLException e){System.err..println(&ldquo;MalformedURLException:&rdquo;+e);}catch (IOException e){System.err.pintln(&ldquo;IOException:&rdquo;+e);}}}}當運行程式時,就會看到在http://www.javaworld.com/的HTML文件中的HTML命令以及文本內容滾動顯示在視窗中。或者，你可能看到：IOException:java.net.UnknownHostException:www.javaworld.com上面這條資訊說明：可能需要對你的系統進行必要的設置，才能使你的程式能夠找到www.javaworld.com伺服器。除了上面提到的過程openStream()，類URL還提供了過程getContent()，它可以直接獲取URL指向的資源。下面給出的程式Fetch展示了使用過程getContent()具體方法。import java.net.*;import java.awt.*;import java.io.*;import java.awt.image.*;public class Fetch{public static String fetch(String addr)throws MalformedURLException,IOException{URL url = new URL(addr);Return (String)(url.getContent());}public static Image fetchImage(String addr,Component comp)throws MalformedURLException,IOException{URL url = new URL(addr);Return comp.createImage((ImageProducer)(url.getContent()));}public static void main(String[] args)throws MalformedURLException,IOException{System.out.println(fetch(args[0]));}}Fetch只能下載普通的文字檔案（非HTML文件或其他類型的文字檔案）。在類Fetch中還包括了一個過程fetchImage()，它可以下載GIF或其他常見格式的圖像，你可以使用下面給出的程式FetchImageTest來進行測試。import java.awt.*;import java.awt.image.*;import java.net.*;import java.io.*;public class FetchImageTest extends Frame{private Image img;public void paint(Graphics g){g.drawImage(img,0,0,this);}public static void main(String)[] args)throws MalformedURLException,IOException{FetchImageTest window = new FetchImageTest();window.img = Fetch.fetchImage(args[0],window);window.resize(300,300);window.show();}}在編譯完該程式之後，你可以採用以下命令運行該程式：java FetchImageTest http://www.javaworld.com/jw-10-1996/jeeves.sm.gif請注意：普通文字檔案和圖像文件的下載依賴於Java實現的內部&ldquo;內容處理器&rdquo;。在JDK環境中，這兩個示例程式均可以正常工作，但並不意味著在其他的Java實現下也能工作，對於那些沒有包含合適的內容處理器的Java實現而言，這兩個程式就不能工作。如果程式遇到了不支援的內容類型，程式將抛出異常並退出。這兩個程式只是爲了說明過程getContent()的用法。一般情況下，這不是通過網路載入文本或圖像的最好途徑，例如，類Applet的過程loadImage()就是一個更好的選擇。六、連接至一個URL在成功地創建了一個URL以後，就可以調用URL的openConnection()過程連接至該URL。當連接至一個URL之後，就通過電腦網路在Java程式與URL之間建立了一個通信鏈結。過程openConnection()創建一個新的URLConnection物件（如果不存在一個合適的），對它進行初始化，連接至URL，並返回URLConnection物件。如果這個過程中某個環節出了問題（例如：伺服器已關閉了），過程openConnetion()將抛出一個IOException異常。如果已經成功地連接至希望的URL，就能夠使用URLConnection物件進行對連接的讀寫操作，或者查詢關於它的內容的資訊。下面會介紹如何對一個URLconnection進行讀寫操作。下面給出的程式GetURLInfo首先連接至URLhttp://www.javaworld.com，然後查詢URLConnectction物件的有關資訊。import java.net.*;import.java.io.*;import java.util.*;public class GetURLInfo{public static void printInfo(URLConnection uc){try{System.out.println(uc.getURL().toExternalForm()+&rdquo;:&rdquo;);System.out.println(&ldquo; Content Type:&rdquo; +uc.getContentType());System.out.println(&ldquo;Content Length:&rdquo;+uc.getContentLength());System.out.println(&ldquo;Last Modified:&rdquo;+new Date(uc.getLastModified()));   ]]></summary>
    <content type="html"><![CDATA[<P> <P><SPAN style="FONT-FAMILY: Arial">今天找到遺失的部份~我把他補充在最後面囉~</SPAN></P> <P><SPAN style="FONT-FAMILY: Arial">其實我所上過的課程充其量只是認識JAVA進而運用吧了!</SPAN></P> <P><SPAN style="FONT-FAMILY: Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <BR>Javascript語法<BR>1.&lt;script laguage=Javascript&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .<BR>&nbsp;&nbsp;&nbsp; 程式碼敘述;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .<BR>&nbsp; &lt;/script&gt;<BR>2.使用在超連結直接執行Javascript<BR>&nbsp;&lt;A href="Javascript:程式碼敘述"&gt;<BR>3.適用在觸發控制項並指定Javascript函數執行<BR>&lt;script&gt;<BR>&lt;A herf="Javascript:函數名稱()";&gt;....&lt;/A&gt;<BR>&nbsp;&nbsp;&nbsp; 程式碼敘述;<BR>&lt;/script&gt;</SPAN></P> <P><SPAN style="FONT-FAMILY: Arial">撰寫Javascript注意事項<BR>1.有分英文大小寫<BR>2.每行成是敘述完成需加上;<BR>3.程式註解不執行方式<BR>&nbsp; a.單行註解://.單行註解...<BR>&nbsp; b.多行註解:/*.....<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 多行註解<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .....*/<BR>或是&lt;!--<BR>&nbsp;&nbsp;&nbsp; Javascript程式碼<BR>&nbsp;&nbsp;&nbsp;&nbsp; //--&gt;</SPAN></P><SPAN style="FONT-FAMILY: Arial"> <P><BR>透過Javascript程式語法產生網頁內容<BR>document.write("HTML標籤語法")----不會換行<BR>document.writeln("HTML標籤語法")--會換行</P> <P>HTML(超連結語法)標籤格式<BR>1.&lt;標籤名稱&gt;內容&lt;/標籤名稱&gt;<BR>2.&lt;標籤內容&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;HR&gt;=&gt;水平線<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;BR&gt;=&gt;強迫換行<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;img&gt;=&gt;圖片</P> <P>&lt;b&gt;&lt;/b&gt;粗體<BR>&lt;i&gt;&lt;/i&gt;斜體<BR>&lt;s&gt;&lt;/s&gt;刪除線<BR>&lt;u&gt;&lt;/u&gt;底線</P> <P>&lt;font color=#RRGGBB &gt;&lt;/FONT&gt;</P> <P>程式流程控制種類:<BR>1.循序流程<BR>2.判斷(條件)流程<BR>3.迴圈(重複)流程</P> <P>Javascript內建視窗函數<BR>1.顯示訊息~alert()<BR>&nbsp; 語法:alert("訊息傳送")<BR>2.確認訊息~confirm()<BR>&nbsp; 語法:變數名稱=confirm("訊息內容")<BR>3.資料輸入~prompt<BR>&nbsp; 語法:變數名稱=prompt("輸入訊息內容","預設值")<BR>EX:<BR>&nbsp; &lt;script&gt;<BR>&nbsp; name =prompt("請輸入你的姓氏","無名氏");<BR>&nbsp; ans=confirm("你確定"+name+"真的是您的姓名");<BR>&nbsp; if (ans)<BR>&nbsp;&nbsp;&nbsp; alert(name+",歡迎光臨阿三小站!!");<BR>&nbsp; &lt;/script&gt;</P> <P><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">（</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">1</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">）</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體"> </SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">從網路上載入</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">APPLE(</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">小應用程式</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">)</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">現在的大多數瀏覽器都不約而同地對</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">Java</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">進行支援。在</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">HTML</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">語言中，在</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">.html</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">文件的任何的位置上有一個特殊標記</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體"> </SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">。這句話就是對小應用程式的引用。小應用程</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">序沒有受到地域的限制，它可以在本地，也可以在</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">Internet</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">上的任何一個地方。其位置對於用戶來講是透明的。而對於瀏覽器來講，其位置在</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體"> </SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">中被讀出，然後進</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">行定位小應用程式，並運行它。如果小應用程式位於遠端電腦上，那麽瀏覽器就必須小載它，然後才可運行。</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">（</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">2</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">）</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體"> </SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">從</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">URL</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">載入圖像</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">首先，必須先介紹</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">URL</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">。它表示一個通過資源定位器（</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">Uniform Resource Locator</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">），是網路上某些資源的地址。</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">Java</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">程式可以使用一個</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">URL</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">來引用或連接網路資源。如：</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">如果需要從遠端載入一張圖時，</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">Java</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">程式必須先創建一個</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">URL</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">，以包含圖像的位址。</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">URL</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">是</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">Java</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">程式裏高級別的交互功能。</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">二、</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">URL</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">及其使用</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">URL</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">代表通用資源定位器。將</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">URL</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">提供給網路瀏覽器，那麽它就可以在</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">Internet</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">上尋找並定位文件。在編寫</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">Java</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">程式時，也可以用</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">URL</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">在互聯網上尋找希望訪問的資源。類組</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">java.net</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">中包含一個名爲</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">URL</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">的類，</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">Java</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">可以使用它來表示一個</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">URL</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">地址。</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">這裏需要區別的是：</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">URL</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">位址表示一個</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">Internet</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">位址，而</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">URL</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">物件則指代</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">Java</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">程式中的類</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">URL</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">的一個實例。</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">（</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">1</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">）</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體"> URL</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">的定義</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">URL</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">是一個縮寫，代表通過資源定位（</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">Uniform Resource Locator</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">），是對</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">Internet</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">資源的一個引用（一個地址）。</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">URL</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">不但可以表示網路上的一個文件的名稱，而且可以指向網路上的其他資源，如：資料庫查詢和命令輸出。如：</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">http://java.sun.com//</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">所有的</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">URL</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">擁有兩個主要的組成部分：</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">（</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">1</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">）</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體"> </SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">協定辨識符；</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">（</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">2</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">）</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體"> </SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">資源名稱。</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">上面的例子中，</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">http</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">爲協定辨識符，而</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">//java.sun.com/</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">爲資源名稱。</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">協定辨識符說明被使用來獲取資源的協定的名稱。示例使用超文本傳輸協定</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">(HTTP)</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">，它用在超文本文檔服務中使用。</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">HTTP</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">只是被用來訪問網上不同類型資源的多種不同</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">協定之一。其他的協定還包括文件傳輸協定（</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">FTP</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">）、</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">gopher</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">、文件（</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">file</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">）和新聞（</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">news</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">）。</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">資源名稱是資源的完整地址。資源名稱的格式完全依賴於使用的協定，但對於大多數格式而言，資源名稱包括下面元件的一種或多種：</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">（</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">1</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">）</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體"> </SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">宿主名稱：資源所處的機器的名稱。</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">（</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">2</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">）</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體"> </SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">檔案名：機器上文件的路徑。</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">（</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">3</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">）</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體"> </SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">埠號：連接的埠號（一般爲可選項）。</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">（</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">4</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">）</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體"> </SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">引用：對於資源內部一個有名連接（</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">anchor</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">）的一個引用；它常常指代一個文件內的特定位置（一般爲可選項）。</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">大多數情況下，宿主名稱和檔案名是必須的，而埠號以及引用則是可選的。上面的示例中</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">java.sun.com</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">爲宿主名稱，冒號後的第一個斜線</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">&rsquo;/&rsquo;</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">是文件</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">/index.html</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">的簡寫。</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">在構建任何</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">URL</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">的時候，都應該將協定辨識符放在首位，後面緊跟冒號</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">&rsquo;:&rsquo;</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">，然後才是資源名稱，即：</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">protocolID:resourceName</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">在類組</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">java.net</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">中包含一個類</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">URL</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">，</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">Java</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">程式使用它代表一個</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">URL</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">地址。</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">Java</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">程式可以構造一個</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">URL</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">物件，打開對它的一個連接，然後在這個連接中讀入和寫出。</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">三、創建一個</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">URL</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">在</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">Java</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">程式中，可以創建一個</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">URL</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">物件以表示一個</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">URL</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">位址。</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">URL</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">物件總是指向一個絕對的</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">URL</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">，但它可以由一個絕對的</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">URL</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">、一個相對的</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">URL</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">或</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">URL</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">元件構造而來。</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">創建一個</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">URL</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">物件的最簡單的方法就是從一個表示</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">URL</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">位址的</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">&ldquo;</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">可閱讀</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">&rdquo;</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">形式的字串創建。</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">在</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">Java</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">中，可以使用上述文字的字串創建一個</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">URL</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">物件：</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">URL gamelan=new URL(http://www.linuxaid.com.cn/)</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">這種方法創建的</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">URL</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">物件表示一個絕對的</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">URL</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">。一個絕對的</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">URL</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">包含了到達資源所需的所有資訊。另外，還可以由一個相對的</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">URL</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">位址創建</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">URL</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">物件。</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">（</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">1</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">）</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體"> </SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">相對</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">URL</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">一個相對</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">URL</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">只包含到達對於另一個</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">URL</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">（或處於另一個</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">URL</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">上下文之中）的資源的足夠資訊。</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">在</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">HTML</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">文件中常常使用相對的</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">URL</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">指定資源的位置。如有兩個文件</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">1.html</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">、</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">2.html</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">和</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">3.html</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">，並且它們在同一個目錄下面，那麽在</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">1.html</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">中如果需要調用</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">2.html</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">和</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">3.html</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">則必</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">須寫入：</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR><A href="http://www.linuxbyte.net/"><SPAN style="LETTER-SPACING: 0pt; mso-fareast-font-family: 新細明體">My Story</SPAN></A><BR><A href="http://www.linuxbyte.net/"><SPAN style="LETTER-SPACING: 0pt; mso-fareast-font-family: 新細明體">Picture of My Pets</SPAN></A><BR></SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">這些</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">URL</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">均爲相對的</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">URL</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">，即：這些</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">URL</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">相對於包含它們的文件</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">1.html</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">。</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">在</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">Java</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">中中，可以由一個相對的</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">URL</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">指定創建一個</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">URL</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">物件。例如，假設程式已經爲</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">http://www.linuxaid.com.cn/</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">創建了一個</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">URL</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">物件，而且已經知道該站點的一個文件的名</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">稱爲</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">linuxaid.animation.html</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">，則就可以在初始的</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">linuxaid URL</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">上下文中，通過簡單地指定檔案名，爲</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">linuxaid</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">站點的這個文件創建</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">URL</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">：</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">URL linuxaid = new URL(http://www.javaworld.com/);</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">URL linuxaidanimation = new URL(linuxaid,&rdquo;linuxaid.animation.html&rdquo;);</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">上面的代碼使用用了類</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">URL</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">的另一種形式的構造過程，它允許你由一個</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">URL</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">物件（基本</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">URL</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">）和一個相對的</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">URL</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">創建一個物件。</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">這個構造過程也可以用來創建對一個文件中的有名連接（引用）的</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">URL</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">物件。例如，假設文件</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">&ldquo;linuxaid.animation.html&rdquo;</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">中包含一個有名連接</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">BOTTOM</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">，它在文件的底部，</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">則可以使用相對</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">URL</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">構造過程創建一個</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">URL</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">物件（在下面的語句中</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">BOTTOM</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">前的字元</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">#</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">是必須的）：</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">URL linuxaidAnimationBottom=new URL(linuxaid,&rdquo;#BOTTOM&rdquo;);</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">這種</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">URL</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">構造過程的一般形式爲：</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">URL</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">（</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">URL baseURL,String relativeURL</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">）</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">其中，第一個參數是一個</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">URL</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">物件，指定新的</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">URL</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">的基址，第二個參數爲一個</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">String</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">物件，是對相對于基址的資源名稱的描述。如果</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">baseURL</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">爲</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">null</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">，那麽這個構造過程就</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">將</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">relativeURL</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">視爲一個絕對的</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">URL</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">指定。但如果</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">relativeURL</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">是一個絕對的</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">URL</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">指定，那麽構造過程將忽略</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">baseURL</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">。</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">(2)</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">其他的</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">URL</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">構造過程</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">除前面介紹的類</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">URL</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">的構造過程外</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">,</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">類</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">URL</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">還提供了另外兩個構造過程。當你使用</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">URL</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">的時候，例如</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">HTTP</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">的</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">URL</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">，它的資源名稱部分包含宿主名稱、檔案名稱、埠號和</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">引用等元件，這些構造過程就很有用了。如果不清楚包含完整</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">URL</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">的</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">String</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">物件，只要知道</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">URL</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">的不同元件，使用這兩個構造過程就顯得非常方便。</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">如果需要設計一個網路程式，讓用戶使用滑鼠選擇協定、宿主名稱、埠號和檔案名，則可以由這些元件構造一個</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">URL</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">。類</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">URL</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">提供了用協定、宿主名稱和檔案名創建一</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">個</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">URL</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">的構造過程。下面的代碼就創建了一個指向</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">linuxaid</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">站點的</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">linuxaid.animation.html</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">文件的</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">URL</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">：</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">URL linuxaid = new URL(&ldquo;http&rdquo;,&rdquo;www.linuxaid.com.cn&rdquo;,&rdquo;/linuxaid.animation.html&rdquo;);</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">該語句和</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">URL linuxaid=URL(http://www.linuxaid.com.cn/linuxaid.animation.html)</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">；是等價的。其中，第一個參數爲協定，第二個參數爲宿主名稱，最後一個爲文件的路徑名。</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">注意，檔案名的開頭爲一個斜線&rsquo;</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">/&rsquo;</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">，說明檔案名相對於宿主的根目錄。</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">類</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">URL</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">的另一個構造過程還在參數列表中添加了埠號，例如：</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">URL linuxaid = new URL(&ldquo;http&rdquo;,www.linuxaid.com,80,&rdquo;/linuxaid.animation.html&rdquo;);</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">其中，</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">80</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">是埠號，別的參數同前。該語句創建了如下的一個</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">URL</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">物件：</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">http://www.linunaid.com.cn:80/linunxaid.animation.html</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">如果使用這些過程創建一個</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">URL</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">物件，就可以通過使用</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">URL</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">的過程</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">toString()</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">或過程</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">toExternalForm()</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">得到一個包含完整</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">URL</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">位址的</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">String</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">物件。</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">（</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">2</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">）</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體"> </SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">異常</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">MalformedURLException</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">在類</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">URL</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">的構造過程的兩個版本中，當傳遞給它們的參數指向一個空的或不知道的協定時，它們都抛出一個</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">MalformedURLException</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">異常。如果希望捕捉和處理這個異</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">常，只要將</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">URL</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">的構造過程語句放在一個</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">try/catch</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">中即可。例如：</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">try{</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">URL url=new URL(&hellip;.);</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">}catch (MalformedURLException e){</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">//</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">異常處理代碼</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">}</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">四、分析一個</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">URL</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">類</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">URL</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">提供一些查詢</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">URL</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">物件的過程，可以用它們獲取一個有效的</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">URL</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">物件所包含的協定、宿主名稱、埠號和檔案名。下面是這些過程的功能描述：</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">（</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">1</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">）</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體"> getProtocol( )</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">，返回</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">URL</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">的協定辨識符元件。</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">（</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">2</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">）</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體"> getHost()</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">，返回</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">URL</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">的宿主名稱元件。</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">（</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">3</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">）</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體"> getPort()</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">，返回</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">URL</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">的埠號元件；如果埠沒有設置，返回</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">-1</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">；</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">（</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">4</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">）</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體"> getFile()</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">，返回</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">URL</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">的檔案名元件。</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">（</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">5</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">）</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體"> getRef()</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">，返回</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">URL</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">的引用元件。</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">請注意；並非所有的</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">URL</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">位址都包含這些元件。類</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">URL</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">提供這些過程的原因是</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">HTTP URL</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">包含這些元件，而且它們可能是最常使用的</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">URL</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">。類</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">URL</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">在某種程式是以</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">HTTP</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">爲</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">中心的。</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">可以使用這些</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">getXXX()</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">過程獲取關於</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">URL</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">的資訊，它們與創建</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">URL</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">物件的構造過程無關。</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">下面給出一個示例程式</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">ParseURL</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">，它由一個指定</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">URL</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">的字串創建了一個</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">URL</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">物件，然後使用</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">URL</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">物件的存取過程分析</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">URL</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">；</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">import java.net.*;</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">class ParseURL{</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">public static void main(String[] args){</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">URL url = null;</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">try{</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">url = new URL(http://www.ncsa.uiuc.edu:8080/demoweb/urlprimer.html#INSTALL);</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">System.out.println(&ldquo;protocol = &ldquo;+ url.getProtocol());</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">System.out.println(&ldquo;host =&rdquo;+url.getHost());</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">System.out.println(&ldquo;filename =&rdquo;+url.getFile());</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">System.out.println(&ldquo;port=&rdquo;+url.getPort());</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">System.out.println(&ldquo;ref=&rdquo;+url.getRef());</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">}catch (MalformedURLException e){</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">System.err.println(&ldquo;MalformedURLException:&rdquo;+e);</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">}</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">}</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">}</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">下面是程式執行的結果：</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">protocol=http</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">host=www.ncsa.uinc.edu</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">filename=/demoweb/url-primer.html</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">port=8080</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">ref=INSTALL</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">使用過程</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">getRef()</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">應當注意：在</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">JDK1.02</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">以前的版本中，過程</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">getRef()</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">僅對以下兩個構造過程創建的</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">URL</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">有效：</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">URL</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">（</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">String absoluteURLSpecification</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">）</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">;</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">URL (URL baseURL,String relativeURLSpecification);</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">例如，假設你使用下面的語句創建了一個</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">URL</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">：</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">URL linuxaid=new URL(&ldquo;http://www.linuxaid.com.cn/&rdquo;);</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">URL linuxaidAnimationBottom=new URL(gamelan,&rdquo;linuxaid.animation.html#BOTTOM&rdquo;);</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">當你對</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">linuxaidAnimationBottom</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">調用過程</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">getRef()</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">時，它正確地返回</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">&rdquo;BOTTOM&rdquo;</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">。但你如果使用下面的語句創建一個指向同一資源的</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">URL</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">：</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">URL linuxaidAnimationBottom = new URL(&ldquo;http&rdquo;,&rdquo;www.linuxaid.com.cn&rdquo;,&rdquo;linuxaid.animation.html#BOTTOM&rdquo;);</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">當調用過程</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">getRef()</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">從上面語句所創建的</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">linuxaidAnimationbottom</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">中獲取資訊時，</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">getRef()</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">返回</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">null</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">，而不能返回正確值</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">&ldquo;BOTTOM&rdquo;</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">。</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">五、直接從一個</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">URL</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">讀入</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">在成功創建了一個</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">URL</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">以後，就可以調用</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">URL</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">的過程</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">openStream()</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">以獲取一個流，並從這個流中讀入</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">URL</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">的內容。過程</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">openStream()</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">返回一個</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">InputStream</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">物件，因此，可以使用</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">一般的</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">InputStream</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">過程讀入。本書第</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">2.9</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">節描述了</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">Java</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">開發環境提供的</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">I/O</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">類及其使用方法。</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">從一個</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">URL</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">中讀入就如同從一個輸入流中讀入一樣容易。下面的</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">Java</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">程式</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">openStreamTest</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">使用過程</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">openStream()</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">得到</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">URL http://www.javaworld.com/ </SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">上的一個輸入流，然後從這個</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">輸入流中讀入</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">URL</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">的內容，並顯示在螢幕上。</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">Import java.net.*;</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">Import java.io.*;</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">Class OpenStreamTest{</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">Public static void main(String[] args){</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">Try{</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">URL url = new URL(http://www.javaworld.com/);</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">DataInputStream dis = new DataInputStream(url.openStream());</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">String str;</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">While((str=dis.readLine())!=null)</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">System.out.println(str);</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">Dis.close();</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">}catch (MalformedURLException e){</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">System.err..println(&ldquo;MalformedURLException:&rdquo;+e);</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">}catch (IOException e){</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">System.err.pintln(&ldquo;IOException:&rdquo;+e);</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">}</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">}</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">}</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">}</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">當運行程式時</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">,</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">就會看到在</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">http://www.javaworld.com/</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">的</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">HTML</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">文件中的</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">HTML</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">命令以及文本內容滾動顯示在視窗中。或者，你可能看到：</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">IOException:java.net.UnknownHostException:www.javaworld.com</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">上面這條資訊說明：可能需要對你的系統進行必要的設置，才能使你的程式能夠找到</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">www.javaworld.com</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">伺服器。</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">除了上面提到的過程</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">openStream()</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">，類</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">URL</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">還提供了過程</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">getContent()</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">，它可以直接獲取</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">URL</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">指向的資源。下面給出的程式</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">Fetch</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">展示了使用過程</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">getContent()</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">具體方法。</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">import java.net.*;</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">import java.awt.*;</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">import java.io.*;</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">import java.awt.image.*;</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR><BR></SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">public class Fetch{</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">public static String fetch(String addr)</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">throws MalformedURLException,IOException{</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">URL url = new URL(addr);</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">Return (String)(url.getContent());</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">}</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR><BR></SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">public static Image fetchImage(String addr,Component comp)</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">throws MalformedURLException,IOException{</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">URL url = new URL(addr);</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">Return comp.createImage((ImageProducer)(url.getContent()));</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">}</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR><BR></SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">public static void main(String[] args)</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">throws MalformedURLException,IOException{</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">System.out.println(fetch(args[0]));</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">}</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">}</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR><BR></SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">Fetch</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">只能下載普通的文字檔案（非</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">HTML</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">文件或其他類型的文字檔案）。在類</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">Fetch</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">中還包括了一個過程</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">fetchImage()</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">，它可以下載</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">GIF</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">或其他常見格式的圖像，你可以使</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">用下面給出的程式</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">FetchImageTest</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">來進行測試。</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">import java.awt.*;</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">import java.awt.image.*;</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">import java.net.*;</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">import java.io.*;</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR><BR></SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">public class FetchImageTest extends Frame{</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">private Image img;</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR><BR></SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">public void paint(Graphics g){</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">g.drawImage(img,0,0,this);</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">}</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">public static void main(String)[] args)</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">throws MalformedURLException,IOException{</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">FetchImageTest window = new FetchImageTest();</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">window.img = Fetch.fetchImage(args[0],window);</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">window.resize(300,300);</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">window.show();</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">}</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">}</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">在編譯完該程式之後，你可以採用以下命令運行該程式：</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">java FetchImageTest http://www.javaworld.com/jw-10-1996/jeeves.sm.gif</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">請注意：普通文字檔案和圖像文件的下載依賴於</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">Java</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">實現的內部</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">&ldquo;</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">內容處理器</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">&rdquo;</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">。在</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">JDK</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">環境中，這兩個示例程式均可以正常工作，但並不意味著在其他的</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">Java</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">實現下也能工</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">作，對於那些沒有包含合適的內容處理器的</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">Java</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">實現而言，這兩個程式就不能工作。如果程式遇到了不支援的內容類型，程式將抛出異常並退出。</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">這兩個程式只是爲了說明過程</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">getContent()</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">的用法。一般情況下，這不是通過網路載入文本或圖像的最好途徑，例如，類</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">Applet</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">的過程</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">loadImage()</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">就是一個更好的選擇。</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">六、連接至一個</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">URL</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">在成功地創建了一個</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">URL</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">以後，就可以調用</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">URL</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">的</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">openConnection()</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">過程連接至該</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">URL</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">。當連接至一個</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">URL</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">之後，就通過電腦網路在</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">Java</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">程式與</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">URL</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">之間建立了一個通信</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">鏈結。</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">過程</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">openConnection()</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">創建一個新的</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">URLConnection</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">物件（如果不存在一個合適的），對它進行初始化，連接至</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">URL</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">，並返回</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">URLConnection</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">物件。如果這個過程中某個環節</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">出了問題（例如：伺服器已關閉了），過程</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">openConnetion()</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">將抛出一個</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">IOException</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">異常。</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">如果已經成功地連接至希望的</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">URL</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">，就能夠使用</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">URLConnection</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">物件進行對連接的讀寫操作，或者查詢關於它的內容的資訊。下面會介紹如何對一個</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">URLconnection</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">進行讀</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">寫操作。下面給出的程式</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">GetURLInfo</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">首先連接至</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">URLhttp://www.javaworld.com</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">，然後查詢</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">URLConnectction</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 新細明體; mso-ascii-font-family: SimSun; mso-hansi-font-family: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">物件的有關資訊。</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">import java.net.*;</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">import.java.io.*;</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">import java.util.*;</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR><BR></SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">public class GetURLInfo{</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">public static void printInfo(URLConnection uc){</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">try{</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">System.out.println(uc.getURL().toExternalForm()+&rdquo;:&rdquo;);</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">System.out.println(&ldquo; Content Type:&rdquo; +uc.getContentType());</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">System.out.println(&ldquo;Content Length:&rdquo;+uc.getContentLength());</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR></SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA; mso-fareast-font-family: 新細明體">System.out.println(&ldquo;Last Modified:&rdquo;+new Date(uc.getLastModified()));</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"><BR><BR style="mso-special-character: line-break"><BR style="mso-special-character: line-break"></SPAN></P> <FONT face=Arial> </FONT></SPAN> <P>  <div class="more"><a href="http://kill2266.pixnet.net/blog/post/21474069">(Read More...)</a></div>]]></content>
    <category term="No Category"/>
    <wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://kill2266.pixnet.net/blog/post/21474069#comments</wfw:comment>
  </entry>
  <entry xmlns:wfw="http://wellformedweb.org/CommentAPI/">
    <id>http://kill2266.pixnet.net/blog/post/21472540</id>
    <title><![CDATA[序]]></title>
    <updated>2008-08-18T00:50:00+08:00</updated>
    <link rel="alternate" href="http://kill2266.pixnet.net/blog/post/21472540"/>
    <summary><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 這是我的筆記本~如果有需要就請自行取用囉!如果有侵犯到著作權的~請告訴我~我會把它拿掉的~]]></summary>
    <content type="html"><![CDATA[<font face="Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br />這是我的筆記本~<br />如果有需要就請自行取用囉!<br />如果有侵犯到著作權的~<br />請告訴我~<br />我會把它拿掉的~</font>  <div class="more"><a href="http://kill2266.pixnet.net/blog/post/21472540">(Read More...)</a></div>]]></content>
    <category term="No Category"/>
    <wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://kill2266.pixnet.net/blog/post/21472540#comments</wfw:comment>
  </entry>
</feed>
