hi all,
i would like to search in a directory. all files they were found shoul be opend and looked about a keyword. if keyword is found i want to see the name of the file. i've rtfm of find and have a command like this :
find /etc -exec cat \{}\ | grep KEYWORD
but don't work, and :
find... (4 Replies)
I have a file that contains the following:
Mon Dec 3 15:52:57 PST 2o007: FAILED TO PROCESSED FILE 200712030790881200.TXT - exit code=107
Tue Dec 4 09:08:57 PST 2007: FAILED TO PROCESSED FILE 200712030790879200a.TXT - exit code=107
This file also has a lot more stuff since it is a log file.... (2 Replies)
Hi ,
I have a file myhost.txt which contains below,
127.0.0.1 localhost
1.17.1.5 atrpx958
11.17.10.11 atrpx958zone nsybhost
I need to append words only after "atrpx958" like 'myhost' and 'libhost' and not after atrpx958zone.
How to search the word atrpx958 only in... (2 Replies)
Hello Everyone,
I am setting up monitoring system for linux server, I need to add few some common error message in monitoring file which can search those strings in /var/log/messages file on the client.
can someone suggest few error messages.
Thanks, (2 Replies)
I have a long list of alphanumberic words (no spaces or characters) in file1.txt I need to check for the existance of each of the words from file1.txt against file2.txt and if the word is NOT in file2.txt, I need to know about it, either standard output or redirect to file3.txt
For example:... (5 Replies)
Hi,
Need your help for this scripting issue I have. I am not really good at this, so seeking your help.
I have a file looking similar to this:
Hello, i am human and name=ABCD.
How are you?
Hello, i am human and name=PQRS.
I am good.
Hello, i am human and name=ABCD.
Good bye.
Hello, i... (12 Replies)
Hi guys,
I have a text file named file1.txt that is formatted like this:
001 , ID , 20000
002 , Name , Brandon
003 , Phone_Number , 616-234-1999
004 , SSNumber , 234-23-234
005 , Model , Toyota
007 , Engine ,V8
008 , GPS , OFF
and I have file2.txt formatted like this:
... (2 Replies)
Dear all,
I have gone through all the search and replace requests but none of them meet my particular need. I have a huge file in which all Unicode characters are stored as Names. A sample is given below. I want to replace strings in that file with a mapper from another file termed as master.dic. ... (4 Replies)
Hi Team,
Could you please suggest the below requirement.
using the below server log, i just want only the order_id with combination of customer name , error code value as 5000111 & amount value using the shell script
i tired using the command grep "error_code>50001111"... (6 Replies)
Discussion started by: venkat918
6 Replies
LEARN ABOUT DEBIAN
oneko
ONEKO(6) Games Manual ONEKO(6)NAME oneko - Creates a cute cat chasing around your mouse cursor.SYNOPSIS
oneko [-help] [-tora] [-dog] [-sakura] [-tomoyo] [-time n] [-speed n] [-idle n] [-name name] [-towindow] [-toname name] [-tofocus] [-posi-
tion geometry] [-rv] [-noshape] [-fg] [-bg]
DESCRIPTION
oneko changes your mouse cursor into mouse and creates a little cute cat and the cat start chasing around your mouse cursor. If the cat
catchup the ``mouse'', start sleeping.
Options
-help Prints help message on usage.
-tora Make cat into "tora-neko", a cat wite tiger-like stripe.
-dog Runs a dog instead of a cat.
-sakura
Runs Sakura Kinomoto instead of a cat.
-tomoyo
Runs Tomoyo Daidouji instead of a cat.
-time interval
Sets interval timer which determine intervals for cat animation. Default value is 125000 and unit is micro-second. Smaller value
makes cat run faster.
-speed distance
Specify the distance where cat jumps at one move in dot resolution. Default is 16.
-idle speed
Specify the threshold of the speed which ``mouse'' running away to wake cat up.
-name name
Specify the window name of cat.
-towindow
When oneko starts with this option, you must select a window by cursor. Then cat appears and starts chasing the window instead of
mouse. You can select another running oneko as the target window. If root window is selected, cat chases mouse as usually. When
the target window is not in sight and not closed, cat chases mouse as usually. If the target window is closed, this program exit.
-toname name
Specify the window name of target to make cat chase it instead of mouse. You can specify another running oneko as the target win-
dow. When the target window is not in sight and not closed, cat chases mouse as usually. If the target window is closed, this pro-
gram exit.
-tofocus
Makes cat run to and on top of focus window. When focus window is not in sight, cat chases mouse as usually.
-position geometry
Specify X and Y offsets in pixels to adjust position of cat relative to mouse pointer.
-rv Reverse background color and foreground color.
-noshape
Don't use SHAPE extension.
-fg color
Foreground color.
-bg color
Background color.
-cursor cursornumber
Specify a cursos number to set when quitting. For example, 132 is the default root cursor.
Resources
Application name is "neko"(or "tora") and class name is "Oneko".
tora Set ``True'' if you want "tora-neko".
time Sets interval timer in micro-second.
speed Sets distance to jump in pixel.
idle Sets speed threshold to wake cat up when ``mouse'' running away.
noshape
Set ``True'' if you don't want to use SHAPE extension.
reverse
Set ``True'' if you want to switch foreground and background color.
foreground
Foreground color.
background
Background color.
Notes
While this program uses XGetDefault, be sure to use "neko.resouce" form. If you run this program as "tora", by hard of soft link, the
-tora option is enabled by default.
BSD Daemon Copyright 1988 by Marshall Kirk McKusick. All Rights Reserved.
Sakura Kinomoto and Tomoyo Daidouji are characters in a comic strip "CARDCAPTOR SAKURA" (CLAMP, Kodansha), with the sanction indicated in
CLAMP SCHOOL WEB CAMPUS (http://www.clamp.f-2.co.jp/).
AUTHOR
Original xneko is written by Masayuki Koba and modified to oneko by Tatsuya Kato, and modified furthermore by John Lerchey, Eric Anderson,
Toshihiro Kanda and Kiichiroh Mukose.
MAINTAINER
Send questions or problems to mukose@hbar.mp.es.osaka-u.ac.jp
ONEKO(6)