Sponsored Content
Full Discussion: Basic .profile setup
Top Forums UNIX for Dummies Questions & Answers Basic .profile setup Post 85319 by Kelam_Magnus on Tuesday 4th of October 2005 02:52:36 PM
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.
 

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

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

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

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

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

8. 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
INSTALL-MH(8)							     [nmh-1.5]							     INSTALL-MH(8)

NAME
install-mh - initialize the nmh environment SYNOPSIS
/usr/lib/mh/install-mh [-auto] [-check] [-version] [-help] DESCRIPTION
Install-mh is the nmh program to create the initial setup for a first-time nmh user. Install-mh lives in two places for historical rea- sons. The -auto option does things as automatically as possible and makes install-mh less chatty. The user is asked for the name of the directory that will be designated as the user's nmh directory. If this directory does not exist, the user is asked if it should be created. Normally, this directory should be under the user's home directory, and has the default name of ``Mail''. Install-mh writes an initial .mh_profile for the user. As with all nmh commands, install-mh first checks for the existence of the $MH environment variable since that gives the profile path if set. If it isn't set, the $HOME environment variable is consulted to determine the user's home directory. If $HOME is not set, then the /etc/passwd file is consulted. When creating the users initial .mh_profile, install-mh will check for the existence of a global profile /etc/nmh/mh.profile. If found, this will be used to initialize the new .mh_profile. The -check option can be used to check whether or not nmh has been installed. This can be used by other programs to determine whether or not nmh has been installed without their having to know the internals of nmh. FILES
$HOME/.mh_profile The user profile /etc/nmh/mh.profile Used to initialize user profile PROFILE COMPONENTS
Path: To set the user's nmh directory CONTEXT
With -auto, the current folder is changed to "inbox". MH.6.8 11 June 2012 INSTALL-MH(8)
All times are GMT -4. The time now is 11:18 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy