10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I am trying to create a script that takes a password input then writes that to a tmp file and puts that tmp file path in my env as a var.
It does everything but export the my env and I am unsure why.
I am using Ubuntu 12.4
read -s -p "Enter Password: " gfpassword... (5 Replies)
Discussion started by: koikoi
2. Red Hat
I need to add file the /usr/lib under the command set. The /usr/lib need to be set under the DIRS=' ' while listing the set command.
I tried with the command below:
But this doesn't work out... (4 Replies)
Discussion started by: gsiva
3. Shell Programming and Scripting
I have two scripts say one.sh and two.sh.
I want one.sh to continuously export a variable in loop. and when two.sh starts then it should read the last value exported from one.sh.
for i in `seq 1 1 4000000`; do
export VAR=$(($i**$i)) ;
... (2 Replies)
Discussion started by: bhushan123
4. Shell Programming and Scripting
I have a shell script I want to run that will set environment variables based on the value of an input variable submitted when the shell script is called. For example:
$ mgenv.sh prod
This would set environment variables for prod
$ mgenv.sh test
This would set environment variables... (1 Reply)
Discussion started by: brtaylor73
whenenver i login to solaris server the prompt is displaying as #. i want to customize the promt with server name for all users.
how to customize the PS1 variable for all the users?.
Thanks for your help in advance.
Saravana (2 Replies)
Discussion started by: tsaravanan
6. UNIX for Dummies Questions & Answers
I have a script that sets some env variables.
I want to source the script in a new xterm and
after the script execution is over, the xterm has to be alive with the env variables set according to the script.
xterm -e "source ./myscript;tcsh" &
The variables are getting set... (3 Replies)
Discussion started by: chaitubek
7. UNIX for Advanced & Expert Users
How to export ENV variables, which remains set for all the shell
Pwd : **** -> Here my ID .profile is executed. Let say I set MYENV variable
Kisses% rlogin ABC -l XXXGroupID -> I login into a remote Solaris Server ABC
password : **** -> "XXXGroupID's... (1 Reply)
Discussion started by: dashok.83
8. Shell Programming and Scripting
hi i want to write a shell script to set environment variables . But i am not been able to set that for the current shell instead i have to spawn a new shell. Is there a way to set the env variable for the current shell using shell script in bash shell ?
Thnx (2 Replies)
Discussion started by: varun.81
9. Shell Programming and Scripting
I have seen it in all the .profile files and env file this
What exactly does this Export path does??
SUmeet (1 Reply)
Discussion started by: sumeet
10. Shell Programming and Scripting
I have inserted the following line in my local.login file
setenv ORACLE_HOME /u01/app/oracle/product/8.1.7
Then when I do an echo
$ echo $ORACLE_HOME
I get a blank line. Am I setting up ORACLE_HOME incorrectly?
Thanx (3 Replies)
Discussion started by: nattynatty