Sponsored Content
Full Discussion: Profile File in Unix
Top Forums Shell Programming and Scripting Profile File in Unix Post 302232290 by fpmurphy on Thursday 4th of September 2008 08:04:28 AM
Old 09-04-2008
The contents of /etc/profile and .profile are only read by a login shell i.e. the shell that is spawned when you login to your system. If you are using bash try putting the required variables in your .bashrc, or in .kshrc if you are using ksh. Also you should export the variables.
 

10 More Discussions You Might Find Interesting

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

2. Shell Programming and Scripting

What is .profile in unix ?

1. What is .profile in unix ? 2. What are they used for ? (2 Replies)
Discussion started by: guhas
2 Replies

3. Shell Programming and Scripting

Can I modify the .bashrc file instead of .profile file to customize my login?

Hello, I got this question which tells me to customize my login script. Some people in the forums suggested to modify the .profile file in my home directory. I did so, but none of my customizations show up when I open the terminal after. So, I tried to modify other files in my home directory,... (1 Reply)
Discussion started by: Hyunkel
1 Replies

4. UNIX for Dummies Questions & Answers

full path of .profile in unix

need a help, am a newbe in unix how do i locate the full path of the .profile where the environmental variable for a user is set. thanks (6 Replies)
Discussion started by: dba
6 Replies

5. UNIX for Dummies Questions & Answers

how to open .profile in Korn UNIX

How to open/view .profile file in Korn Unix. I need the path to .profile as well. Thanks, Kumar (1 Reply)
Discussion started by: vasan2815
1 Replies

6. Shell Programming and Scripting

problem in creating my own profile file in unix

I am new in shell scripting. currently i am using cygwin. My problem is i created a profile file in my own folder. file name is first.profile in which i gave following values to variable export a=10 now i am executing this profile file by below command ./.first.profile it executed... (4 Replies)
Discussion started by: pratikjain998
4 Replies

7. Shell Programming and Scripting

problem in creating execute profile file in unix

first i created a profile file(my_var.profile) which contains export my_var=20 after that i created shell scripts(my_var.sh) which contains #!/bin/bash . ./my_var.profile echo '$my_var='$my_var but when i am executing sh my_var.sh it is showing error that no such file/directory .profile.... (6 Replies)
Discussion started by: pratikjain998
6 Replies

8. Shell Programming and Scripting

.profile issue with UNIX

Hi, There is a user in Solaris-10 zone, ora_big01. Its .profile is not getting executed due to some reason and I am not able to find that. root@trddpd-dwsq04:/# cat /etc/passwd | grep -i ora_big01 ora_big01:x:242349:220:Siebel for QA:/ccq/apps/siebel:/usr/bin/ksh root@trddpd-dwsq04:/# which ksh... (3 Replies)
Discussion started by: solaris_1977
3 Replies

9. UNIX for Dummies Questions & Answers

Where to see my .profile file in UNIX?

Hi where to see my .profile file in unix thanks Dharma (2 Replies)
Discussion started by: na.dharma
2 Replies

10. Programming

Remote login UNIX box from java passing parameters to the custom script called in the profile

Hello Good Day / Guten Tag.... I have to login the server and the user profile contains some scripts which need the inputs to be taken from the keyboard. So I use the method to conn.authenticateWithKeyboardInteractive(username, new InteractiveCallback() { public String... (1 Reply)
Discussion started by: Sanalkumaran
1 Replies
PSI(1)								   User Commands							    PSI(1)

NAME
Psi - jabber client SYNOPSIS
psi [--profile=PROFILE] [--remote|--choose-profile] DESCRIPTION
[--status=STATUS [--status-message=MSG]] [--uri=URI] Psi - The Cross-Platform Jabber/XMPP Client For Power Users OPTIONS
--choose-profile Display Choose Profile dialog on startup. Cannot be used together with --remote. -h, --help Show this help message and exit. --profile=PROFILE Activate program instance running specified profile. Otherwise, open new instance using this profile (unless used together with --remote). --remote Force remote-control mode. If there is no running instance, or --profile was specified but there is no instance using it, exit with- out doing anything. Cannot be used with --choose-profile. --status=STATUS Set status. STATUS must be one of `online', `chat', `away', `xa', `dnd', `offline'. --status-message=MSG Set status message. Must be used together with --status. --uri=URI Open XMPP URI. (e.g. xmpp:someone@example.org?chat) For security reasons, this must be the last option. -v, --version Show version information and exit. SEE ALSO
Go to <http://psi-im.org/> for more information about Psi. Psi 0.14 January 2012 PSI(1)
All times are GMT -4. The time now is 10:55 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy