NOTICE:
when I run purepw it is located and runned, but
when I run pure-pw (NOTICE: dash in name) I get: Command not found
kes# env |grep PATH
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin
kes# env | grep PATH
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin
kes# ls -l /usr/local/bin/pure*
-r-xr-xr-x 1 root wheel 24052 12 ??? 06:24 /usr/local/bin/pure-pw
-r-xr-xr-x 1 root wheel 4432 12 ??? 06:24 /usr/local/bin/pure-pwconvert
-r-xr-xr-x 1 root wheel 6016 12 ??? 06:24 /usr/local/bin/pure-statsdecode
kes# pure-pw
pure-pw: Command not found
kes# /usr/local/bin/pure-pw
Usage :
pure-pw useradd <login> [-f <passwd file>] -u <uid> [-g
<gid>]
-D/-d <home directory> [-c <gecos>]
[-t <download bandwidth>] [-T <upload bandwidth>]
.........
kes# cp pure-pw purepw
kes# purepw
Usage :
pure-pw useradd <login> [-f <passwd file>] -u <uid> [-g
<gid>]
-D/-d <home directory> [-c <gecos>]
[-t <download bandwidth>] [-T <upload bandwidth>]
........
Henrik Brix Andersen
2008-Aug-12 19:36 UTC
command not found: problem with dash in filenames
On Tue, Aug 12, 2008 at 10:00:02PM +0400, KES wrote:> NOTICE: > when I run purepw it is located and runned, but > when I run pure-pw (NOTICE: dash in name) I get: Command not foundDid you by any chance just install this binary? Have you tried running 'rehash' and trying again? Brix -- Henrik Brix Andersen <brix@FreeBSD.org> -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 217 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20080812/a2debc1d/attachment.pgp