Sponsored Content
Full Discussion: .profile
Top Forums Shell Programming and Scripting .profile Post 302531067 by jim mcnamara on Wednesday 15th of June 2011 09:38:12 PM
Old 06-15-2011
Are you exectuing a new shell somewhere?
note: after executing GH in shell
This
try:
Code:
set | grep PS1
. . /opt/dba/oraadmin/tools/gh.sh
set |  grep PS1

Your PS1 declaration will work for bash IF you source the shell GH is called in. Environment variables do not pass from a child back to the parent process.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

why i have local.profile, local.cshrc,local.login instead of .profile, .login ?

Hello again ! Thanks for response of my first question. there is my second quesiton why i have local.profile instead of .profile file ? my all files in pwd shoes local. before any file. is anybody can tell me about that ? Thanks Abid Malik (5 Replies)
Discussion started by: abidmalik
5 Replies

2. 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

3. UNIX for Dummies Questions & Answers

How to get to my .profile?

Hi, When I logon to UNIX I go to the root directory. I don't have an assigned user directory. I need to get to my .profile so that I can change things like command prompt. How do I do this? By the way I am using SUN Solaris Thanks. (3 Replies)
Discussion started by: GMMike
3 Replies

4. 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

5. UNIX for Dummies Questions & Answers

Where can I read about the difference between "..profile" and ".profile"

Hi I know from reading O Riley's Classic Shell Scripting' that the .profile file is " the shells configuration file" but I am unable to find a reference to what "..profile" means. I have searched on the net, Sams Teach Yourself Unix, Unix Visual Quickstart Guide and Linux in a Nutshell. I have... (2 Replies)
Discussion started by: zorrokan
2 Replies

6. UNIX for Dummies Questions & Answers

$ . ./.profile

Could anyone explain what the following command means: $ . ./.profile (3 Replies)
Discussion started by: MikeBigjohn
3 Replies

7. 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

8. 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

9. Shell Programming and Scripting

Profile use

hey'all does anyway know how I can make a script which resides in dir: /mypath/a/b/c/d available to other users without them having to set their environment to PATH=/mypath/a/b/c/d=$PATH export PATH in their profiles. This is done so they can simply type myscript on the... (4 Replies)
Discussion started by: cyberfrog
4 Replies

10. Post Here to Contact Site Administrators and Moderators

profile name

How to chage my profile name? (1 Reply)
Discussion started by: kkalyan
1 Replies
remove profile(1m)														remove profile(1m)

NAME
remove profile - Removes all profile elements and the profile from the specified name service entry SYNOPSIS
rpccp remove profile profile-entry-name [-s syntax] OPTIONS
Indicates the name syntax of the entry name (optional). The only value for this option is the dce name syntax, which is the default name syntax. Until an alternative name syntax becomes available, specifying the -s option is unnecessary. ARGUMENTS
Indicates the name of the target profile. For an entry in the local cell, you can omit the cell name and specify only the cell-relative name. DESCRIPTION
The remove profile command removes a profile (and all of its elements) from the name service database. The entry name of the profile is required. Privilege Required You need write permission to the CDS object entry (the target profile entry). NOTE
This command is replaced at Revision 1.1 by the dcecp command and may not be provided in future releases of DCE. EXAMPLES
The following commands run RPCCP and remove the profile named /.:/LandS/anthro/molly_o_profile: $ rpccp rpccp> remove profile /.:/LandS/anthro/molly_o_profile RELATED INFORMATION
Commands: add element(1m), remove element(1m), show profile(1m) remove profile(1m)
All times are GMT -4. The time now is 04:39 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy