10-01-2010
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I just set up an ftp server with Red Hat 5.2. I am doing the work, I'm baby stepping, but it seems like every step I get stuck. Currently, I'm trying to set up a crontab job, but I'm getting the following message: /bin/sh: /usr/bin/vi: No such file or directory. I see that vi exists in /bin/vi,... (3 Replies)
Discussion started by: kwalter
3 Replies
2. UNIX for Dummies Questions & Answers
Hi All,
Can somebody tell me the difference between /bin, /usr/bin, /sbin ?
Thanx in advance,
Saneesh Joseph (3 Replies)
Discussion started by: saneeshjose
3 Replies
3. Shell Programming and Scripting
Hey everyone,
A coworker of mine has written a csh script that starts with #!/usr/bin/csh -f. It's my understanding that the -f should skip the .cshrc and .login files, but here's the problem: In the script "line" is used, and I happen to have a "line" in my ~/bin. When the script is ran my... (4 Replies)
Discussion started by: effigy
4 Replies
4. UNIX for Dummies Questions & Answers
Hi!
All the basic linux commands, ie. echo, find, etc, are located in /bin. I have a couple of programs that have these commands pointed towards /usr/bin, ie, /usr/bin/echo (even though the actual 'echo' command is in /bin). How can I alias or redirect or link the /usr/bin to /bin just for this... (6 Replies)
Discussion started by: dancerat
6 Replies
5. Solaris
Hi gentlemen.
For what intended is the directory /usr/local/bin? In this directory are some script.
I don't understand how these scripts being in this directory are started.
Each time after registration of the user occurs start of these scripts. These scripts start applications. (7 Replies)
Discussion started by: wolfgang
7 Replies
6. OS X (Apple)
Q1. I understand that /usr/local/bin means I can install/uninstall stuff in here and have any chance of messing up my original system files or effecting any other users. I created this directory myself.
But what about the directory I didn't create, namely /Users/m/bin? How is that directory... (1 Reply)
Discussion started by: michellepace
1 Replies
7. Solaris
Hi Experts,
I found that the same commands(sort, du, df, find, grep etc.) exists in both dir.
What is the difference to use them?
i.e: to use xpg4/bin/grep and usr/bin/grep
My OS version is SunOS 5.10
Regards,
Saps (7 Replies)
Discussion started by: saps19
7 Replies
8. UNIX for Dummies Questions & Answers
...... (30 Replies)
Discussion started by: larry burns
30 Replies
9. UNIX for Beginners Questions & Answers
i am new player in linux
what does mean ">& and >&!" in script or command line?
thanks (4 Replies)
Discussion started by: abdossamad2003
4 Replies
LEARN ABOUT HPUX
dtsearchaddmessage
DtSearchMessages(library call) DtSearchMessages(library call)
NAME
DtSearchMessages -- Access and manipulate messages on the DtSearch MessageList
SYNOPSIS
#include <Dt/Search.h>
int DtSearchHasMessages(
,
void DtSearchAddMessage(
const char *msg,
char *DtSearchGetMessages(
,
void DtSearchFreeMessages(
);
DESCRIPTION
The DtSearch online search engine may assemble detailed user messages to explain various errors and failures. These messages are designed
to provide a user with enough information to correct the error. Often more than one message is assembled onto the MessageList as the
result of a single API call. The calling code may also append messages to the MessageList prior to display to the user. All messages
remain on the MessageList and new messages are appended to the preexisting list until the list is specifically freed by the calling code.
DtSearchHasMessages returns zero if the MessageList is empty, and returns nonzero if there are any information or error messages currently
on the MessageList.
DtSearchAddMessage appends a message to the end of the MessageList. A message is defined as a zero-terminated C string.
DtSearchGetMessages returns a static text buffer containing all current messages on the MessageList. The messages are returned as a single
flat, zero-terminated C string, with two ASCII linefeed characters between messages (giving the appearance of a blank line between mes-
sages). It is expected that the calling code will display the text in a message dialog box or its equivalent. The returned buffer address
is valid until the next call. If the MessageList is currently empty, this function returns a pointer to an empty string.
DtSearchFreeMessages clears all messages on the MessageList. It is usually called after the user has dismissed a dialog box displaying the
current messages.
SEE ALSO
DtSrAPI(3)
DtSearchMessages(library call)