10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
I have a scenario where I need suggestion
I am creating a file watcher job on autosys and and command job to do a SCP a file from one server to another. My file watcher will get success once the file get receive. The file I am receiving a zip file. THe command job which I am... (4 Replies)
Discussion started by: arunkumar_mca
2. UNIX for Dummies Questions & Answers
While transferring file from FTP software like Filezilla the files gets corrupted.
Is there any way I can check if the recently transferred file is in ASCII and not corrupted. I have tried using file -i filename command which does tell if the file character set is ASCII or binary... (6 Replies)
Discussion started by: Khan28
3. Shell Programming and Scripting
hi All, Any one answer my requirement.
I have source location
My Target location
my source text files check with below example.text file content
$fn "\t" $dc "\t" $pc "\t" ... (3 Replies)
Discussion started by: sravanreddy
4. Shell Programming and Scripting
I've the following code to log the errors any after the command is executed.
# Ksh 88 Version
rm $del_path/* >> $log_path 2>&1
But I even want to log if the rm command is success without any error along with... (1 Reply)
Discussion started by: smile689
5. Shell Programming and Scripting
I am using ndmcli to send files from one solaris server to another one.
I use the below one in script and verify the status.
select stat det=yes pnum="$PNUM"
Is there any option to automate in script in verifying destination size with source after doing NDM? :mad: (10 Replies)
Discussion started by: gthangav
6. UNIX for Dummies Questions & Answers
I have try to ndm to one server to another server. but i am getting this error. what is this error? are files not in source folder?
Source file open failed. Error= 2
Balamurgan (1 Reply)
Discussion started by: krbala1985
7. UNIX for Advanced & Expert Users
I have configured NDM (Connect: Direct) to copy a bunch of files from one server to another. I create a master file contains the list of files which need to copied, and my shell script read the file and send the file one by one thru NDM. The problem is, since the files are very big in size... (0 Replies)
Discussion started by: r_sethu
8. Shell Programming and Scripting
Network data mover is a secure mechanism to transfer data .
can any body guide me out ....
how it is done (1 Reply)
Discussion started by: anumkoshy
9. Shell Programming and Scripting
I want to put a exit if there is no file found.
In the directory I can have multiple txt files with EPISGCHGS as prefix or maynot have one.
When I am trying the following it is erroring if there is no text file with the EPISGCHGS as prefix.
for file in EPISGCHGS*.txt
cat $file >... (2 Replies)
Discussion started by: apps_user
10. UNIX for Dummies Questions & Answers
What is the command, which takes cursor to the end of file which is opened within vi editor? (4 Replies)
Discussion started by: videsh77
KEYCTL_SET_REQKEY_KEYRING(3) Linux Key Management Calls KEYCTL_SET_REQKEY_KEYRING(3)
keyctl_set_reqkey_keyring - Set the implicit destination keyring
long keyctl_set_reqkey_keyring(int reqkey_defl);
keyctl_set_reqkey_keyring() sets the default destination for implicit key requests for the current thread and returns the old setting.
After this operation has been issued, keys acquired by implicit key requests, such as might be performed by open() on an AFS or NFS
filesystem, will be linked by default to the specified keyring by this function.
The valid values of reqkey_defl are:
This makes no change to the current setting.
This makes the thread-specific keyring the default destination.
This makes the process-specific keyring the default destination.
This makes the session keyring the default destination.
This makes the UID-specific keyring the default destination.
This makes the UID-specific session keyring the default destination.
This selects the default behaviour which is to use the thread-specific keyring if there is one, otherwise the process-specific
keyring if there is one, otherwise the session keyring if there is one, otherwise the UID-specific session keyring.
This setting is inherited across fork() and exec().
On success keyctl_set_reqkey_keyring() returns 0. On error, the value -1 will be returned and errno will have been set to an appropriate
EINVAL The value of reqkey_defl is invalid.
This is a library function that can be found in libkeyutils. When linking, -lkeyutils should be specified to the linker.
Linux 4 May 2006 KEYCTL_SET_REQKEY_KEYRING(3)