Basic .profile setup


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Basic .profile setup
# 1  
Old 10-04-2005
Basic .profile setup

As a brand new user, I need to setup my .profile Here's what I have:

# User Profile zapservices 10/4/2005
# ###############################
export ORACLE_SID=S8DEV
export PS_BASE=/usr/local/psft
export PS_ENV=prdsfs
export PS_LOGDIR=$PS_BASE/log/$PS_ENV
export PS_OUTDIR=$PS_BASE/output/$PS_ENV
export PS_WORKSPACE=$PS_BASE
export SQRDEV=/appl/psft/dev/kct/sa800/sqr
export SQRTST=/appl/psft/tst/kct/sa800/sqr
PS1='S8DEV..dbux18:$PWD> '
set PATH=$PATH:/usr/homes/myhome/sqlldr:/appl/oracle/product/9.2.0/bin
# ###############################
# End of profile

When I log in using putty, the cursor position is at the beginning of the prompt line (instead of the end) and the variables are not set correctly. If you use the export command at the prompt, all variables are shown but each of these begin with the " (double quotes) symbol. But, I can paste these into putty at the command line and it works just fine. I have created this .profile in notepad and vi thinking it might contain hiddened characters... no luck.

Thanks in advance.
# 2  
Old 10-04-2005
Dunno about yours, but all my prompts have double quotes when defining PS1.

also, sourcing your .profile might help.

# . ./profile

or set -x in your .profile to check it out.

Regarding your exports, I might troubleshoot them by making a separate line for the export after each variable is set, just to check it for syntax.
# 3  
Old 10-04-2005
.profile settings

Thanks for your prompt reply. I get a bad command error after entering the set -x in the .profile file. ?
 
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Email server setup - basic help; tutorial for debian/Postfix/dovecot

Hello, I have been trying to setup a email server here at home, for me and a few friends. Nothing fancy, just a super basic - but secure - email server. I have been having trouble over the course of the past 2-3 weeks fumbling through various online tutorials. It shouldn't be SO hard =) ... (0 Replies)
Discussion started by: jalisco
0 Replies

2. Infrastructure Monitoring

trap in etc/profile and user .profile

Hello I really wonder what's trap in etc/profile and in each user .profile. I try to google for it but I think I have no luck. Mostly hit is SNMP traps which I think it is not the same thing. I want to know ... 1. What's a "trap 2 3" means and are there any other value I can set... (4 Replies)
Discussion started by: Smith
4 Replies

3. UNIX for Dummies Questions & Answers

difference between /etc/profile and .profile?

What is the difference between /etc/profile and .profile? (5 Replies)
Discussion started by: gehlnar
5 Replies

4. AIX

NIM server setup on etherchannel setup environment

I know that IBM's official stance is that NIM does not work on etherchannel environment, but has anyone able to get around it? I'm working on a p5-590 LPAR system, and the NIM master and clients are all on the same frame. Any help is appreciated. (1 Reply)
Discussion started by: pdtak
1 Replies

5. SCO

Difference between .profile and .~/.profile

what is the difference between these two lines, if we use it in korn shell script: .profile .~/.profile (3 Replies)
Discussion started by: maneesh mehta
3 Replies

6. UNIX for Dummies Questions & Answers

Basic networking setup in unix

I have a SunOS 5.8 box and have always downloaded & applied patches via my PC, but I want to be able to go out to sunsolve directly from the console ... however, I guess it doesn't know the IP of our domain's DNS server or something. Where are these setting held on a Sun box??? (1 Reply)
Discussion started by: FredSmith
1 Replies

7. SuSE

How to setup basic telnet?

hey, I was wondering if anybody could help me setup my telnet on my linux 7.1 machine. I need it so i can do some remote work on soem stuff i've got going when i go away next month. I've tried a few times before but it didn't work, i don't know why. thanks for your help. (23 Replies)
Discussion started by: byblyk
23 Replies

8. UNIX for Dummies Questions & Answers

changed .profile but didnt ./.profile, yet reflected changes

hi , i added ls -F to .profile. and i need to do ./.profile for the effect to take effect BUT i didnt and YET the next day when i came to work and log in, the changes took effect. i am on aix. please explain.. thanks (4 Replies)
Discussion started by: yls177
4 Replies
Login or Register to Ask a Question