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)
Hi all,
below is the problem details:
ora10g@CNORACLE1>which ld
/usr/ucb/ld
ora10g@CNORACLE1>cd /usr/ccs/bin
ora10g@CNORACLE1>ln -s /usr/ucb/ld ld
ln: cannot create ld: File exists
ora10g@CNORACLE1>
how to link it to /usr/ccs/bin? (6 Replies)
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)
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)
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)
Hi Guys,
OS:- Solaris 10 64Bit
I have a small query.
On one server a user is facing sed command issue.
He gets error regarding sed for this location
/users/hoy/2999/batch5/bin/internal.sh: /usr/local/bin/sed: not found
How ever the sed is actually present at this location on server:-... (13 Replies)
Hi,
I have a tab delimited file as below:
AWA Divi DD01 None 1 2 Room AC 01-MAY-15 31-OCT-15 OT 01-MAY-15 31-OCT-15 CF 01-MAY-15 31-OCT-15
AW0 Beach DD02 None 1 2 Double AC 01-MAY-15 31-OCT-15 AD 01-MAY-15 31-OCT-15
The number of columns(fields) after 7th field is not fixed and... (3 Replies)
I'm not sure if this is the default behavior for the ld command, but it does not seem to be looking in /usr/local/lib for shared libraries.
I was trying to compile the latest version of Kanatest from svn. The autorgen.sh script seems to exit without too much trouble:
$ ./autogen.sh
checking... (2 Replies)
Discussion started by: AntumDeluge
2 Replies
LEARN ABOUT MOJAVE
group_from_gid
PWCACHE(3) BSD Library Functions Manual PWCACHE(3)NAME
pwcache -- cache password and group entries
LIBRARY
Standard C Library (libc, -lc)
SYNOPSIS
#include <pwd.h>
char *
user_from_uid(uid_t uid, int nouser);
#include <grp.h>
char *
group_from_gid(gid_t gid, int nogroup);
DESCRIPTION
The user_from_uid() function returns the user name associated with the argument uid. The user name is cached so that multiple calls with the
same uid do not require additional calls to getpwuid(3). If there is no user associated with the uid, a pointer is returned to a string rep-
resentation of the uid, unless the argument nouser is non-zero, in which case a NULL pointer is returned.
The group_from_gid() function returns the group name associated with the argument gid. The group name is cached so that multiple calls with
the same gid do not require additional calls to getgrgid(3). If there is no group associated with the gid, a pointer is returned to a string
representation of the gid, unless the argument nogroup is non-zero, in which case a NULL pointer is returned.
SEE ALSO getgrgid(3), getpwuid(3)HISTORY
The user_from_uid() and group_from_gid() functions first appeared in 4.4BSD.
BSD June 9, 1993 BSD