But whatever system you are using may have a man page for it. Try this command:
It may tell you command-line arguments or switches that will do what you want.
HI guys,
I'm working on a code with the following specs:
1. Retrieving files with a particular extensions from a location specified by the users.
2. Copying those files to user specified location
i) but i need to pause copy if the network is busy
ii) and the copy process must... (3 Replies)
Hi there
I have an SFTP over Solaris as well it runs Samba. I need some users (outsiders) to use my SFTP facility as well to use the Samba. However i don't want them do anything else except file transferring via SFTP or Samba.
I was thinking to customize their Shell so that they would not run... (1 Reply)
Discussion started by: Time_Racer
1 Replies
3. Forum Support Area for Unregistered Users & Account Problems
Hi Gurus,
Here is a requirement from my side, i have a script root password expiary, means this script will examine if root password has been expired or not,
if it's expired then it will write into a file and mail to certain mail id till here everything is fine. But i want it to write to errpt,... (3 Replies)
Hello,
How to pass arguments to make thru command line? Have read this and that threads, but still not clear. My customized Makefile as:
# convert_program.mk:
run:
bash bash_srcipt.sh
clean:
rm ${OUT_PATH}/result.txtWhat I intend is to run like this:
$ make -f convert_progam.mk... (4 Replies)
Hi,
The below commands will be inside a KSH script and SOLARIS machine.
Command-1 //Executes in 10s,5s,..5mins,etc
TIMER = Look for Command-1 execution status - IF finished in 25secs move to next command in the script IF NOT kill above command and move to next command.
Command-2
Any... (9 Replies)
Hi,
I am testing on iSCSI + multipath, where i have one iSCSI lun assigned to one server.
mpatha (1IET 00010001) dm-2 IET,VIRTUAL-DISK
size=100M features='0' hwhandler='0' wp=rw
|-+- policy='round-robin 0' prio=1 status=active
| `- 2:0:0:1 sda 8:0 active ready running
`-+-... (6 Replies)
Hi all
Many years ago, I found online this script that was incredibly funny and I had blogged it
Unfortunately because of my poor record-keeping, I seem to have lost the shell script
Would somebody be kind enough to tell me how to replicate this?
Thank you! (0 Replies)
I tried to ease text searches so made a customized grep:
g () {
if
then
i=
for s in $2
do
i="$i --include=*.$s"
done
else
i='--include=*.txt --include=*.ini --include=*.*sh --include=*.c* --include=*.h --include=*.js --include=*.reg'
fi
grep -P -e \'$1\' -r "$i"
}
but I... (3 Replies)
Discussion started by: abdulbadii
3 Replies
LEARN ABOUT HPUX
xtappgeterb
XtAppGetErrorDatabaseText() XtAppGetErrorDatabaseText()
Name
XtAppGetErrorDatabaseText - get the text of a named message from the error database.
Synopsis
void XtAppGetErrorDatabaseText(app_context, name, type, class, default, buffer_return, nbytes, database)
XtAppContext app_context;
String name, type, class;
String default;
String buffer_return;
int nbytes;
XrmDatabase database;
Inputs
app_context
Specifies the application context.
name Specifies the name or general kind of the message.
type Specifies the type or detailed name of the message.
class Specifies the resource class of the error message.
default Specifies the default message to use if an error database entry is not found.
nbytes Specifies the size of buffer_return in bytes.
database Specifies the database to be used, or NULL if the application's database is to be used.
Outputs
buffer_return
Specifies the buffer into which the error message is to be returned.
Description
XtAppGetErrorDatabaseText() looks up the message named by name, type, and class in database or in the database returned by XtAppGetError-
Database() for app_context if database is NULL. If such a message is found, it is stored into buffer_return, otherwise the message in
default is stored into buffer_return.
The resource name of the message is formed by concatenating name and type with a single "." between them. The resource class of the mes-
sage is class if it already contains a ".", or otherwise is formed by concatenating class with itself with a single "." between the
strings.
Usage
You should not need to call XtAppGetErrorDatabaseText() unless you are writing a customized high-level error or warning handler.
Because the Intrinsics do not support the customization and internationalization of error messages very well, some applications may want to
read a customized error database (found with XtResolvePathname() or named by an application resource, for example) and provide customized
error and warning handlers that call XtAppGetErrorDatabaseText() specifying this custom database explicitly.
While the X Toolkit specification permits individual error databases for each application context, most implementations will only support a
single database. In the MIT implementation, the error database file is /usr/lib/X11/XtErrorDB.
See AlsoXtAppGetErrorDatabase(1),
XtErrorMsgHandler(2).
Xt - Error Handling XtAppGetErrorDatabaseText()