9 More Discussions You Might Find Interesting
1. HP-UX
I require Hpux 11iv3 administration document if anyone could assist with the same it would be a great help. The Hp site does not have any consolidated document that could be referred to. I require something in line that could assist with network configuration and more. I require the same for Build... (3 Replies)
Discussion started by: kpatel786
3 Replies
2. Shell Programming and Scripting
Hi ,
My chunk of code is as follows:
create_db(){
isql -Usa -Paaa123 -S$DB_SERVER <<- BOF
sp_addlogin $Conf, aaa123
go
sp_addlogin mb, aaa123
go
create database $Conf on $DATA_DEVICE=800 log on $LOG_DEVICE=200
go
online database $Conf
BOF
isql -U$2 -Paaa123 -S$DB_SERVER -D$2... (5 Replies)
Discussion started by: sankasu
5 Replies
3. HP-UX
I'm sharing this in case anybody needs it. Modified from the original solaris pwage script. This modified hpux script will check /etc/password file on hpux trusted systems search /tcb and grep the required u_succhg field. Calculate days to expiry and notify users via email.
original solaris... (2 Replies)
Discussion started by: sparcguy
2 Replies
4. Shell Programming and Scripting
Can we use a here document inside a here document?
Something like this
ssh user@remotehost << REMOTE
sudo vserver vsernamename enter << VSERVER
perform actions on vserver.
VSERVER
REMOTE (6 Replies)
Discussion started by: mnanavati
6 Replies
5. Programming
sorry if i repost this...
hi.. i want to ask how to open pdf files using C in Linux
in Windows, i just use this code:
ShellExecute(GetDesktopWindow(), "open", "D:\\Folder\\File.pdf", NULL, NULL, SW_SHOWNORMAL);
thanks for advance... (3 Replies)
Discussion started by: sunardo
3 Replies
6. Shell Programming and Scripting
$ cat test
a b c d e
f g h i j
k l m n
FILE *p;
p = fopen("a.text","r")
int a;
while ( (a = fgetc(p)) != EOF ) {
printf ("current character is %c \n",a);
}
the code above only prints the first line of the file
a b c d e
i don't know why it doesn't go through the whole... (1 Reply)
Discussion started by: bonosungho
1 Replies
7. Shell Programming and Scripting
I am running HPUX and using WLM (workload manager). I want to write a script to fork CPUs to basically take CPUs from other servers to show that the communication is working and CPU licensing is working. Basically, I want to build a script that will use up CPU on a server. Any ideas? (2 Replies)
Discussion started by: cpolikowsky
2 Replies
8. UNIX for Dummies Questions & Answers
Hi All,
I'm really new to Unix scripts and commands but i think i'm eventually getting the hang of some of it.
I have a task which is to create some kind of script which compares the file names in a directory, with the associated file name in a .txt file. We send out some data and Unix has a... (1 Reply)
Discussion started by: gman
1 Replies
9. Programming
For a job I have to do, I have to design a .tga file reader, however I have had no prior experience in this area, so I was wondering what would be the best language to use to develop my .tga reader ?
many thanks (1 Reply)
Discussion started by: JamesGoh
1 Replies
SCRIPTOR(1p) SCRIPTOR(1p)
NAME
scriptor - Perl script to send commands to a smart card
SYNOPSIS
scriptor [-h] [-r reader] [-p protocol] [file]
DESCRIPTION
This manual page documents briefly the scriptor command.
scriptor is a program that sends commands to a smart card using a batch file or stdin.
OPTIONS
A description of options is included below.
-h Show summary of options.
-r reader
Use the indicated reader. By default the first PC/SC reader is used.
-p protocol
Use the indicated protocol. Accepted values are T=0 and T=1. By default T=0 is used.
file Use the file instead of stdin to read commands (APDUs)
The commands are of the form:
CLA INS P1 P2 Lc [data] [le]
reset
# comment
Example:
# reset the card
reset
# Select MF 3F00
A0 A4 00 00 02 3F 00
# Get Reponse
# 17 is the value of second SW from the previous command
A0 C0 00 00 17
# Select DF Telecom(7F10)
A0 A4 00 00 02 7F 10
# Get Response
A0 C0 00 00 17
# Select EF_ADN(6F3A) (Abbreviated Dialing Numbers)
A0 A4 00 00 02 6F 3A
# Get Reponse
A0 C0 00 00 0F
SEE ALSO
pcscd(8),gscriptor(1)
AUTHOR
This manual page was written by Ludovic Rousseau <rousseau@debian.org>, for the Debian GNU/Linux system (but may be used by others).
octobre 17, 2003 SCRIPTOR(1p)