10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have a need to run any number of identical scripts simultaneously, so I've created a driver script which reads a template script, edits these appropriately and then submits them via nohup. The spawned scripts all check to see at some point how many of their number are running and once the count... (7 Replies)
Discussion started by: safedba
7 Replies
2. Shell Programming and Scripting
Hi,
How to restrict access to a .ksh script in such the way that the users can only execute the script, neither read nor write.
I tried the below code so that my user alone has the rwx and other users can only execute.
chmod 711 sample.ksh
But when I logged in as a different user... (26 Replies)
Discussion started by: machomaddy
26 Replies
3. Shell Programming and Scripting
1) I have two scripts named as a.sh,b.sh running two different hosts host1 and host2
2) So now how to execute b.sh on host2 from a.sh on host1
3) Also I have few queries regarding the same as I want to execute few commands with sudo and with different user in script b.sh so how this can be... (2 Replies)
Discussion started by: RSC1985
2 Replies
4. Solaris
Hi All: Does anyone know why gcc would be missing from /usr/sfw/bin? Has it been replaced by another file in below directory? .... Do you think admins may have deleted it from here?
More importantly, is there anything else I can use in here as an alternative for a C program compilation? ... (8 Replies)
Discussion started by: steve701
8 Replies
5. Shell Programming and Scripting
Dear Members,
I have a table REQUESTS in Oracle which has an attribute REQUEST_ACTION. The entries in REQUEST_ACTION are like, ME, MD, ND, NE etc.
I would like to create a script which will will call other scripts based on the request action.
Can we directly read from the REQUEST_ACTION... (2 Replies)
Discussion started by: Yoodit
2 Replies
6. Shell Programming and Scripting
Hi
I am new to this Scripting process and would like to know How can i write a ksh script that will call other ksh scripts and write the output to a file and/or email.
For example
-------
Script ABC
-------
a.ksh
b.ksh
c.ksh
I need to call all three scripts execute them and... (2 Replies)
Discussion started by: pacifican
2 Replies
7. Shell Programming and Scripting
Im writing a script in the Ksh, as the title suggests.
OK so im sincerely tring to be lazy. Im trying to make a script that will use another file as a sort of variable library
So basically i dont need to include the variables themselves, just want to make a reference to the file, so the... (2 Replies)
Discussion started by: Demon002
2 Replies
8. Shell Programming and Scripting
Hello All,
I have a whole bunch of shell scripts written in a ksh environment and which successfully execute there. However, I found out that they eventually need to be used in a sh environment. So some commands like some_variable=$(some_command) fail because sh doesn't understand $(.....). I... (11 Replies)
Discussion started by: sherkaner
11 Replies
9. Solaris
I have a new solaris 10 install and would like to install the 64 bit versions. When I installed other packaged (mysql, gcc), I removed the preinstalled verion first. These are the currently installed packages and which should be removed (if any).
Thank you
system SUNWopenssl-commands ... (2 Replies)
Discussion started by: csross
2 Replies
10. Shell Programming and Scripting
In a ksh script on an AIX box running a jillion oracle database processes, I'm setting a variable to one of two possible arguments, depending on cmd line arguments.
FINDIT="ps -ef | grep oracle | grep DBexport | grep rshrc"
-or-
FINDIT="ps -ef | grep oracle | grep prod | grep runback"
I... (3 Replies)
Discussion started by: zedmelon
3 Replies
libusb(3LIB) Interface Libraries libusb(3LIB)
NAME
libusb - user-space USB device management library
SYNOPSIS
cc [ flag... ] -I/usr/sfw/include file... -L/usr/sfw/lib -R/usr/sfw/lib
-lusb [ library... ]
#include <usb.h>
DESCRIPTION
The libusb library contains interfaces for managing USB devices without a kernel driver. It is an open-source API supported on Linux, Mac-
OS X, and NetBSD. See http://libusb.sourceforge.net.
The current implementation is version 0.1.8 of the libusb API.
Complete documentation for this library can be found at /usr/sfw/share/doc/libusb/libusb.txt.
INTERFACES
The shared object libusb.so.1 provides the following public interfaces. See intro(3) for additional information on shared object inter-
faces.
usb_bulk_read usb_bulk_write
usb_claim_interface usb_clear_halt
usb_close usb_control_msg
usb_find_busses usb_find_devices
usb_get_busses usb_get_descriptor_by_endpoint
usb_get_descriptor usb_get_string
usb_get_string_simple usb_init
usb_interrupt_read usb_interrupt_write
usb_open usb_release_interface
usb_reset usb_resetep
usb_set_altinterface usb_set_configuration
usb_set_debug usb_strerror
FILES
/usr/sfw/lib/libusb.so.1 shared object
/usr/sfw/lib/libusb_plugins implementation-specific libusb modules
/usr/sfw/bin/libusb-config script to determine linking environment
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWlibusb, SUNWlibusbut, |
| |SUNWlibugenusb |
+-----------------------------+-----------------------------+
|Interface Stability |External |
+-----------------------------+-----------------------------+
|MT-Level |Unsafe |
+-----------------------------+-----------------------------+
SEE ALSO
intro(3), attributes(5)
http://libusb.sourceforge.net
SunOS 5.10 14 Oct 2004 libusb(3LIB)