How To Set Enviorment ?


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users How To Set Enviorment ?
# 1  
Old 02-08-2003
How To Set Enviorment ?

I use /bin/ksh
As we know that if we export an enviorment in command terminal, then the enviorment can be used in that termial , it can not take effect in other terminals .
How Can I export an enviorment in a terminal , and the enviorment can take effect in other terminals ?
# 2  
Old 02-08-2003
As a user, you can't alter environments other than your current, and any child processes. What you can do is alter your $HOME/.profile file (since you're using ksh), which allows you to automatically set variables, among other things, each time you log in.
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Running ts_calibrate for touchscreen on emmbedded Linux enviorment

Hey guys, I am trying to figure out why this touchscreen is not working. I am attempting to run ts_calibrate which (on my kernel) can be found @ usr/bin When I run the script: root:/usr/bin# ts_calibrate xres = 1920, yres = 1080 tslib: Selected device is not a touchscreen (must support ABS and... (1 Reply)
Discussion started by: Circuits
1 Replies

2. Ubuntu

The best distro to use on enviorment headless and only run scripts

Hello, I pretend create a machine headless for only run scripts! I think use Ubuntu Server, but this is the best option? Exist another system more light? Because the purpose is run script which do mathematical calculations. Sum, Division and Modules! My knowledge about word gnu/linux is on... (0 Replies)
Discussion started by: enodev
0 Replies

3. Shell Programming and Scripting

Help needed with shell script to search and replace a set of strings among the set of files

Hi, I am looking for a shell script which serves the below purpose. Please find below the algorithm for the same and any help on this would be highly appreciated. 1)set of strings need to be replaced among set of files(directory may contain different types of files) 2)It should search for... (10 Replies)
Discussion started by: Amulya
10 Replies

4. Solaris

LC_ALL & LANG are set OK, but others couldn't set locale correctly.

Hi, I have a Solaris (SunOS 5.10) installed, by default with the en_AU.UTF-8 locale. I want to change it to en_US.UTF-8 With AU, I have no issues whatsoever, so I installed the language package and now locale -a shows "en_US.UTF-8". Problem is even with LC_ALL set in etc/default/init, the... (2 Replies)
Discussion started by: asdfg
2 Replies

5. Shell Programming and Scripting

set Net:SSH:Expect timeout and set it again.

SSHing into a machine can take a few seconds, but after I'm in, the commands return quickly. I was wondering if the timeout setting can be changed once I'm logged into the machine. Does anyone know if this can be set on the fly? The problem here is, if I have to set timeout = 10, it'll take 10... (1 Reply)
Discussion started by: mrwatkin
1 Replies

6. UNIX for Dummies Questions & Answers

How to set server's ip address, router, network mask and set if it is an internal or external ip?

Hello, I need to write a program which sets server's ip address, router, network mask. Program also should set if it is an internal or external ip. Maybe someone can help me ? Any information from u is very useful :b: I stopped at .. :( #!/bin/sh A=`hostname -i` echo "server ip address is $A"... (4 Replies)
Discussion started by: zagaruika
4 Replies

7. Shell Programming and Scripting

set -o vi giving set: Syntax error

when trying : set -o vi getting error like- : set: Syntax error help me Double post (of sorts). Continue here. (0 Replies)
Discussion started by: RahulJoshi
0 Replies

8. UNIX for Dummies Questions & Answers

enviorment variable

Hi , I am begginer to UNIX. when i want to run korn shell script i run ./test.sh and then enter it would run. But when i run test.sh and enter it would not run. What setting or enviorment variable i would change in order to run with out giving ./ to run any shell script. Thanks in adavance ... (5 Replies)
Discussion started by: sam70
5 Replies
Login or Register to Ask a Question