I need to capture a file's creation/modification date and time and convert this to a different format, whilst I can easily get the existing format from a ls -l | awk ' { print $......}' or a cut command I do not know how to convert it to a desired format?
I should add that at present the ls -l... (1 Reply)
Hello,
For 2 days now i've been searching for a solution to this. I am now beginning to doubt this is even possible. It's even harder when you don't know how to search for it. (which keywords generate enough relevancy etc..)
I need to parse a config file to generate a CSV file in return.
It... (7 Replies)
Does anyone knows how to decode the address in interface file using shell , i have done it using perl but can it be done in shell.
master tli tcp /dev/tcp \x00021004ac1414230000000000000000
query tli tcp /dev/tcp \x00021004ac1414230000000000000000 (0 Replies)
Hi,
I have a file in my desktop which is a unicode format. After this file is transferred to Unix using FTP, we are seeing some special character (like rectangle box type) at the first line. The same file is saved as UTF8 (using textpad tool, selecting encode to UTF-8 option) on my desktopand... (7 Replies)
In Unix/Ksh, when I try to look inside a file it says that the file may be a binary file and if I want to see it anyway. When i say 'yes', it shows me the content filled with unreadable symbols (looks like binary). Is there a command that I can run from the Unix prompt to convert/translate that... (3 Replies)
Hi,
I am having couple of files which i used to copy from windows to Linux, so now in case of text files (CTRL^M) appears at end of line. I know i can convert this windows format file to unix format file by running dos2unix.
My requirement here is that i want to do it automatically using a... (5 Replies)
Hi All,
I am new to this forum, could any one help me out in resolving the below issue.
Input of the flat file contains several lines of text for example find below:
5022090,2,4,7154,88,,,,,4/1/2011 0:00,Z,L,2
5022090,3,1,6648,88,,,,,4/1/2011 0:00,Z,,1... (0 Replies)
Hi ,
I need a help in following scenario.I tried searching in google but couldn't able to find the exact answer. Sorry if i am re-posting already answered query.
While i am trying to convert into log file into csv i couldn't able to get the format which i am looking for.
I converted file... (4 Replies)
Hi All,
I need help in converting the mentioned file format into desired output format using awk. Could anyone help me in this?
Below is the input..
Date Account Campaign AdGroup Keyword Conversion Revenue Var1 Var2 Var3 Var4 Var5 10 20 30 ... (8 Replies)
My file format:
--------------------------------------------------
Complete Consistency Check
Valid Area : VALID:VALID
Started by : esanwad
Started at : Thu Dec 11 16:04:46 2014
CNA version : R21H04_EC08
Check range : AREA VALID/VALID
... (4 Replies)
Discussion started by: Gautam Banerjee
4 Replies
LEARN ABOUT DEBIAN
pkcs15-tool
PKCS15-TOOL(1) OpenSC tools PKCS15-TOOL(1)NAME
pkcs15-tool - utility for manipulating PKCS #15 data structures on smart cards and similar security tokens
SYNOPSIS
pkcs15-tool [OPTIONS]
DESCRIPTION
The pkcs15-tool utility is used to manipulate the PKCS #15 data structures on smart cards and similar security tokens. Users can list and
read PINs, keys and certificates stored on the token. User PIN authentication is performed for those operations that require it.
OPTIONS --learn-card, -L
Cache PKCS #15 token data to the local filesystem. Subsequent operations are performed on the cached data where possible. If the cache
becomes out-of-sync with the token state (eg. new key is generated and stored on the token), the cache should be updated or operations
may show stale results.
--list-applications
List the on-card PKCS#15 applications
--read-certificate cert, -r cert
Reads the certificate with the given id.
--list-certificates, -c
Lists all certificates stored on the token.
--read-data-object cert, -R data
Reads data object with OID, applicationName or label.
--verify-pin
Verify PIN after card binding and before issuing any command (without 'auth-id' the first non-SO, non-Unblock PIN will be verified)
--list-data-objects, -C
Lists all data objects stored on the token. For some cards the PKCS#15 attributes of the private data objects are protected for reading
and need the authentication with the User PIN. In such a case the --verify-pin option has to be used.
--list-pins
Lists all PINs stored on the token. General information about each PIN is listed (eg. PIN name). Actual PIN values are not shown.
--dump, -D
Dump card objects.
--change-pin
Changes a PIN or PUK stored on the token. User authentication is required for this operation.
--unblock-pin, -u
Unblocks a PIN stored on the token. Knowledge of the Pin Unblock Key (PUK) is required for this operation.
--list-keys, -k
Lists all private keys stored on the token. General information about each private key is listed (eg. key name, id and algorithm).
Actual private key values are not displayed. For some cards the PKCS#15 attributes of the private keys are protected for reading and
need the authentication with the User PIN. In such a case the --verify-pin option has to be used.
--list-public-keys
Lists all public keys stored on the token, including key name, id, algorithm and length information.
--read-public-key id
Reads the public key with id id, allowing the user to extract and store or use the public key.
--read-ssh-key id
Reads the public key with id id, writing the output in format suitable for $HOME/.ssh/authorized_keys.
--output filename, -o filename
Specifies where key output should be written. If filename already exists, it will be overwritten. If this option is not given, keys
will be printed to standard output.
--no-cache
Disables token data caching.
--auth-id pin, -a pin
Specifies the auth id of the PIN to use for the operation. This is useful with the --change-pin operation.
--aid aid
Specify in a hexadecimal form the AID of the on-card PKCS#15 application to be binded to.
--reader num
Forces pkcs15-tool to use reader number num for operations. The default is to use reader number 0, the first reader in the system.
--verbose, -v
Causes pkcs15-tool to be more verbose. Specify this flag several times to enable debug output in the OpenSC library.
SEE ALSO pkcs15-init(1), pkcs15-crypt(1)opensc 06/03/2012 PKCS15-TOOL(1)