12-21-2004
you know i wouldn't doubt it if the man pages had options that could override the problem that you were having staticaly rather than the global changes that you made.. even though configuring the confi.files should be the first place to search.. that way if you decide to keep the changes you are not constantly messing with options..
thanx for the update
moxxx68
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
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)
Discussion started by: jalburger
6 Replies
2. Shell Programming and Scripting
Hi,
How can i execute .profile from a perl script
I need this - i am trying to run perl script from crontab
and it looses the environment variables
Please provide help
Your help is greatly appreciated
Thanks (1 Reply)
Discussion started by: prekida
1 Replies
3. Shell Programming and Scripting
Hi all,
I am trying to run a script which is expected to do:
on the remote machine,
There are two directories /export/home/abc1,/export/home/abc2
i am trying to do,
ssh SERVERNAME "for i in `ls -l /export/home/abc*|awk '{print $9}'`; do cd $i; ls -l; done"
But its not working ,iam... (11 Replies)
Discussion started by: Jartan
11 Replies
4. Shell Programming and Scripting
Hi
I am trying to send a command over ssh with a parameter but the shell fails to expand the command properly any ideas what am i doing wrong with this.
This is ssh on AIX
for i in 71 72 73 74 75 do
for server in server1 server2 do
somestr="Some String"
echo "$server... (3 Replies)
Discussion started by: xiamin
3 Replies
5. AIX
How do I get a command like "ssh Theuser@host date" to execute the /home/Theuser/.profile before executing the "date" command? (5 Replies)
Discussion started by: IL-Malti
5 Replies
6. UNIX for Dummies Questions & Answers
Hi All,
I am trying to execute a command using ssh as below.
ssh user123@servername "which ctmcontb"
It is gving the error as below
no ctmcontb in /usr/bin /usr/sbin /opt/sysadm/bin
Not sure from where the PATH is getting picked up.
But When I login direclty to the server I am... (5 Replies)
Discussion started by: anilreddy103
5 Replies
7. HP-UX
Greetings, i'm currently having issues in successfully executing a script from one server to other, and i'm cracking my nut in understanding why. Let's get started with the default info:
Server A:
briozzo@A:/home/briozzo $ uname -a
HP-UX A B.11.31 U ia64 2787251109 unlimited-user license
... (3 Replies)
Discussion started by: nbriozzo
3 Replies
8. Shell Programming and Scripting
Hi,
I'm tryin to write a script that will collect information about a remote servers, put them into variables and print them to screen.
# /usr/bin/bash
ls $1 > /dev/null 2>/dev/null
if
then
echo "$1 is file"
for server in $(cat $1)
do
# echo $server
... (5 Replies)
Discussion started by: moshesa
5 Replies
9. UNIX for Advanced & Expert Users
i've created a custom profile that contains custom functions and alias' etc...
it's called .jason_profile
currently we ssh to the server then load the profile manually from the cmd line i.e
. /home/jack/.jack_profile
we want to be able to ssh and source the profile automatically but... (4 Replies)
Discussion started by: jack.bauer
4 Replies
10. UNIX for Dummies Questions & Answers
Is there a way to run the profile which is not in $HOME directory? then whats the command for that? (1 Reply)
Discussion started by: SKhan
1 Replies
LEARN ABOUT DEBIAN
whichman
WHICHMAN(1) General Commands Manual WHICHMAN(1)
NAME
whichman - show the location of a man page using a fault tolerant approximate matching algorithm
SYNOPSIS
whichman [-#ehIp][-t#] man-page-name
DESCRIPTION
whichman is a "which" alike search command for man pages. whichman searches the MANPATH environment variable. If this variable is not
defined, then it uses /usr/share/man:/usr/man:/usr/X11R6/man: /usr/local/share/man:/usr/local/man by default.
Unlike "which" this program does not stop on the first match. The name should probably have been something like whereman as this is not a
"which" at all. whichman shows all man-pages that match and allows you to identify the different sections to which the pages belong.
whichman can handle international manpage path names for different languages. Man pages in different languages may be stored in
.../man/<country_code>/man[1-9]/...
By default, whichman does fault tolerant approximate string matching. With a default tolerance level of: (strlen(searchpattern) - number of
wildcards)/6 + 1
OPTIONS
-h Prints a little help/usage information.
-I Do case sensitive search (default is case in-sensitive)
-e Use exact matching when searching for a given man-page and the wildcards * and ? are disabled.
-p print the actual tolerance level in front of the man page name.
-# or -t#
Set the fault tolerance level to #. The fault tolerance level is a integer # in the range 0-255. It specifies the maximum number
of errors permitted in finding the approximate match. A tolerance_level of zero allows exact matches only but does NOT disable the
wildcards * and ?.
The search key may contain the wildcards * and ? (but see -e option):
'*' any arbitrary number of character
'?' one character
The last argument to whichman is not parsed for options as the program needs at least one man-page-name argument. This means that whichman
-x will not complain about a wrong option but search for the man-page named -x.
EXAMPLE
whichman print
This will e.g. find the man-pages:
/usr/share/man/man1/printf.1.gz
/usr/share/man/man3/printf.3.gz
/usr/share/man/man3/rint.3.gz
BUGS
The wildcards '?' and '*' can not be escaped. These characters function always as wildcards. This is however not a big problem since there
is hardly any man-page that has these characters in its name.
AUTHOR
Guido Socher (guido@linuxfocus.org)
SEE ALSO
ftff(1), man(1)
Search utilities April 1998 WHICHMAN(1)