but the code is not working since i am trying to use variable var dynamically in for loop by using $var$i when i incremented everytime the variable name is changed.... how to make this work... plz help me out here,,,,,
Hello All,
I have a .csv file and I have to delete the selcted records stored in a vairable
e.g
echo $lname
7 88 91 94 97 100 103 106
I dont know how to pass the variable name to "sed" for deleting the $lname from a file
can any one help as this is very urgent.
$lname is changing the... (3 Replies)
Hi
I have a file & always I need to remove or delete last 2 lines from that file. So in a file if I have 10 lines then it should return me first 8 lines.
Can someone help me? (4 Replies)
I have a file with 65 sets of 35 coordinates, and would like to isolate these coordinates so that I can easily copy the coordinates to another file. The problem is, I've got a 9 line header before each set of coordinates (so each set is 44 lines long). There are a zillion threads out there about... (3 Replies)
We have a server that logs transactions to a file. I want to write a script that will delete the first 50 lines of the file daily without renameing the file or moving the file. (8 Replies)
I have a text file with two coulmn
first column is just used in to show the line number, these line number are not there in the real file.
I want to delete the line 16(in this file) here, even tough there is no data inside it . this empty line is causing me a problem by throwing me garbage... (12 Replies)
i have something like this in a file called mysqldump.sql
--
-- Table structure for table `Table11`
--
DROP TABLE IF EXISTS `Table11`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `Table11` (
`id` int(11) NOT NULL... (14 Replies)
Hi all,
I have a file with some number of lines. I need to add certain number of lines from another file which may vary according to the user's input and to it.
eg
code:
I/P
file 1
apps/file/xyz
apps/file/abc
apps/file/def
file 2
progs/file/xyz
... (2 Replies)
Hi,
I have a file containing many records delimited by pipe (|).
Each record should contain 17 columnns/fields. there are some fields having fields less than 17.So i am extracting those records to a file using the below command
awk 'BEGIN {FS="|"} NF !=17 {print}' feedfile.txt... (8 Replies)
Discussion started by: TomG
8 Replies
LEARN ABOUT NETBSD
ipropd-master
IPROP(8) BSD System Manager's Manual IPROP(8)NAME
iprop, ipropd-master, ipropd-slave -- propagate changes to a Heimdal Kerberos master KDC to slave KDCs
SYNOPSIS
ipropd-master [-c string | --config-file=string] [-r string | --realm=string] [-k kspec | --keytab=kspec] [-d file | --database=file]
[--slave-stats-file=file] [--time-missing=time] [--time-gone=time] [--detach] [--version] [--help]
ipropd-slave [-c string | --config-file=string] [-r string | --realm=string] [-k kspec | --keytab=kspec] [--time-lost=time] [--detach]
[--version] [--help] master
DESCRIPTION
ipropd-master is used to propagate changes to a Heimdal Kerberos database from the master Kerberos server on which it runs to slave Kerberos
servers running ipropd-slave.
The slaves are specified by the contents of the slaves file in the KDC's database directory, e.g. /var/heimdal/slaves. This has principals
one per-line of the form
iprop/slave@REALM
where slave is the hostname of the slave server in the given REALM, e.g.
iprop/kerberos-1.example.com@EXAMPLE.COM
On a slave, the argument master specifies the hostname of the master server from which to receive updates.
In contrast to hprop(8), which sends the whole database to the slaves regularly, iprop normally sends only the changes as they happen on the
master. The master keeps track of all the changes by assigning a version number to every change to the database. The slaves know which was
the latest version they saw, and in this way it can be determined if they are in sync or not. A log of all the changes is kept on the mas-
ter. When a slave is at an older version than the oldest one in the log, the whole database has to be sent.
The changes are propagated over a secure channel (on port 2121 by default). This should normally be defined as ``iprop/tcp'' in
/etc/services or another source of the services database. The master and slaves must each have access to a keytab with keys for the iprop
service principal on the local host.
There is a keep-alive feature logged in the master's slave-stats file (e.g. /var/heimdal/slave-stats).
Supported options for ipropd-master:
-c string, --config-file=string
-r string, --realm=string
-k kspec, --keytab=kspec
keytab to get authentication from
-d file, --database=file
Database (default per KDC)
--slave-stats-file=file
file for slave status information
--time-missing=time
time before slave is polled for presence (default 2 min)
--time-gone=time
time of inactivity after which a slave is considered gone (default 5 min)
--detach
detach from console
--version
--help
Supported options for ipropd-slave:
-c string, --config-file=string
-r string, --realm=string
-k kspec, --keytab=kspec
keytab to get authentication from
--time-lost=time
time before server is considered lost (default 5 min)
--detach
detach from console
--version
--help
Time arguments for the relevant options above may be specified in forms like 5 min, 300 s, or simply a number of seconds.
FILES
slaves, slave-stats in the database directory.
SEE ALSO krb5.conf(5), hprop(8), hpropd(8), iprop-log(8), kdc(8).
BSD May 24, 2005 BSD