Hi,
I have a 1-line file which looks like " First second third 4 five". I need to extract the number (here 4) in that line and put it in a variable. I will use the variable later to make few tests in my C shell script.
Can somebody help me? (2 Replies)
Solaris 10
Korn shell ksh,
Hi there,
I have figured out to get yesterday's date which is using the below command:
TZ=GMT+24; date +%d-%b-%Y to get the format of 30-Sep-2008 and
TZ=GMT+24; date +%Y%m%d to get the format of 20080930.
I need this two format. In my perl script below I need... (4 Replies)
Hi all,
I am new to shell scripting.
I have dbf file and I need to convert it into csv file.
OR, can i read the fields from a .dbf file and OR seprate the records in dbf file and put into .csv or txt.
Actually in the .dbf files I am getting , the numbers of fields may vary in very record and... (6 Replies)
Hi all,
I want write a csh script which must be able:
1.read a file
2.assign value in file as variable
and can i use read in csh script?
thx (2 Replies)
I need to read a text file that contain columns of data, i need to read 1st column as a function to call, and others are the data i need to get into a ksh script.
I am quite new to ksh scripting, i am not very sure how to read each row line by line and the data in each columns of that line, set... (3 Replies)
hi all,
i have to read a file using shell script for example my csv file is
like this
Tid Inputfille Inputfilepath
1 ABC_20141218.idr /export/home/him60t1/input
2 ABC_20141219.idr /export/home/him60t1/input1
what i have to do is if on my command line i... (1 Reply)
hi,
i have a text file which conatins some fields delimited by space. some fields contains * as entries.
cron_file.txt
0 * * * *
0 3 * * *
i want to read each line 1 by 1 and store each field in seperate variables n a shell script.
i am unable to read the field that contains a *. how... (3 Replies)
Hello,
I have a simple script that runs an application,
# these arguments have the same value for all splits
ARCH=12.11.1
BATCHES=50
EPOCHS=5000
LEARN_MODE=ONLINE
LEARN_RATE=0.25
PROJ=02_BT_12.11.1.proj
echo "processing split A on hex"
cd A/
DATA_SET=S2A_v1_12.1.1_1... (4 Replies)
eurephiadm blacklist(7) eurephiadm blacklist(7)NAME
eurephiadm-blacklist - Manage the eurephia blacklist
DESCRIPTION
After a configured amount of failed attempts, IP addresses, certificates and/or user names will get blacklisted. The eurephiadm blacklist
command can be used to delete blacklist entries, or even explicitly add new blacklist entries manually.
Available modes for the blacklist command are:
-l | --list
List all entries on the blacklist
-A | --add
Add an entry to the blacklist
-D | --delete
Delete an entry from the blacklist
-h | --help [<mode>]
Show help
LIST MODE
The blacklist list mode will show registered entries in the blacklist.
-v | --verbose
Show more details
Filters:
-u | --username <username>
User name
-d | --digest <SHA1 digest>
Certificate SHA1 digest
-i | --ipaddr <ip address>
IP address
ADD MODE
The blacklist add mode will register a new entry to be blacklisted.
One of the following parameters must be given (only one):
-u | --username <username>
User name
-d | --digest <SHA1 digest>
Certificate SHA1 digest
-i | --ipaddr <ip address>
IP address
DELETE MODE
The blacklist delete mode will remove a blacklisted entry.
One of the following parameters must be given (only one):
-u | --username <username>
User name
-d | --digest <SHA1 digest>
Certificate SHA1 digest
-i | --ipaddr <ip address>
IP address
-b | --blid <ID>
Blacklist record ID
SEE ALSO eurephiadm-attempts(7), eurephia-config(7)AUTHOR
Copyright (C) 2008-2010 David Sommerseth <dazo@users.sourceforge.net>
David Sommerseth July 2010 eurephiadm blacklist(7)