8 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello everyone,
I have just started python, and there is something that escapes me. I don't understand why my little script doesn't work.
When I do, it work:
my_string = "bonjour"
if len(my_string) < "6":
print(my_string + " < 6")
else:
print(my_string + " > 6")
... (2 Replies)
Discussion started by: Arnaudh78
2 Replies
2. Shell Programming and Scripting
Hello geeks,
Am trying to write a custom plugin using python but it seems python is not handling the SSH part well, find below for the code:
#!/usr/bin/python
import os, sys
host = sys.argv
pdpactgsm=os.popen("ssh -l GbeAdi $host "pdc_kpi.pl" | grep -A 4 sgsn_g | awk 'NR == 5 ' |... (1 Reply)
Discussion started by: infinitydon
1 Replies
3. AIX
Hello,
I'm currently trying to port an ant based build to AIX 6.1. The build queries the underlying version control system (Mercurial) for some data, which works fine on other platforms (Linux, Solaris). However, on AIX the hg command fails to load python's md5 module when used in the build,... (1 Reply)
Discussion started by: dhs
1 Replies
4. Shell Programming and Scripting
I have a txt file of 8GB with same type of messages in it. for eg:
MTQ_BQUOTE, Length: 40, Timestamp: 4:00:52.064
MsgKey: symbol: XXX | reportingExchange: 11
Symbol: XXX, hash 004C5746
QS Symbol: XXX, market 1
Security Type: EQUAL (1)
Symbol Type: Equity.Share.Single.None
Session: XX_XXX (0)... (9 Replies)
Discussion started by: Vijeta Laad
9 Replies
5. Shell Programming and Scripting
I have part of the script below and I tried calling the script using
./tsimplex.py --fstmod=chris.cmod --nxz=8x6 --varp=0.25
but am getting the error
option --fstmod must not have an argument
Any idea on how to fix this would be highly appreciated
#! /usr/bin/python
import... (0 Replies)
Discussion started by: kristinu
0 Replies
6. UNIX for Dummies Questions & Answers
Okay so i have a script i wrote in python. I want to turn this script into an INSTALLED COMMAND to run in terminal.
Right now i run it like this in terminal...
$ python myscriptname.py
or
$ ./myscriptname.py
but i want to be able to run it like this in terminal...
$ myscriptname
... (3 Replies)
Discussion started by: cbreiny
3 Replies
7. Shell Programming and Scripting
There seems to be some problem with the grid geometry manager, or maybe its just my syntax thats incorrect. Im using Python 2.3.4. My problem is that even when I use the sticky='news' option in any grid method, it just doesnt work period. For example, the following code gives be a window with a... (0 Replies)
Discussion started by: SRCoder!
0 Replies
8. UNIX for Dummies Questions & Answers
It is not my experience but one of my friends. He did the following process:
After awhile he still could connect to the network, but once he rebooted his computer, the computer couldn't connect to the Internet anymore. And the physical address has become:
sometimes it was:
... (1 Reply)
Discussion started by: HOUSCOUS
1 Replies
yhsm-decrypt-aead(1) General Commands Manual yhsm-decrypt-aead(1)
NAME
yhsm-decrypt-aead - Decrypt AEADs (with secrets for YubiKeys)
SYNOPSIS
yhsm-decrypt-aead [options] --aes-key KEY file-or-dir [...]
DESCRIPTION
Decrypt AEADs generated using a YubiHSM. NOTE that this requires knowledge of the AES key used in the YubiHSM.
After a number of YubiKey secrets have been generated using yhsm-generate-keys(1) , this tool can decrypt them and produce a CSV file
usable to personalize corresponding YubiKeys.
OPTIONS
-v, --verbose
Enable verbose operation.
--debug
Enable debug printout.
--format str
Select output format (raw or yubikey-csv).
--print-filename
Prefix any output with the input filename.
--key-handle kh
Key handle used when generated AEADs, if not stored in the AEAD file (AEAD generated with python-pyhsm 1.0.3 or lower).
--aes-key hexstr
AES key used to generate the AEADs.
EXIT STATUS
0 OK
1 Fail
BUGS
Report python-pyhsm/yhsm-decrypt-aead bugs in the issue tracker <https://github.com/Yubico/python-pyhsm/issues/>
SEE ALSO
The python-pyhsm home page <https://github.com/Yubico/python-pyhsm/>
YubiHSMs and YubiKeys can be obtained from Yubico <http://www.yubico.com/>.
python-pyhsm June 2012 yhsm-decrypt-aead(1)