Sponsored Content
Full Discussion: Count, compare, execute ...
Top Forums Shell Programming and Scripting Count, compare, execute ... Post 302785503 by RudiC on Monday 25th of March 2013 06:17:14 PM
Old 03-25-2013
Show us your thoughts.
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Compare lines and execute

Greetings, I'm new to scripting and need a little help. I have a NAS server and want to make a script that bans IP if they fail login several times. The problem is that I dont know how to compare the IP's in the file. If they exist more than 3 times do .... #!/bin/sh set -x X=4 rm... (2 Replies)
Discussion started by: ntenz
2 Replies

2. Shell Programming and Scripting

count and compare no of records in bash shell script.

consider this as a csv file. H,0002,0002,20100218,17.25,P,barani D,1,2,3,4,5,6,7,8,9,10,11 D,1,2,3,4,5,6,7,8,9,10,11 D,1,2,3,4,5,6,7,8,9,10,11 D,1,2,3,4,5,6,7,8,9,10,11 D,1,2,3,4,5,6,7,8,9,10,11 T,5 N i want to read the csv file and count the number of rows that start with D and... (11 Replies)
Discussion started by: barani75
11 Replies

3. Shell Programming and Scripting

How to execute a no of SELECT COUNT(*) statements using a loop

HI Unix Gurus, I have a number of SELECT count(*) statements in an input file and I want to execute it using a shell script but one by one using loop in script.... How can I do this..... (7 Replies)
Discussion started by: ustechie
7 Replies

4. Shell Programming and Scripting

Compare and Count...

Hello all.. i am new to shell scripting.. learning the things..i am struck at a place here.. I have divided one table in two two tables for comparision.. X1|Left|10000|10025 X2|Left|1050|1075 X2|Left|3050|3075 X3|Left|9000|9025 Y1|Left|3000|3025 Y1|Left|4500|4525 Y2|Left|7000|7025... (4 Replies)
Discussion started by: empyrean
4 Replies

5. Shell Programming and Scripting

compare 2 files and show count same content.

$ cat File1 Non HTTP response code:java.net.ConnectException225073X 000000005143329Load time: 402335410224 Non HTTP response code: ava.net.ConnectException206423X 000000005143330Load time: 402305687161 Non HTTP response code: ava.net.ConnectException290212X 000000005143331Load time:... (1 Reply)
Discussion started by: ooilinlove
1 Replies

6. Shell Programming and Scripting

Compare values for a pattern match and execute script

Here in the input file 23:59:13,devicename,21,server1,700 23:59:13,devicename,22,server2,200 23:59:13,devicename,23,server3,200 23:59:13,devicename,24,server4,200 23:59:13,devicename,25,server5,200 23:59:13,devicename,26,server6,200 23:59:13,devicename,27,server7,200... (6 Replies)
Discussion started by: necro98
6 Replies

7. Shell Programming and Scripting

Script to compare count of two csv files

Hi Guys, I need to write a script to compare the count of two csv files each having 5 columns. Everyday a csv file is recived. Now we need to compare the count of todays csv file with yesterday's csv file and if the total count of records is same in todays csv file and yesterday csv file out... (3 Replies)
Discussion started by: Vivekit82
3 Replies

8. Shell Programming and Scripting

Compare file1 header count with file2 line count

What I'm trying to accomplish. I receive a Header and Detail file for daily processing. The detail file comes first which holds data, the header is a receipt of the detail file and has the detail files record count. Before processing the detail file I would like to put a wrapper around another... (4 Replies)
Discussion started by: pone2332
4 Replies

9. Shell Programming and Scripting

Compare two files and count number of matching lines

Dear All, I would like to compare two files and return the number of matches found. Example File A Lx2 L1_Mus1 L1Md_T Lx5 L1M2 L1_Mus3 Lx3_Mus Lx9 Lx2A L1Md_A L1Md_F2 File B L1_Mus3 L1_Mus3 (3 Replies)
Discussion started by: paolo.kunder
3 Replies

10. Shell Programming and Scripting

awk to compare files and count

I am trying to compare 2 files and output the results in two files. The lines that are the same output to concordant.txt while the lines that do not match output to discordant.txt. Is there a way to count the lines after specific text (#CHROM POS ID REF ALT QUAL FILTER INFO FORMAT E1) in each... (2 Replies)
Discussion started by: cmccabe
2 Replies
NEPOMUKSERVICESTU(8)						 KDE User's Manual					      NEPOMUKSERVICESTU(8)

NAME
nepomukservicestub - KDE wrapper around Nepomuk service plugins. SYNOPSIS
nepomukservicestub [--help] [Generic options] [Qt(TM)-options] [KDE-options] {servicename} DESCRIPTION
nepomukservicestub runs a Nepomuk service plugin in its own process. It is used by nepomukserver to run all configured Nepomuk services. GENERIC OPTIONS
--author Show author information. --help Show help about options. --help-all Show all options. --help-kde Show KDE specific options. --help-qt Show Qt(TM) specific options. --license Show license information. -v --version Show version information APPLICATION OPTIONS
servicename The name of the service plugin to run SEE ALSO
nepomukserver(8) BUGS
There are probably tons of bugs. Use bugs.kde.org[1] to report them. AUTHOR
Sebastian Trueg <trueg@kde.org> Author. NOTES
1. bugs.kde.org http://bugs.kde.org 0.01.01 2009-04-28 NEPOMUKSERVICESTU(8)
All times are GMT -4. The time now is 11:40 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy