Thursday, December 15, 2011

Wndows XP Command-line Commands

- fc - compares two files and displays the differences between them.
- type - open text files.
- tree - visual directory structure
- attrib - make hidden files visible
- assoc - which program will open that .xyz file
- move - more flexible than copy-paste
- find - advanced file search with filter
- msconfig - modify start up program and other setting
- mmc - opening msc file
   services.msc, gpedit.msc, devmgmt.msc, compmgmt.msc
- regedit - registry editor
- sc create/delete : create / delete service
   ex:, sc delete "IBMWAS61Service - SYNTWDDD0414Node02"
   HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Services
- tasklist /svc, tasklist | findstr YPager* - active process list
- taskkill /F /PID [number of process ID] - active process kill
   taskkill  /F /IM [name of the running process, you can use wildcards "*"]

Monday, December 12, 2011

Free Public DNS Server

Google public dns server :
8.8.8.8
8.8.4.4
OpenDNS free dns server :
208.67.222.222
208.67.220.220

Sunday, December 11, 2011

Wndows XP Networking

- ARP : Display/manipulate the ARP information.
- FINGER : Find sometimes personal information about a user.  
- Hostname : Displays the Microsoft networking computer name.
- IPCONFIG : Displays the IP address, TCP/IP configuration.
- PATHPING : Enables a user to find network latency and network loss
- ping : Verifies existence of remote host (connectivity).
- nbtstat : Gives statistics and technical NetBIOS information.
- net : Used to start, stop, and view many networking operations.
- netstat  : Returns protocol statistics.
- NSLOOKUP : Enables to do a reverse lookup on an IP address.
- ROUTE : Enables computers to view & modify the route table.
- TRACERT : Displays route taken by an ICMP to a remote host.
- WHOIS : Provides information about a domain name.
- WINIPCFG : Display network and network adapter information.
- lpq : Displays the print queue status of an LPD printer. 

- ipconfig /all : Display all IP address of your computer.
- ipconfig /displaydns : Display DNS Cache Info. & Config.
- ipconfig /flushdns : Clearing DNS Cache run: 
  You might need to run “ipconfig /renew” command after this.
- ipconfig /registerdns : For Re-Register the DNS connections.
- ipconfig /release : Releasing All IP Address connections.
- ipconfig /renew : Renew All IP Address connections.

FQDN

- An (FQDN) - fully qualified domain name, consists of a host and domain name, including top-level domain.
- Ex. www.gordano.com is a fully qualified domain name. www is the host, gordano is the second-level domain, and .com is the top level domain.
- A FQDN always starts with a host name and continues all the way up to the top-level domain name, so www.test.gordano.com would be classed as a FQDN if it existed. 
- FQDN = Hostname + Primary DNS Suffix
- ipconfig /all