hi, i have a text file wich contains following informations:
1 Record 90 in base GUJA_2008 (Created: 2008-01-14 19:00:38, Modified: 2008-01-15 18:54:33)
1 YADM_20080101_A91645666_A91645666
4 2008/01/15/ADM.ADM/20080101.ADM.ADM.A91645666G001.jff
1 Record 91 in base GUJA_2008 (Created:... (3 Replies)
I have a huge file and every paragraph has a date. But I want to retrieve the paras for the last two days only. So I can grep and findout the linenum for the first line since yesterday. Now I want to display everything after that line. And I am trying to do this inside a script so the linenum is a... (4 Replies)
I have a file that does not have much formatting. I would like every time it finds a tag (something that starts with < and end with > like <Tag1> ) to be at the beginning of the line and joined with the next line. I tried sed with append and can not get it right and also hold and get in sed... (4 Replies)
Hi all,
I'm looking for some help. I have a file (very long) that is organized like below:
>Cluster 0
0 283nt, >01_FRYJ6ZM12HMXZS... at +/99%
1 279nt, >01_FRYJ6ZM12HN12A... at +/99%
2 281nt, >01_FRYJ6ZM12HM4TS... at +/99%
3 283nt, >01_FRYJ6ZM12HM946... at +/99%
4 279nt,... (4 Replies)
Hi,
I am trying to locate the occurences of certain pattern like 'Possible network disconnect' in a text file. I can get the actual lines matching the pttern using:
grep -w 'Possible network disconnect' file_name.
But I am more interested in getting the timing of these events which are... (7 Replies)
Hi all I am trying to process some data sample input is like this
VARIABLE : T
axis TDAY
TIME : 02-FEB-2004 17:54
19755.
VARIABLE : quality flag
FILENAME : 1900054_prof.nc
Z : 41
... (3 Replies)
'Hi
I'm using the following code to extract the lines(and redirect them to a txt file) after the pattern match. But the output is inclusive of the line with pattern match.
Which option is to be used to exclude the line containing the pattern?
sed -n '/Conn.*User/,$p' > consumers.txt (11 Replies)
Hi - I have req to join broken lines and remove empty lines but should NOT be in one line. It has to be as is line by line. The challenge here is there is no end of line/start of line char.
thanks in advance
Source:-
2003-04-34024|04-10-2003|Claims|Claim|01-13-2003|Air Bag:Driver;... (7 Replies)
Hi all!
Thanks for taking the time to view this!
I want to grep out all lines of a file that starts with pattern 1 but also does not match with the second pattern.
Example:
Drink a soda
Eat a banana
Eat multiple bananas
Drink an apple juice
Eat an apple
Eat multiple apples
I... (8 Replies)
Discussion started by: demmel
8 Replies
LEARN ABOUT DEBIAN
k5identity
.K5LOGIN(5) File Formats Manual .K5LOGIN(5)NAME
.k5identity - Kerberos V5 client principal selection rules
DESCRIPTION
The .k5identity file, which resides in a user's home directory, contains a list of rules for selecting a client principals based on the
server being accessed. These rules are used to choose a credential cache within the cache collection when possible.
Blank lines and lines beginning with '#' are ignored. Each line has the form:
principal field=value ...
If the server principal meets all of the field constraints, then principal is chosen as the client principal. The following fields are
recognized:
realm If the realm of the server principal is known, it is matched against value, which may be a pattern using shell wildcards. For host-
based server principals, the realm will generally only be known if there is a domain_realm section in krb5.conf with a mapping for
the hostname.
service
If the server principal is a host-based principal, its service component is matched against value, which may be a pattern using
shell wildcards.
host If the server principal is a host-based principal, its hostname component is converted to lower case and matched against value,
which may be a pattern using shell wildcards.
If the server principal matches the constraints of multiple lines in the .k5identity file, the principal from the first matching line is
used. If no line matches, credentials will be selected some other way, such as the realm heuristic or the current primary cache.
EXAMPLE
The following example .k5identity file selects the client principal alice@KRBTEST.COM if the server principal is within that realm, the
principal alice/root@EXAMPLE.COM if the server host is within a servers subdomain, and the principal alice/mail@EXAMPLE.COM when accessing
the IMAP service on mail.example.com.
alice@KRBTEST.COM realm=KRBTEST.COM
alice/root@EXAMPLE.COM host=*.servers.example.com
alice/mail@EXAMPLE.COM host=mail.example.com service=imap
SEE ALSO kerberos(1), krb5.conf(5)
.K5LOGIN(5)