?
Solved

setenv command for CPDIR Solaris 8?

Posted on 2003-03-11
2
Medium Priority
?
1,302 Views
Last Modified: 2013-12-27
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!
0
Comment
Question by:ferg-o
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 51

Accepted Solution

by:
ahoffmann earned 200 total points
ID: 8121526
are all these scripts csh scripts?
Most likely they are sh scripts, sh (and friends) does not have a setenv command, but somthing like:

  CPDIR=/path/to/dir
  export CPDIR

(instead of:  setenv CPDIR /path/to/dir )
0
 
LVL 4

Author Comment

by:ferg-o
ID: 8125019
Thanks - I need to learn more about scripts!
0

Featured Post

Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Let's say you need to move the data of a file system from one partition to another. This generally involves dismounting the file system, backing it up to tapes, and restoring it to a new partition. You may also copy the file system from one place to…
I have been running these systems for a few years now and I am just very happy with them.   I just wanted to share the manual that I have created for upgrades and other things.  Oooh yes! FreeBSD makes me happy (as a server), no maintenance and I al…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Suggested Courses

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question