11-24-2017
Any attempts / ideas / thoughts from your side?
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
I have a data file that lists a number of files. I want to move the files named in that one to another directory. Here's what I have:
#!/usr/bin/perl -w
open(FILE, "<collision.txt");
my @lines=<FILE>;
foreach my $lines (@lines) {
system("mv $lines collisions/.");
}
close(FILE);
... (2 Replies)
Discussion started by: renthead720
2 Replies
2. Shell Programming and Scripting
Hi there,
I want to compare 2nd column which are alphanumeric values from each of the 2 files i.e.,lspv_pre.out and lspv_post.out , if found echo some message.
lspv_pre.out
hdisk0 00c39eaa451144dd rootvg active
hdisk1 00c39eaa45223322 ... (3 Replies)
Discussion started by: mbak
3 Replies
3. Shell Programming and Scripting
Have columns with digits and strings like:
input.txt
3840 3841 3842 Dav Thun Tax
Cahn 146; Dav.
3855 3853 3861 3862 Dav Thun Tax
2780 Karl VI.,
3873 3872 3872 Dav Thun Tax
3894 3893 3897 3899 Dav Thun Tax
403; Thun 282.
3958 3959 3960 Dav Thun Tax
3972 3972 3972 3975 Dav Thun Tax... (8 Replies)
Discussion started by: sdf
8 Replies
4. Shell Programming and Scripting
Hi
I am want to create a script where the file gets moved from the current folder to a folder transfer based on the oldest first. This script should run one file at a time using a loop. I want it as a loop because I want to do some processing while I have one file. Can anyone guide me on this? (2 Replies)
Discussion started by: chamajid
2 Replies
5. UNIX for Dummies Questions & Answers
Hi All,
I am coding for a requirement where I need to read a file & get the values of SUB_DATE. Once the dates are found, i need to move the files based on these dates from one directory to another.
ie, this is how it will be in the file,
SUB_DATE = 20120608,20120607,20120606,20120606... (5 Replies)
Discussion started by: dsfreddie
5 Replies
6. Shell Programming and Scripting
Hi,
In a error log file, the error code of a particular error contains both Alphabet and Numbers. My problem statement is to find the error codes from a particular log. That means, I need to search a word, which contains both alphabet and number. Please help me. Below is two examples of error... (1 Reply)
Discussion started by: snehasish_jana
1 Replies
7. Red Hat
Hello,
Please help me with this!! Thanks in advance!!
I have a file named file.gc with the content:
1-- Mon Sep 10 08:53:09 CDT 2012
2revoke connect from FR2261;
3delete from mkt_allow where grantee = 'FR2261';
4grant connect to FR2261 with '******';
5alter user FR2261 comment... (0 Replies)
Discussion started by: raosr020
0 Replies
8. Shell Programming and Scripting
Hi,
I have a directory having so many number of files. Now I want to move the files which are older than one month (lets say) from this directory to another directory (say BKP dir).
Simply, if file is olderthan one month move it from source1 dir to BKP1 dir.
My file names doesn't have... (7 Replies)
Discussion started by: karumudi7
7 Replies
9. Shell Programming and Scripting
Hi All,
I have multiple files in the folder, I want to move those files into the other folder on based of name
File names:
Template_server1_01==>
Template_server1_02==>To one directory /Server1
Template_server1_03==>
Template_server2_01==>
Template_server2_02==>To one... (9 Replies)
Discussion started by: sharsour
9 Replies
10. Shell Programming and Scripting
Hello,
I would like to know if it's a good practice to check the file permissions of the contents of a directory before moving them. For example:
mv -- "$directory"/* "$directory"/.* "$directory"/..?* "$destination"The variables $directory and $destination contain the path to an existing... (6 Replies)
Discussion started by: Cacializ
6 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)