08-19-2006
.profile settings
I need to configure my .profile so that it should always reflect my present directory path during my session. How can i do that.
Please help
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
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. SCO
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
3. UNIX for Dummies Questions & Answers
As a regular (non-root) user on Unix servers I'm accustomed to changing my .profile file to set paths that I frequently use, etc.
I am trying to learn unix and set up a test server running SunOS 5.8. When I login as root I don't see a .profile file that belongs to root wherein I could change the... (1 Reply)
Discussion started by: FredSmith
1 Replies
4. UNIX for Dummies Questions & Answers
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
5. Linux
Hi,
How to set ip address in linux.
Regards,
Guguli (1 Reply)
Discussion started by: guguli
1 Replies
6. UNIX for Dummies Questions & Answers
What is the difference between /etc/profile and .profile? (5 Replies)
Discussion started by: gehlnar
5 Replies
7. Infrastructure Monitoring
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. Red Hat
Hi all,
Please help to check weather the SMTP settings are configured or not on my LINUX server?
I want to send a mail to mailbox. I know that the target SMTP server has to be configured on LINUX box to do so.
How can i see weather it is configured or not?
--Ramesh Ch. (3 Replies)
Discussion started by: Raamc
3 Replies
9. Solaris
I am using Solaris ...
I have some settings in my .profile and in .profile iam calling some scripts.
After i logged in to that box if i gave "bash" and proceed with my shorcuts(alias) are not working . (3 Replies)
Discussion started by: girija
3 Replies
10. UNIX for Advanced & Expert Users
Hi all,
I am confusing myself with trying to set up a firewall and hope someone here can help me progress.
I have a small cluster of three Raspberry PI's running NOOBS, which I believe is a Debian fork.
I have a "Gateway" machine, if that is the right phrase, that has a USB Wifi dongle... (0 Replies)
Discussion started by: steadyonabix
0 Replies
LEARN ABOUT MOJAVE
mhparam
MHPARAM(1) [nmh-1.5] MHPARAM(1)
NAME
mhparam - print nmh profile and context components
SYNOPSIS
mhparam [components] [-all] [-component | -nocomponent] [-version] [-help]
DESCRIPTION
mhparam writes the value of the specified profile component to the standard output separated by newlines. If the profile component is not
present, the default value (or nothing if there is no default) is printed.
If the switch -component is given, then the component name is displayed along with the profile components value. This can be disabled with
the switch -nocomponent.
If more than one component is specified in the components list, then the switch -component is on by default. If only one component is
specified, then the switch -nocomponent is on by default.
If -all is specified, then all components in the nmh profile are displayed and other arguments are ignored.
Examples:
% mhparam path
Mail
% mhparam mhlproc
/usr/lib/mh/mhl
% mhparam -component Path
Path: Mail
% mhparam AliasFile rmmproc
AliasFile: aliases
rmmproc: rmmproc
% mhparam -nocomponent AliasFile rmmproc
aliases
rmmproc
% mhparam path nonexistent context
Path: Mail
context: context
mhparam is also useful in back-quoted operations:
% fgrep cornell.edu `mhpath +`/`mhparam aliasfile`
EXIT STATUS
mhparam returns the number of components that were not found.
FILES
$HOME/.mh_profile The user profile
or $MH Rather than the standard profile
<mh-dir>/context The user context
or $MHCONTEXT Rather than the standard context
PROFILE COMPONENTS
context: To determine the context file
SEE ALSO
mh-profile(5)
DEFAULTS
`-nocomponent' if only one component is specified
`-component' if more than one component is specified
`components' defaults to none
CONTEXT
None
MH.6.8 11 June 2012 MHPARAM(1)