03-21-2013
I read it, but still trying to understand what setting is there in other similar servers, where this is working (without sudo)
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi!
I have some shell scripts receiving in input lots of parameters and I need to select the ones having a particular value in one parameter.
A typical shell command line is:
PROMPT > shell_name.ksh -avalue_a -bvalue_b -cvalue_c -dvalue_d ...
I used a combinaton of ps and grep commands... (1 Reply)
Discussion started by: pciatto
1 Replies
2. UNIX for Advanced & Expert Users
Hi!
I have some shell scripts receiving in input lots of parameters and I need to select the ones having a particular value in one parameter.
A typical shell command line is:
PROMPT > shell_name.ksh -avalue_a -bvalue_b -cvalue_c -dvalue_d ...
I used a combinaton of ps and grep commands... (5 Replies)
Discussion started by: pciatto
5 Replies
3. Solaris
Hi
Problem of ps on Solaris 8 and 9
Perhaps a silly question but I can't find a solution.
the output of the command ps -ef is truncated.
I've tried to change the terminal settings with stty putting
a big number of colums: no change.
Following the man page of ps i have set the variable... (8 Replies)
Discussion started by: renoc
8 Replies
4. AIX
folks;
how can i get longer output than the one i got by using "/usr/ucb/ps awwx"? :mad: (2 Replies)
Discussion started by: moe2266
2 Replies
5. Shell Programming and Scripting
OK, I'm stumped.
I have a shell script that reads a list, and for every item in the list performs a lookup in our Active Directory. Now, it seems that when I pipe the results into grep, the complete results are not there (truncated?). I'm not sure if this is a limit of the pipe, grep, shell... (1 Reply)
Discussion started by: TheCrunge
1 Replies
6. UNIX for Dummies Questions & Answers
Hi Guys,
I have a master script file.
That calls the other script files. The sub script files append some of the data to the log file.
Once the master script completes one sub script execution and returns to execute other sub script that appends to the same log file. the log file gets... (2 Replies)
Discussion started by: Swapna173
2 Replies
7. Linux
Hi, I am getting linking error
i.e.
/ade/aime_urtk/oracle/has/include/caa_ResStateListener.hxx:79: relocation truncated to fit: R_PPC_GO
T16 vtable for CAA::ResourceStateListener
/ade/aime_urtk/oracle/has/lib//libcaad.a(caa_Main.o)(.text+0x88e6): In function `CAA::ResourceStateL... (0 Replies)
Discussion started by: jgobbur
0 Replies
8. UNIX for Dummies Questions & Answers
Hi all,
I have used sed command with a file of size 7KB and stored the output to another file.
When i look into the output file, a few file lines at the bottom have got truncated. The sed statement i used is as below. Why does this happen and how to resolve this.
SQL=`sed... (3 Replies)
Discussion started by: madhan@29
3 Replies
9. UNIX for Advanced & Expert Users
Today I needed to take a look through a load of large backup files, so I wrote the following line to find them, order them by size, and print the file sizes in GB along with the filename. What happened was odd, the output was all as expected except for the first output line which had the filename... (4 Replies)
Discussion started by: gencon
4 Replies
10. UNIX for Dummies Questions & Answers
Hi All,
here is an output of my command and the problem is that my output string is truncated, I want to exact the full string, I am on BASH shell, please help me out.
Regards
Rahul
command with Output :
lonss05903:cmdsvc01 /home/cmdsvc01 > ps -aef|grep 'Copy'
cmdsvc01 2642 8675 ... (7 Replies)
Discussion started by: rahulkalra9
7 Replies
LEARN ABOUT DEBIAN
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)