06-09-2016
Obviously your (late) update crossed my post referring to your former post.
10 More Discussions You Might Find Interesting
1. Programming
Hi,
I'm a UNIX newbie .. so forgive me if this question sounds dumb.
:)
Is it possible for Unix to notify a process that a particular directory has been updated? Rather that the process constantly polling the directory ...
Awaiting your replies ..
Thanks,
VJ (6 Replies)
Discussion started by: vjsony
6 Replies
2. Linux
Hi All,
I already have gcc complier installed in my machine.
Its version is : gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5)
I am not sure whethere it's is latest gcc version available. I want to update my gcc version. Can anyone please suggest me what is the latest and stable gcc... (1 Reply)
Discussion started by: bisla.yogender
1 Replies
3. Shell Programming and Scripting
I have a file (key.dat) that contains two columns:
AA|1234|
BB|567|
CC|8910|
I have another file (extract.dat) that contains some data:
SD|458|John|Smith|
AA|3345|Frank|Williams|
AA|1234|Bill|Garner|
BD|0098|Yu|Lin|
BB|567|Gail|Hansen|
CC|8910|Ken|Nielsen|
I want to compare the... (5 Replies)
Discussion started by: ChicagoBlues
5 Replies
4. Shell Programming and Scripting
nawk -F, 'FNR==NR{a= $3 ;next} $2 in a{print $1, 'Person',$2, a}' OFS=, filea fileb
Input filea
Input fileb
output i am getting : (2 Replies)
Discussion started by: pinnacle
2 Replies
5. AIX
Hi,
We have recently implemented 'quota' concept for the unix users.
softlimit - 230MB
hardlimit - 250MB
We have applied the quota when few of users are more than the hardlimit,issue is that even though the users cleared the space, still its 'quota' was not updating properly.
For some... (0 Replies)
Discussion started by: girish_satyam
0 Replies
6. Shell Programming and Scripting
Hi All,
Can anyone help to write the script to check files updation?
i have files as mentioned below. which will be updated some time.
i just want to check the last file is updating the data for last 15 mins or not.
if its not updating i want to print NOT OK. if its updating data i want... (1 Reply)
Discussion started by: steve2216
1 Replies
7. Shell Programming and Scripting
Hello All,
I need to update my .cfg file which is used in the script for almost all runs.
myfile.cfg file:
var=1
var1=1
run=0
script:
#! /bin/sh
. /mydir/myfile.cfg
echo $var"\t" $var1
exit
So, the requirement is that the myfile.cfg should update every time I run the... (10 Replies)
Discussion started by: PikK45
10 Replies
8. Shell Programming and Scripting
Hi All,
I have a requirement where i need to check if an rsa public key corresponds to a private key and hence return success or failure. Currently i am using the command
diff <( ssh-keygen -y -e -f "$PRIVKEY" ) <( ssh-keygen -y -e -f "$PUBLICKEY" )
and its solving my purpose. This is in... (1 Reply)
Discussion started by: mritusmoi
1 Replies
9. UNIX for Dummies Questions & Answers
I am looking to move matching lines (01 - 07) from File1 and 77 tab the matching string from File2, to File3.txt. I am almost done but
- Currently, script is not printing lines to File3.txt in order.
Thanks a lot.
Any help is appreciated.
Script I am using:
awk 'FNR == NR && ! /^]*$/ {... (9 Replies)
Discussion started by: High-T
9 Replies
10. UNIX for Beginners Questions & Answers
Hi all
I have two files I need to match record from first file and second file on column 1,8 and and output only match records on file1
File1:
020059801803180116130926800002090000800231000245204003160000000002000461OUNCE000000350000100152500BM01007W0000 ... (5 Replies)
Discussion started by: arunkumar_mca
5 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)