Shyam Patil’s DECK

It’s all I see happening around me!!!!!!!!!

Taskkill — manages to kill systems running task

TASKKILL [/S system [/U username [/P [password]]]]
         { [/FI filter] [/PID processid | /IM imagename] } [/F] [/T]

Description:
    This command line tool can be used to end one or more processes.
    Processes can be killed by the process id or image name.

Parameter List:
    /S    system           Specifies the remote system to connect to.

    /U    [domain\]user    Specifies the user context under which
                           the command should execute.

    /P    [password]       Specifies the password for the given
                           user context. Prompts for input if omitted.

    /F                     Specifies to forcefully terminate
                           process(es).

    /FI   filter           Displays a set of tasks that match a
                           given criteria specified by the filter.

    /PID  process id       Specifies the PID of the process that
                           has to be terminated.

    /IM   image name       Specifies the image name of the process
                           that has to be terminated. Wildcard ‘*’
                           can be used to specify all image names.

    /T                     Tree kill: terminates the specified process
                           and any child processes which were started by it.

    /?                     Displays this help/usage.

Filters:
    Filter Name   Valid Operators           Valid Value(s)
    ———–   —————           ————–
    STATUS        eq, ne                    RUNNING | NOT RESPONDING
    IMAGENAME     eq, ne                    Image name
    PID           eq, ne, gt, lt, ge, le    PID value
    SESSION       eq, ne, gt, lt, ge, le    Session number.
    CPUTIME       eq, ne, gt, lt, ge, le    CPU time in the format
                                            of hh:mm:ss.
                                            hh – hours,
                                            mm – minutes, ss – seconds
    MEMUSAGE      eq, ne, gt, lt, ge, le    Memory usage in KB
    USERNAME      eq, ne                    User name in [domain\]user
                                            format
    MODULES       eq, ne                    DLL name
    SERVICES      eq, ne                    Service name
    WINDOWTITLE   eq, ne                    Window title

NOTE: Wildcard ‘*’ for the /IM switch is accepted only with filters.

NOTE: Termination of remote processes will always be done forcefully
      irrespective of whether /F option is specified or not.

Examples:
    TASKKILL /S system /F /IM notepad.exe /T
    TASKKILL /PID 1230 /PID 1241 /PID 1253 /T
    TASKKILL /F /IM notepad.exe /IM mspaint.exe
    TASKKILL /F /FI “PID ge 1000″ /FI “WINDOWTITLE ne untitle*”
    TASKKILL /F /FI “USERNAME eq NT AUTHORITY\SYSTEM” /IM notepad.exe
    TASKKILL /S system /U domain\username /FI “USERNAME ne NT*” /IM *
    TASKKILL /S system /U username /P password /FI “IMAGENAME eq note*”

August 29, 2007 Posted by Shyam Patil | Microsoft Command Line | | No Comments Yet

FINGER — display information about the user with Remote accessibility

August 29, 2007 Posted by Shyam Patil | Uncategorized | | No Comments Yet

ARP — Address Resolution Protocol

Displays and modifies the IP-to-Physical address translation tables used by
address resolution protocol (ARP).

ARP -s inet_addr eth_addr [if_addr]
ARP -d inet_addr [if_addr]
ARP -a [inet_addr] [-N if_addr]

  -a            Displays current ARP entries by interrogating the current
                protocol data.  If inet_addr is specified, the IP and Physical
                addresses for only the specified computer are displayed.  If
                more than one network interface uses ARP, entries for each ARP
                table are displayed.
  -g            Same as -a.
  inet_addr     Specifies an internet address.
  -N if_addr    Displays the ARP entries for the network interface specified
                by if_addr.
  -d            Deletes the host specified by inet_addr. inet_addr may be
                wildcarded with * to delete all hosts.
  -s            Adds the host and associates the Internet address inet_addr
                with the Physical address eth_addr.  The Physical address is
                given as 6 hexadecimal bytes separated by hyphens. The entry
                is permanent.
  eth_addr      Specifies a physical address.
  if_addr       If present, this specifies the Internet address of the
                interface whose address translation table should be modified.
                If not present, the first applicable interface will be used.
Example:
  > arp -s 157.55.85.212   00-aa-00-62-c6-09  …. Adds a static entry.
  > arp -a                                    …. Displays the arp table.

August 29, 2007 Posted by Shyam Patil | Uncategorized | | 2 Comments

NET

NET command /HELP

   Commands available are:

   NET ACCOUNTS             NET HELP              NET SHARE
   NET COMPUTER             NET HELPMSG           NET START
   NET CONFIG               NET LOCALGROUP        NET STATISTICS
   NET CONFIG SERVER        NET NAME              NET STOP
   NET CONFIG WORKSTATION   NET PAUSE             NET TIME
   NET CONTINUE             NET PRINT             NET USE
   NET FILE                 NET SEND              NET USER
   NET GROUP                NET SESSION           NET VIEW

   NET HELP SERVICES lists some of the services you can start.
   NET HELP SYNTAX explains how to read NET HELP syntax lines.
   NET HELP command | MORE displays Help one screen at a time.

August 29, 2007 Posted by Shyam Patil | Microsoft Command Line | | No Comments Yet

GETMAC — Get information for Network adapter from Command Line

 GETMAC — The output from this utility consists of the network adapter MAC address and the transport name associated with it

GETMAC [/S system [/U username [/P [password]]]] [/FO format] [/NH] [/V]

Description:
    This command line tool enables an administrator to display the MAC
    address for one or more network adapters on a system.

Parameter List:
    /S     system            Specifies the remote system to connect to.

    /U     [domain\]user     Specifies the user context under
                             which the command should execute.

    /P     [password]        Specifies the password for the given
                             user context. Prompts for input if omitted.

    /FO    format            Specifies the format in which the output
                             is to be displayed.
                             Valid values: “TABLE”, “LIST”, “CSV”.

    /V                       Specifies that the detailed information
                             should be displayed in the output.

    /NH                      Specifies that the “Column Header” should
                             not be displayed in the output.
                             Valid only for TABLE and CSV formats.

    /?                       Displays this help/usage.

Examples:
    GETMAC /FO csv
    GETMAC /S system /NH /V
    GETMAC /S system /U user
    GETMAC /S system /U domain\user /P password /FO list /V
    GETMAC /S system /U domain\user /P password /FO table /NH

August 29, 2007 Posted by Shyam Patil | Microsoft Command Line | | No Comments Yet

Builtwith

BuiltWith is a web site profiler tool. Upon looking up a page, BuiltWith returns all the technologies it can find on the page. BuiltWith’s goal is to help developers, researchers and designers find out what technologies pages are using which may help them to decide what technologies to implement themselves

visit http://builtwidth.com

August 14, 2007 Posted by Shyam Patil | Web Development | | No Comments Yet

GRUB – GRand Unified Bootloader

GRUB is the latest bootloader program comes with every Linux Distribution.  A bootloader is a program that starts when the computer boots up.   It is responsible to loading the Operating System Kernel.

Learn /boot/ grub/menu.lst

August 4, 2007 Posted by Shyam Patil | Linux | | No Comments Yet

25 Sites which should be bookmarked

TIME.com have a good article on the 25 best sites we can’t live without today

Check this link out : http://www.time.com/time/specials/2007/article/0,28804,1638266_1638253,00.html

August 3, 2007 Posted by Shyam Patil | News | | No Comments Yet

Howto make an Installation Boot CD-ROM for Linux

Copy the isolinux/ directory from the Red Hat Enterprise Linux DVD or CD #1 into a temporary directory

cp -r /../isolinux/ /tmp/somedir/

Change the permission of the copied file: chmod u+x /tmp/somedir/isolinux

Finally make an iso image of the file and burn on the CD or DVD

mkisofs -o file.iso -b isolinux.bin -c boot.cat -no-emul-boot \ -boot-load-size 4 -boot-info-table -R -J -v -T isolinux/

August 2, 2007 Posted by Shyam Patil | Linux | | No Comments Yet