Sponsored Content
Top Forums Web Development Script to determine which web server at ip addresses Post 302930765 by Skrynesaver on Wednesday 7th of January 2015 06:05:24 AM
Old 01-07-2015
Code:
nmap -p 80 -sV $IP

 

6 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

(w)get web server's directories + bash script

Hi everyone. I need to write a script which will download files/folders (a huge collection) to the local file server (centOS 4.4 Server), and check regularly (every 6 hours or so if any new files are present, or if the old ones were modified to update contents). Any insights on how to tackle... (2 Replies)
Discussion started by: reminiscent
2 Replies

2. Shell Programming and Scripting

Script to telnet web server

A similar script I wrote long time ago, it was working, but it was deleted and now for some reasons my new script doesnt work. I have been searching for a while in google but no luck so far. Can anyone help me to spot syntax errors with this little script here: #!/bin/sh { sleep 2 ... (5 Replies)
Discussion started by: bsddaemon
5 Replies

3. Shell Programming and Scripting

Script to monitor JBoss web server

Hello All, I need a shell script to monitor JBOSS web server.If the JBOSS web server is down, then the script should send a mail. Please help on this. Regards, Sachin (2 Replies)
Discussion started by: nsachin
2 Replies

4. Shell Programming and Scripting

Script for HP Embedded Web Server

Hi, In our company we have serveral HP Officejet Pro 8600 N911g printers. I would like to create one addressbook (in CSV format) and import it to all our printers If i go to the settings of my network printer by ip address: /#hId-EmailContacts in my browser I don't see an option ... (0 Replies)
Discussion started by: eclectica1
0 Replies

5. UNIX for Dummies Questions & Answers

List Contacted Web Addresses?

Greetings. I'm in the process of tracking down an issue with Firefox, and need some way of gathering the actual web addresses which are connected to from localhost. The specific problem centers around the determination/capture of the exact generated app.update.url address formed by the... (2 Replies)
Discussion started by: LinQ
2 Replies

6. Shell Programming and Scripting

Script to determine server IP

Need help with the script, I am trying to include this script as part of kickstart profile. based of the host's IP address, in this case if the host is IP starting with 10.10.3.* or 10.10.6.*, I will be pushing appropriate routing file from my web server. I validate host IP from nslookup. ... (3 Replies)
Discussion started by: bobby320
3 Replies
XSetPointerMapping()													      XSetPointerMapping()

Name
  XSetPointerMapping - set the pointer button mapping.

Synopsis
  int XSetPointerMapping(display, map, nmap)
	Display *display;
	unsigned char map[];
	int nmap;

Arguments
  display   Specifies a connection to an X server; returned from XOpenDisplay().

  map	    Specifies the mapping list.

  nmap	    Specifies the number of items in the mapping list.

Returns
  MappingSuccess on success; MappingBusy on failure.

Description
  XSetPointerMapping()	sets  the  mapping  of the pointer buttons.  Elements of the map list are indexed starting from 1.  The length of the
  list nmap must be the same as XGetPointerMapping() returns (you must call that first).  The index is a physical button number, and the ele-
  ment of the list defines the effective button number.  In other words, if map[2] is set to 1, when the second physical button is pressed, a
  ButtonPress event will be generated if Button1Mask was selected but not if Button2Mask was selected.	The button member in the  event  will
  read Button1.

  No  two  elements  can  have the same non-zero value (else a BadValue error).  A value of zero for an element of map disables a button, and
  values for elements are not restricted in value by the number of physical buttons.  If any of the buttons to be altered  are	currently  in
  the down state, the returned value is MappingBusy and the mapping is not changed.

  This	function returns either MappingSuccess or MappingBusy.	XSetPointerMapping() generates a MappingNotify event when it returns Mapping-
  Success.

Errors
  BadValue  Two elements of map[] have same non-zero value.
	    nmap not equal to XGetPointerMapping() return value.

See Also
  XChangeActivePointerGrab(), XChangePointerControl(), XGetPointerControl(), XGetPointerMapping(), XGrabPointer(), XQueryPointer(),  XUngrab-
  Pointer(), XWarpPointer().

Xlib - Pointer														      XSetPointerMapping()
All times are GMT -4. The time now is 12:05 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy