Hi all
I need to input values in a .csv file into my Oracle table running in Unix, I wonder what would be the command to do so...
The values are recorded in an excel file and I tried using a formatted text file to do so but failed because one of the field is simply too large to fit in the... (5 Replies)
Hi all
I need to input values in a .csv file into my Oracle table running in Unix, I wonder what would be the command to do so...
The values are recorded in an excel file and I tried using a formatted text file to do so but failed because one of the field is simply too large to fit in the... (4 Replies)
I have file like this
FileA:
abc , "helloworld" , america
def,asia, japan
ghi, africa, ipl
Output Needed:
abc,"helloworld",america
def,asia,japan
ghi,africa,ipl
I would like to implement using awk.
I want to trim each field for its leading and trailing spaces. (7 Replies)
I have a file like below. How can I add a new value after moss separated by a comma. This adding script should work in such a way that each time i pass a value it should be added one after the other separated by commas.
hru:122:
hello:123:john,philip,mary,kp,moss
hi:124:
bye:125:
Can... (7 Replies)
Using awk or sed, I'd like to remove leading spaces after a comma and before a right justified number in field 6. Sounds simple but I can't find a solution. Each field's formatting must stay intact.
Input:
40,123456-02,160,05/24/2012,02/13/1977, 10699.15,0
Output:... (5 Replies)
I have a file with the below content
a = test1
b = test2
a = test3
b= test4
c = test6
b = test5
d = test7
d = test9
Need the output to be as follows
a = test1,test3
b = test2, test5
c = test6
d = test7, test9 (4 Replies)
Hi Experts
I have an escape seperated fields in the unix file. And in the below format file I need to extract the first column. Please help its urgent.
cat -v op.dat | head
24397028^
I want to extract the file in below format ( with only first column )
24397028
2439707
thanks.
... (6 Replies)
Discussion started by: neha_suri06
6 Replies
LEARN ABOUT CENTOS
kas_stringtokey
KAS_STRINGTOKEY(8) AFS Command Reference KAS_STRINGTOKEY(8)NAME
kas_stringtokey - Converts a character string into an octal key
SYNOPSIS
kas stringtokey -string <password string>
[-cell <cell name>] [-help]
kas str -s <password string> [-c <cell name>] [-h]
DESCRIPTION
The kas stringtokey command converts the character string specified with the -string argument into an octal string suitable for use as an
encryption key.
The kas command interpreter generates the octal key by using an encryption algorithm on the combination of the specified string and the
name of the local cell (as recorded in the local /etc/openafs/ThisCell file). Use the -cell argument to convert a string into a key
appropriate for a cell other than the local one.
CAUTIONS
This command writes the key to the standard output stream, on which it can possibly be intercepted by third parties. It is not very secure
to use the key in an actual Authentication Database entry.
OPTIONS -string <password string>
Specifies the character string to convert into an octal key.
-cell <cell name>
Specifies the complete Internet domain name of the cell to combine with the password string while generating the key. If this argument
is omitted, the kas command interpreter determines the name of the local cell by consulting:
o First, the value of the environment variable AFSCELL.
o Second, the cellname in the /etc/openafs/ThisCell file on the local machine.
-help
Prints the online help for this command. All other valid options are ignored.
OUTPUT
The output is of the following form:
Converting I<password string> in realm 'I<cell_name>' yields key='I<key>'.
EXAMPLES
The following example shows the octal key equivalent of the string "new_pswd" in the ABC Corporation cell.
% kas stringtokey new_pswd
Converting new_pswd in realm 'ABC.COM' yields
key='346307364320263233342354'.
PRIVILEGE REQUIRED
None, and no password is required.
SEE ALSO ThisCell(5), kas(8)COPYRIGHT
IBM Corporation 2000. <http://www.ibm.com/> All Rights Reserved.
This documentation is covered by the IBM Public License Version 1.0. It was converted from HTML to POD by software written by Chas
Williams and Russ Allbery, based on work by Alf Wachsmann and Elizabeth Cassell.
OpenAFS 2012-03-26 KAS_STRINGTOKEY(8)