06-20-2011
cheers mate
10 More Discussions You Might Find Interesting
1. Programming
All right. Heres the deal, I need to know everysingle command or funtion there is to create a new c file (file.c). Heres the catch: I cannot use text editors!!!:mad:
I heard of a "gcc" command is that any good?:confused:
Thanks..:cool: (2 Replies)
Discussion started by: AbRa-KaDabRa
2 Replies
2. UNIX for Dummies Questions & Answers
I am trying to create a application in OSX through UNIX that will run a script to mount an image from a CD-ROM and run the application which it corresponds to, all with double clicking on a icon in OSX. Any thoughts or ideas?
-Mad (3 Replies)
Discussion started by: madknowledge
3 Replies
3. Shell Programming and Scripting
I need to automate the following process:
I have a list of ip address for printers in a file called iplist.txt, I need to take that list and run the command
snmpget -v 1 -c public ip address sysName.0
for each ip address to see if the printer is running snmp, I want to the create a file... (4 Replies)
Discussion started by: inLine6
4 Replies
4. Shell Programming and Scripting
Hi,
I need help urgently for following issue. Pls help me to resolve this issue.
I am calling sql script file(file1.sql) from UNIX Shell Script(script1.ksh) using sql plus and trying to create flat file that contains all records returned from SQL query in SQL script(file1.sql)
I given... (6 Replies)
Discussion started by: praka
6 Replies
5. Shell Programming and Scripting
Hi,
Can someone help me with creating a bash shell script.
I need to create a script that gets a positive number n as an argument.
The script must create n directories in the current directory with names like map_1, map_2 etcetera. Each directory must be contained within its predecessor. So... (7 Replies)
Discussion started by: I-1
7 Replies
6. Programming
Hi everyone
I’m not a programmer and my knowledge of scripting is very poor, now I’m stock in a task at work and would really appreciate it if someone could help me out.
Here is the problem:
1. I have a file with 9 million entries that look like this :
611424167
610864581
611881523
609585386... (3 Replies)
Discussion started by: hiker1064
3 Replies
7. Shell Programming and Scripting
Hi all
i am struggling in creating a restore of env files while doing applications clone.
the first file i created for copying the important configurations file
which is running perfect
now for reverting the changes i mean when i am restoring these files to its original places
i have to do... (7 Replies)
Discussion started by: javeedkaleem
7 Replies
8. Shell Programming and Scripting
Hi all,
I have a PLSQL script which has a IN list where it takes some ids as input. For example
SELECT * FROM EMPLOYEE WHERE EMPLOYEE_ID IN (comma separated list )
I want to run this quest inside a shell script but I would like to prepare the IN list dynamically where the employee ids... (1 Reply)
Discussion started by: LoneRanger
1 Replies
9. Shell Programming and Scripting
Hi everyone,
I am completely new to this forum and I have some questions regarding a script I am writing. I would be happy if anyone could help me with the small and precise script which should include if, then, else, while until, case and select.
The scenario is as follows:
1) A user... (3 Replies)
Discussion started by: codenotfound
3 Replies
10. UNIX for Advanced & Expert Users
Hi,
I have created customized scripts to start httpd and postgres (For CentOS 6) in /etc/init.d. However for it to work even after reboot, I have to put the script in /etc/rc.d/rc0.d, rc1.d, etc.
# ls -lrt
total 60
-rwxr-xr-x 1 root root 20199 Oct 4 2017 rc.sysinit
-rwxr-xr-x 1... (6 Replies)
Discussion started by: anaigini45
6 Replies
LEARN ABOUT LINUX
ldap_parse_vlv_control
LDAP_PARSE_VLV_CONTROL(3) Library Functions Manual LDAP_PARSE_VLV_CONTROL(3)
NAME
ldap_parse_vlv_control - Decode the information returned from a search operation that used a VLV (virtual list view) control
LIBRARY
OpenLDAP LDAP (libldap, -lldap)
SYNOPSIS
#include <ldap.h>
int ldap_parse_vlv_control( ld, ctrlp, target_posp, list_countp, contextp, errcodep )
LDAP *ld;
LDAPControl **ctrlp;
unsigned long *target_posp, *list_countp;
struct berval **contextp;
int *errcodep;
DESCRIPTION
The ldap_parse_vlv_control is used to decode the information returned from a search operation that used a VLV (virtual list view)control.
It takes a null terminated array of LDAPControl structures, usually obtained by a call to the ldap_parse_resultfunction, a target_pos which
points to the list index of the target entry. If this parameter is NULL, the target position is not returned. The index returned is an
approximation of the position of the target entry. It is not guaranteed to be exact. The parameter list_countp points to the server's esti-
mate of the size of the list. If this parameter is NULL, the size is not returned. contextp is a pointer to the address of a berval struc-
ture that contains a server-generated context identifier if server returns one. If server does not return a context identifier, the server
returns a NULL in this parameter. If this parameter is set to NULL, the context identifier is not returned. You should use this returned
context in the next call to create a VLV control. When the berval structure is no longer needed, you should free the memory by calling the
ber_bvfree function.e errcodep is an output parameter, which points to the result code returned by the server. If this parameter is NULL,
the result code is not returned.
See ldap.h for a list of possible return codes.
SEE ALSO
ldap_search(3)
ACKNOWLEDGEMENTS
OpenLDAP Software is developed and maintained by The OpenLDAP Project <http://www.openldap.org/>. OpenLDAP Software is derived from Uni-
versity of Michigan LDAP 3.3 Release.
OpenLDAP 2.4.25 2011/03/26 LDAP_PARSE_VLV_CONTROL(3)