9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have a file comp.pkglist which mention package version and release . In 'version change' and 'release change' line there are two versions 'old' and 'new' Version Change: --> Release Change: -->
Package list: nss-util-devel-3.28.4-1.el6_9.x86_64
Version Change: 3.28.4 -->... (1 Reply)
Discussion started by: Paras Pandey
2. Shell Programming and Scripting
I've a requirment to grep for a string in series of log files that are getting generated almost every minute.
I'm looking to schedule a script every 15 mountes,in order to check if the error string has been generated in any of the log files generated in last 15 minutes.
Please... (3 Replies)
Discussion started by: rajivatnova
3. Shell Programming and Scripting
I have a list of zipped files. I want to grep for a string in all files and get a list of file names that contain the string. But without unzipping them before that, more like using something like gzcat.
My OS is:
SunOS test 5.10 Generic_142900-13 sun4u sparc SUNW,SPARC-Enterprise (8 Replies)
Discussion started by: apenkov
4. Shell Programming and Scripting
output=$(grep "ERROR" $logfile)
echo "exceptions logged , please check /var/tmp.log for more details" |\
mail -s "exceptions logged , please check /var/tmp.log on for more details" $DL
echo "not found"
Somehow its not working as... (5 Replies)
Discussion started by: ajothi
5. Shell Programming and Scripting
I am attempting to grep an exact string from a series of files within a directory and append that output to the filename when it is present in the file. I've been after this all day with no luck. Thanks for your help in advance :wall:. (4 Replies)
Discussion started by: JC_1
6. Shell Programming and Scripting
1_strings file contains
$ cat 1_strings
/home/Review$ cat myxml
<projected value="some string" path="/home/$USER/Src">
<few more lines >
<projected value="some string" path="/home/$USER/check">... (4 Replies)
Discussion started by: greet_sed
7. Shell Programming and Scripting
I'd like to copy strings from a log file and put them into a CSV.
The strings could be on different line numbers, depending on size of log.
Example Log File:
File = foo.bat
Date = 11/11/11
User = Foo Bar
Size = 1024
CSV should look like:
"foo.bat","11/11/11","Foo Bar","1024" (7 Replies)
Discussion started by: chipperuga
i have some problem with grepping strings in log files..
so..,i need an java logic on how to grep srtings in log files
the output must be in gui..,
please help me ..
raghuraipur:confused: (1 Reply)
Discussion started by: raghuraipur
9. Shell Programming and Scripting
I would want to recieve notification only if there are sessions block in our databases.
This is my script, but it's not working. No matter what is the contents in the $OUTFILE, I get emails.
/usr/bin/cat $OUTFILE | read selected
echo "No session is blocked"
... (7 Replies)
Discussion started by: *Jess*