Recent versions of host can perform a reverse DNS lookup directly on the IP address. If you have an older version, or wish to use dig or some other tool, you have to convert the IP address into the format used internally for reverse DNS lookups. Here is an example.
I am using egrep to extract numbers from a file and storing them as variables in a script. But I am not able to do any arithmetic operations on the variables using "expr" because it stores them as char and not integers. Here is my code and the error I get. Any help will be appreciated.
#!/bin/sh... (3 Replies)
Hi, I would like ask for you help for coding array operation.
array= ( a b c d e f )
I would like to remove entry "d" from my array and import the remaining entries back to the array.
Thanks. (3 Replies)
Hi,
Can anyone explain me what is the functionality of this code
cat << EOF > $TSTFILE
/$1/ { print "SENT" }
EOF
Suggestions welcome
Thanks in advance (0 Replies)
Gurus - Please help with this urgent situation.
I have the following problem to solve using a shell script:
1. There are about 13 files named CONTAINER_1.lst, CONTAINER_2.lst, CONTAINER_3.lst .....CONTAINER_13.lst
2. Each of these files contain about 8 lines (in most cases) containing... (1 Reply)
Hi I am new to shell scripting and trying to get values from a text file,
I have a text file with values seperated with "|". like
aga|120220090525|120220090525|120220090525|120220090530
bab|120220090530|120220090530|120220090535|120220090535|120220090535... (4 Replies)
I have a txt file with several columns and i want to peform an operation on two columns and output it to a new txt file .
file.txt
900.00000 1 1 1
500.00000
500.00000
100000.000
4
4
1.45257346E-07 899.10834 ... (4 Replies)
I have always struggled when parsing a file vertically vs. by line horizontally. Can't seem to get my head around the concept. Here again I need to convert vertical output to horizontal output.
original output
root@acuransx:bpplsched 2000-STAND3 -v -M acuransx -l
<2>bpplsched: INITIATING:... (4 Replies)
I need to read a file line by line, then depending on the contents of each line, type in a code that will get written to an array.
The problem I have is when I ask the user to confirm the input code, if it is wrong, how do i Return to ask again?
Any thing I try increments the file to the next... (6 Replies)
Discussion started by: kcpoole
6 Replies
LEARN ABOUT SUSE
wmgrabimage
WMGRABIMGAE(1) General Commands Manual WMGRABIMGAE(1)NAME
WMGRABIMGAE - Dockable WWW Image monitor.
SYNOPSIS
wmGrabImage [-h] [-display <Display>] -url <Image URL> [-http <URL>] [-c] [-delay <Time>]
DESCRIPTION
wmGrabImage is a WindowMaker DockApp that maintains a small thumbnail copy of your favorite image from the WWW. The image to monitor is
specified via the "-url <Image URL>" command-line option and it gets updated approximately every 5 minutes. The update interval can be
overridden via the "-delay <Time>" command-line option (Time is in seconds).
Each of the three mouse buttons can be double clicked with the following effects;
Left Mouse:
Brings up the full-sized image in xv.
Middle Mouse:
Sends a URL (specified via the -http <URL> command-line option) to an already running netscape process or in a new netscape process
if there arent any running.
Right Mouse:
Updates the image immediately.
OPTIONS -h Display list of command-line options.
-display [display]
Use an alternate X Display.
-url <Image URL>
The URL of the WWW image to monitor.
-http <URL>
The URL to send to netscape via a Middle double click.
-c Center the image vertically within the icon.
-delay <Time>
The time between updates. The default is about 5 minutes.
FILES
The original sized image and the thumbnail XPM image are both stored in ~/.wmGrabImage/ which gets created if it doesnt already exist.
SEE ALSO
wget and the ImageMagick convert utility.
BUGS
Who knows? -- its still Beta though. (Let me know if you find any). Oldish versions of the ImageMagick convert utility have a memory leak
-- if you have that problem, upgrade to the latest version.
AUTHOR
Michael G. Henderson <mghenderson@lanl.gov>
16 December 1998 WMGRABIMGAE(1)