07-20-2019
Any attempts / ideas / thoughts from your side?
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi Folks,
I have a file with all fields defined by byte position, but any field can be empty so I cannot print lines based on a search of specific columns. I need to print all lines of this file where the string of two characters at byte position 100-101 contains the number 27. Any ideas?
... (4 Replies)
Discussion started by: HealthyGuy
4 Replies
2. Shell Programming and Scripting
I have two files abc.dat and sant.dat (Big file 60k rows)
for every line's 1,4 of abc.dat need to seach if this is present on 28,4 of sant.dat every line.
if its present the output needs to go to bde.dat
Example:
contents abc.dat
aaaa
bbbb
cccc
dddd
contents sant.dat
this is... (4 Replies)
Discussion started by: ssantoshss
4 Replies
3. Shell Programming and Scripting
Hi,
I have list of directory paths in a variable and i want to delete those dirs and if dir does not exist then search that string and get the correct path from xml file after that delete the correct directory. i tried to use grep and it prints the entire line from the search.once i get the entire... (7 Replies)
Discussion started by: dragon.1431
7 Replies
4. Shell Programming and Scripting
Hi,
Our input xml looks like:
<doc>
<str name="account_id">1111</str>
<str name="prd_id">DHEP155EK</str>
</doc>
- <doc>
<str name="account_id">6666</str>
<str name="prd_id">394531662</str>
</doc>
- <doc>
<str name="account_id">6666</str>
<str... (1 Reply)
Discussion started by: Jassz
1 Replies
5. Shell Programming and Scripting
Hi all,
I have 2 files, One file contain data like this
FHIT
CS
CHRM1
PDE3A
PDE3B
HSP90AA1
PTK2
HTR1A
ESR1
PARP1
PLA2G1B
These names are mentioned in the second file(Please see attached second file) as
# Drug_Target_X_Gene_Name:(Where X can be any number (1-1000) (1 Reply)
Discussion started by: manigrover
1 Replies
6. Shell Programming and Scripting
Hi all,
I have 2 files, One file contain data like this
FHIT
CS
CHRM1
PDE3A
PDE3B
HSP90AA1
PTK2
HTR1A
ESR1
PARP1
PLA2G1B
These names are mentioned in the second file(Please see attached second file) as (7 Replies)
Discussion started by: manigrover
7 Replies
7. UNIX for Dummies Questions & Answers
Hi,
I have log file which rolls out every second which is as this.
HttpGenRequest - -<!--OXi dbPublish--> <created="2014-03-24 23:45:37" lastMsgId="" requestTime="0.0333"> <response request="getOutcomeDetails" code="114" message="Request found no matching data" debug="" provider="undefined"/>... (3 Replies)
Discussion started by: karthikprakash
3 Replies
8. Shell Programming and Scripting
Hi,
I have a sample file as shown below, I am looking for sed or any command which prints the complete word only from the input file.
Ex:
$ cat "sample.log"
I am searching for a word which is present in this file
We can do a pattern search using grep but I need to cut only the word which... (1 Reply)
Discussion started by: mohan_kumarcs
1 Replies
9. UNIX for Beginners Questions & Answers
Hy there all. Im new here. Olso new to terminal & bash, but it seams that for me it's much easyer to undarsatnd scripts than an actual programming language as c or anyother languare for that matter.
S-o here is one og my home works s-o to speak.
Write a shell script which:
-only works as a... (1 Reply)
Discussion started by: Crisso2Face
1 Replies
10. Shell Programming and Scripting
Take example of below file.
abc.txt
nas1:/abc/test/test1 /test
nas1:/abc/test/test1/test2 /test/abc
nas1:/abc/test/
Now i have a variable that contains "nas1:/abc/test/test1" value , so i need to search the above file for this variable and print only this line.
... (14 Replies)
Discussion started by: mohit_vardhani
14 Replies
LEARN ABOUT DEBIAN
eurephiadm-attempts
eurephiadm attempts(7) eurephiadm attempts(7)
NAME
eurephiadm-attempts - Manage the attempts log in eurephia
DESCRIPTION
When a remote user fails to authenticate correctly, the attemp will be logged. After a certain amount of attempts the IP address, certifi-
cate and/or user account will be blocked. The eurephiadm attempts command is used to get an overview over what is registered as failed
attempts and to give the possibility to reset or delete the registered attempts counter.
Available modes for the attempts command are:
-D | --delete
Delete a registered login attempt
-R | --reset
Reset a registered login attempt
-l | --list
List all registered login attempts
-h | --help <mode>
Show help
DELETE MODE
The attempts delete mode will remove a record from the attempts log.
One of the following parameters must be given (only one):
-u | --username <username>
User name to delete
-d | --digest <SHA1 digest>
Certificate SHA1 digest to delete
-i | --ipaddr <IP address>
IP address to delete
-a | --attemptid <ID>
Attempts record ID to delete
RESET MODE
The attempts reset mode will reset the attempt counter.
One of the following parameters must be given (only one):
-u | --username <username>
User name to reset
-d | --digest <SHA1 digest>
Certificate SHA1 digest to reset
-i | --ipaddr <IP address>
IP address to reset
-a | --attemptid <ID>
Attempts record ID to reset
LIST MODE
The attempts list mode will show all registered login attempts.
-v | --verbose
Show more details
Filters:
-u | --username <username>
List only attempts matching the given user name
-d | --digest <SHA1 digest>
List only attempts matching the given SHA1 certificate digest
-i | --ipaddr <IP address>
List only attempts matching the given IP address
SEE ALSO
eurephiadm-blacklist(7), eurephia-config(7)
AUTHOR
Copyright (C) 2008-2010 David Sommerseth <dazo@users.sourceforge.net>
David Sommerseth July 2010 eurephiadm attempts(7)