10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi Gurus,
I am stuck on below issue.
in my .profile. I have two variable:
x=abc$123
t=xyz$
when running env command, I got below:
x=abc
t=xyz$
my OS is SunOS 5.10 sun4v sparc SUNW,SPARC-Enterprise-T5220
I am wondering why t=xyz$ shows exactly value?
I try below: (9 Replies)
Discussion started by: ken6503
9 Replies
2. Shell Programming and Scripting
Hi Folks,
I have the below command that will kill all the process of an environment,
lets say if I have reached to the location cont directory under which I want to kill multiple process so the command will be ....
kill -9 `ps -ef | grep cont | grep -v grep | awk '{print $2}'`
Now please... (4 Replies)
Discussion started by: punpun66
4 Replies
3. UNIX for Dummies Questions & Answers
Hello everyone,
I am currently trying to program in java in unix platform for the first time, so far it is OK as long as I use class libraries which come with java distribution. Unfortunately when I try to use external libraries I have to use -classpath option which I rather not doing all the... (1 Reply)
Discussion started by: run123
1 Replies
4. Solaris
I need to save my enviroment variables,specially the $PATH.When I put it on .cshrc at next reboot I lost the configuration.How can avoid this?Thanks (2 Replies)
Discussion started by: bgf0
2 Replies
5. Shell Programming and Scripting
What are the environment setting during a cron session?
I have HP-UX and I want to send the output/file from a script to several e-mail addresses. I want to create an env-var to store the e-mail addresses in my .profile, but I do not know if it will be visible when a script is executed in a cron. (4 Replies)
Discussion started by: ALTRUNVRSOFLN
4 Replies
6. Shell Programming and Scripting
Im looking for any sample scripts that would output a current environment setup to a file and possibly then take 2 files and list any differences
This will allow us to quickly see any differences between environments in case of issue?
At a high level this would take Unix Kernel Params,... (2 Replies)
Discussion started by: JoeShmoe
2 Replies
7. Solaris
Hello...
I was wondering can anyone explain me how to set up enviroment variable to be permanent...
I tryed with setenv but my solaris does not have this command...
then I did:
export ORACLE_SID=base1
export ORACLE_BASE=/home
export ORACLE_HOME=$ORACLE_BASE/oracle/8.1.6
and by... (5 Replies)
Discussion started by: amon
5 Replies
8. UNIX for Dummies Questions & Answers
Hi,
I have a script which loops through a file and based on the fields in the file does certain things. I'm just testing the final version and come up against a problem.
One of the things is to copy files, so the line in the release.file would look like this.
COPY my_file $COPY_DIR 777
... (1 Reply)
Discussion started by: m1l
1 Replies
9. UNIX for Dummies Questions & Answers
Hi I've written a a script on box A that ssh's into box B and runs another script. If I run the script on box B it works. However when I run my ssh script (public key setup so no passwd required) it fails with "The WSB_HOME environment variable is not defined". Checked wapuser1 .profile on box B... (1 Reply)
Discussion started by: alien12
1 Replies
10. UNIX for Dummies Questions & Answers
:confused: Hi, does anyone here know how to compile and run C++ in UNIX environment? I am so desperate! Any help is greatly appreciated. Thanks! (3 Replies)
Discussion started by: Kahuashi
3 Replies