10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi All,
I have my own .profile file and environment file.
To execute some commands I always need to load some module using module command and change my environment files to project environment file (. /some/project/some/path/init.environ).Without changing my environment file to project file,... (2 Replies)
Discussion started by: saps19
2 Replies
2. Solaris
Hi,
Does .profile file have any intial values by default. I m presently migrating an application from HP UX to SUN OS. Please share the precautions needs to be taken during migration of .profile file.
Thanks (1 Reply)
Discussion started by: nag_sathi
1 Replies
3. AIX
Hello.
I restore an mksysb image (AIX 5.3 TL 11) from one model to another model of Power (power 5 to power 7). Everything seems good, but I lost environment variables of at least one of a user profile. The result of the "env" command show me great differences between two servers, first of them... (2 Replies)
Discussion started by: stephnane
2 Replies
4. Shell Programming and Scripting
I'm trying to make a sed substitution where the substitution pattern is an environment variable to be expanded, but the variable contains a "slash".
sed -e 's/<HOME_DIRECTORY>/'$HOME'/'This gives me the following error:
sed: -e expression #1, char 21: unknown option to `s'Obviously this is... (2 Replies)
Discussion started by: Ilja
2 Replies
5. UNIX for Dummies Questions & Answers
In root dir i have created a .profile file and added variable and assigned a path to it:
a = '/dir/dir'
export a
but when i echo (echo $a) the path or use this variable the value or path not getting displayed.
i tried executing the .profile and logging out and logging in, didnt workout. am... (1 Reply)
Discussion started by: abhi_n123
1 Replies
6. UNIX for Dummies Questions & Answers
Ok, a couple weeks ago I was fixing a cron report about perl not happy with 'locale' info (LANG and LC not set). As a result, I was experimenting with setting the correct 'locale' in several areas (like /etc/sysconfig/i18n and who knows where). Somehow after a reboot, as soon as the OS starts... (3 Replies)
Discussion started by: Garball
3 Replies
7. Shell Programming and Scripting
Hello ,
i am on sles 11, and i can't figure out how can i locate my profile file,
the one that is use for setting the environment when i log in.
oracle@r200:~> cd
oracle@r200:~> pwd
/opt/oracle
oracle@r200:~> echo $SHELL
/bin/bash
oracle@r200:~>
oracle@r200:~> cat .profile
cat: .profile:... (4 Replies)
Discussion started by: tonijel
4 Replies
8. Solaris
I don't know where the environment config file for root user is in the Bourne shell on Solaris 10?
Can you help me, or am I helpless???? (2 Replies)
Discussion started by: Joncamp
2 Replies
9. Shell Programming and Scripting
:(
1.) How is .profile and environment variable linked.?
2.) What happens when we execute a script.? (3 Replies)
Discussion started by: guhas
3 Replies
10. Solaris
Hi,
I'm using solaris 8 and I need to know where I can add the following variable to have it applied to all my user Ids.
I tried to add this to /etc/profile but not working when i check with "env" command :
export PW_MATRIX=/usr/local/ccms/security/dat/.PASSWORD_MATRIX
export... (2 Replies)
Discussion started by: unclefab
2 Replies