Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1315
  • Last Modified:

setenv command for CPDIR Solaris 8?

This is a sanity check. I am attempting to setenv CPDIR to be the directory for FW-1 NG FP1. I have added the entry to the init script, also tried adding it in /etc/default/login and also setting it using /usr/oasys/setenv - but when attempting to run an app depending on it it always claims I haven't set it.

Could someone please tell me how they would do it - it is driving me mad!
1 Solution
are all these scripts csh scripts?
Most likely they are sh scripts, sh (and friends) does not have a setenv command, but somthing like:

  export CPDIR

(instead of:  setenv CPDIR /path/to/dir )
ferg-oAuthor Commented:
Thanks - I need to learn more about scripts!

Featured Post

Become an Android App Developer

Ready to kick start your career in 2018? Learn how to build an Android app in January’s Course of the Month and open the door to new opportunities.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now