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)
Check Out this Related Man Page
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)
How do I remove a directory named: $HOME
$ rm "$HOME"
rm: $HOME is a directory
$ rmdir "$HOME"
rmdir: directory "/home/bob": Directory is a mount point or in use (4 Replies)
AIX 4.3.3
I am having trouble when logging into the system as userA. It does not seem that the $HOME/.profile is executing. I have checked to make sure the .profile exists in userA's home directory, belongs to userA, and has the file permissions 740. I know the .profile is not being executed... (6 Replies)
Phew simple question,
I want to display the my directory path in prompt.
Did the following in .profile
PS1=`pwd`
export PS!
Worked, but it always points to HOME directory.
When i do a cd, it doesn't change.
What am i missing.
Thanks (7 Replies)
Hi Friends,
Can you please tell me how to create short form for directories?
like,
this is a directory: /usr/tmp/progs/scripts
when i give cd $short_name, it should take to the above path.
in which env setting do i have to set?
Thanks,
Rashmy. (8 Replies)
Dear Gurus
i have read a lot written on this topic but i just wanna ask that the /etc/profile file is present but the .sh_profile in the users $HOME directory is not being updated, any guesses why???
Also that i need to get the information about the date, time, IP and the user name from which... (7 Replies)
Hi
I need to restrict one user to see only his home directory and
one more directory how i can do this in his profile.
The OS is Red hat linux
I create a user -- tec
and group calle --tec
one the user log in he will see
/home/tec
and he need to see /opt/load
this dirctory... (6 Replies)
Hi All,
I have a written a scell script which checks the existence of a directory. The dierctory name is read from property file. Though the dierctory exists but it says - it does not exist--
Find my code below --
#! /bin/ksh
#Tibco Properties file is inclusion
.... (5 Replies)
Recently I created new user because I don not wont to use root account as default
but when I want to login I can choose Java desktop and after few seconds , system returns me back to login screnn , only root account woks fine (16 Replies)
hello every one i want to know meaning of following line
INST_PARA=$HOME/install/Install.Para
SAVEMEDIUM=`awk '$2=="ArchiveSave"{print$4}' $INST_PARA` (4 Replies)
Hi
I am new to Solaris and was just given my id and need to setup my environment, what do i need to do to run certain commands without putting in the complete path.
How do I create my .profile, I do not see under my login?
Any help would be greatly appreciated. (5 Replies)
Hi
I am trying to load the profile file using
. /home/user/.profile
it says file not found, but I can see the file in the /hom/user directory.
Any help ?
Thanks,
Murty. (5 Replies)
I found this old closed thread:
I can do these things, but how to I change someone's profile - where do I find the profile? I'm running Centos 5.6
~~~~~~~~~
providing you have the password shell set to ksh,
you can put this in his .profile:
cd /opt/load
alias -x cd=: (6 Replies)
Is it possible to set an environment variable or add something to the path for every user in a group?
I guess I mean the equivelent of going into each member's profile and adding a directory to their path var, but without physically doing that for each of them.
So just set it globally the... (4 Replies)
Hello,
I would like to ask if someone knows if is possible to install sofware via smitty or installp in another directorie , or we have to accept the default location?
i would like to intall in /opt folder , but smitty installed it in /usr
Thanks in advance (4 Replies)