Operating System - HP-UX
1833917 Members
2209 Online
110063 Solutions
New Discussion

HPUX 11i: /usr/lib/builtins directory contains files all of 0 size.

 
SOLVED
Go to solution
Trent Cameron
Occasional Contributor

HPUX 11i: /usr/lib/builtins directory contains files all of 0 size.

Hi, I hope someone can explain this,

I am running HPUX 11i on a C3600 Visualize Workstation.

I need to run the setenv command which is stored in the /usr/lib/builtins directory.

when I run it, nothing happens. When I look in the directory, it and every other file has a size of 0 kb.

did HP replace those commands with new ones??

To be sure it wasn't a faulty install I reinstalled the OS and they came back the same.

Anyone have any ideas on why or even better a way to get around this??

Thanks in advance for any help you can offer.
Trent.
Trent Rules!
2 REPLIES 2
Rita C Workman
Honored Contributor
Solution

Re: HPUX 11i: /usr/lib/builtins directory contains files all of 0 size.

Did you remember to set a shell environment first?

Example:

csh
setenv PATH .:$PATH
./
Just a thought,
/rcw
Patrick Wallek
Honored Contributor

Re: HPUX 11i: /usr/lib/builtins directory contains files all of 0 size.

For the commands that are listed in the /usr/lib/builtins directory you should not have to specify an explicit path to them. You should just be able to type 'setenv VAR value' and it should work. I checked my /usr/lib/builtins directory on my 11i machine and a 10.20 machine and all the files listed are 0 size on both machines.

I think the shell that you are running should be able to run these commands anyway. The /usr/lib/builtins area seems to just be a place holder.