Re: [newbie] PATH Oops

2005-04-04 Thread Anne Wilson
On Monday 04 Apr 2005 17:07, Mikkel L. Ellertson wrote:
> One thing you may want to do is take a look at some of the options in
> /etc/man.conf and deside if you want to broaden the search path for man
> pages. If you use the man command to look at man pages, you may also
> want to look at some of the shell variables that can be set to change
> the way man displays things...
>
Thanks, Mikkel.  Although I got the help I needed to read man pages in 
konqueror, I'll still explore this a bit further.  You never know when it 
will come in handy ;-)

Anne
-- 
Registered Linux User No.293302 (http://counter.li.org/)
Have you visited http://twiki.mdklinuxfaq.org yet?  Mandrake at all levels


pgp3bk2L7MFA4.pgp
Description: PGP signature


Re: [newbie] PATH Oops

2005-04-04 Thread Mikkel L. Ellertson
Anne Wilson wrote:
On Monday 04 Apr 2005 05:04, rikona wrote:
Hello Anne,
Sunday, April 3, 2005, 1:25:11 AM, Anne wrote:
AW> No man page matching to iptables found.
Take a look at iptables-tutorial.frozentux.net - you might find it
more useful than the man pages. Other similar stuff through Google,
too.

Noted, thanks.
Anne
>
Its Monday morning, and I am back at my Linux machine, so I can get the 
right file names. I lost the original message some ware, so this isn't a 
direct reply to this message, but to the thread.

Now, the man command uses several ways to find the man page you are 
looking for. I am not sure, but I think konqueror is doing the same 
thing. If you have MANPATH defined, it will use that. If you do not, 
then it looks at /etc/man.conf to generate a search path. If it is 
working from the config file, it will then also use PATH, along with a 
few other shell variables, to determine the search path. With most 
systems, it is not going to make a difference if you are running as a 
user, or as root. If anything, the user's PATH may find some man pages 
that root will not. (man pages for games, off the /usr/game directory tree.)

One thing you may want to do is take a look at some of the options in 
/etc/man.conf and deside if you want to broaden the search path for man 
pages. If you use the man command to look at man pages, you may also 
want to look at some of the shell variables that can be set to change 
the way man displays things...

Mikkel
--
  Do not meddle in the affairs of dragons,
for you are crunchy and taste good with Ketchup!

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] PATH Oops

2005-04-04 Thread Anne Wilson
On Monday 04 Apr 2005 03:44, RickSisler wrote:
> > Yep, that works also, for some reason I wrote down in my "things to
> > remember book" that the syntax is man:/"manpage name"
>
> man: also works for me .. but it shows this man:/ in the konqueror
> handbook subject:  Viewing Help, Man and Info Pages
> shoulda looked there first I guess, when I answered earlier ;)

Funny, I never thought of that.  For a graphic app, a word processor, almost 
any other kind of app, I would have looked there, but not for konqueror.  
Perhaps its the last vestige of windows days, when the file manager was 
something quite separate in our minds than the other applications.

Anne
-- 
Registered Linux User No.293302 (http://counter.li.org/)
Have you visited http://twiki.mdklinuxfaq.org yet?  Mandrake at all levels


pgpyYzT84Zdx2.pgp
Description: PGP signature


Re: [newbie] PATH Oops

2005-04-04 Thread Anne Wilson
On Monday 04 Apr 2005 08:36, SnapafunFrank wrote:
> Someone might have already answered to this later in the thread but I
> think want you need is:
>
> Open a new tab or page in konqueror and in the address bar type:
>
> Man:iptables
>
That's what didn't work for me, but man:/iptables does work.  Others are 
reporting that both forms work for them, so I don't know why my setup is 
different.  Thanks for answering.

Anne
-- 
Registered Linux User No.293302 (http://counter.li.org/)
Have you visited http://twiki.mdklinuxfaq.org yet?  Mandrake at all levels


pgpMNoWJQkXzH.pgp
Description: PGP signature


Re: [newbie] PATH Oops

2005-04-04 Thread Anne Wilson
On Monday 04 Apr 2005 05:04, rikona wrote:
> Hello Anne,
>
> Sunday, April 3, 2005, 1:25:11 AM, Anne wrote:
>
> AW> No man page matching to iptables found.
>
> Take a look at iptables-tutorial.frozentux.net - you might find it
> more useful than the man pages. Other similar stuff through Google,
> too.

Noted, thanks.

Anne
-- 
Registered Linux User No.293302 (http://counter.li.org/)
Have you visited http://twiki.mdklinuxfaq.org yet?  Mandrake at all levels


pgp0tcxTlXgEW.pgp
Description: PGP signature


Re: [newbie] PATH Oops

2005-04-04 Thread SnapafunFrank
Anne Wilson wrote:
On Sunday 03 Apr 2005 19:47, RickSisler wrote:
 

Mikkel L. Ellertson ([EMAIL PROTECTED]) wrote:
   

Anne Wilson wrote:
 

For the comfort of my eyes I wanted to read man pages in konqueror, 
   

 

Anne, Mikkel,
Does man iptables work from command-line?
   

Hi, Rick.  I have no problem accessing it from the command line.  It's just 
for eye comfort that I wanted to do it in konqueror.  At a pinch I could read 
it in a root console, which would certainly be easier than in a user console, 
but I don't like to do unnecessary things as root.  Perhaps I got the command 
wrong in konqueror?

Anne
 

Someone might have already answered to this later in the thread but I 
think want you need is:

Open a new tab or page in konqueror and in the address bar type:
Man:iptables
Enjoy.
--
Newbie Seeking USER_FUNCTIONALITY always!
Regards
SnapafunFrank
Big or small, a challenge requires the same commitment to resolve.
Registered Linux User # 324213 



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] PATH Oops

2005-04-03 Thread rikona
Hello Anne,

Sunday, April 3, 2005, 1:25:11 AM, Anne wrote:

AW> No man page matching to iptables found.

Take a look at iptables-tutorial.frozentux.net - you might find it
more useful than the man pages. Other similar stuff through Google,
too.

-- 

 rikonamailto:[EMAIL PROTECTED]

  



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] PATH Oops

2005-04-03 Thread RickSisler
Chris ([EMAIL PROTECTED]) wrote:
> On Sunday 03 April 2005 03:38 pm, mike wrote:
> > Adolfo Bello wrote:
> > > On Sun, 2005-04-03 at 21:15 +0100, Anne Wilson wrote:
> > >>>Anne, are you using man:/iptables on the Konqueror url line?  It works
> > >>> fine here on my box.
[ snip.. ]
> > >>
> > >>Chris, you're a star!  I had missed the '/'!  Thanks
> > >>Anne
> > > It works here (cooker) without the '/'. Just "man:iptables".
> > > Adolfo
[ snip.. ]
> > ditto here on 10.0 man:iptables
> > Mike
> Yep, that works also, for some reason I wrote down in my "things to remember
> book" that the syntax is man:/"manpage name"
man: also works for me .. but it shows this man:/ in the konqueror
handbook subject:  Viewing Help, Man and Info Pages
shoulda looked there first I guess, when I answered earlier ;)

-- 
RickS
gpg --recv-keys --keyserver www.keyserver.net 0x24AABE61

Honolulu - it's got everything. Sand for the children,
sun for the wife, sharks for the wife's mother.  --Ken Dodd


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] PATH Oops

2005-04-03 Thread Chris
On Sunday 03 April 2005 05:46 pm, mike wrote:

> >
> > Yep, that works also, for some reason I wrote down in my "things to
> > remember book" that the syntax is man:/"manpage name"
>
> Chris,
>
> I tried  man:/ and it does seem kinda handy if all you can remember
> is the begining of the manpage you are looking for.
>
> Like   man:/tc  the drop down shows all the manpages begining
> with  tc
>
> Thats going into my "things to remember book" also   :-)
>
> Mike

And if you do a "man:/" you'll get this:

UNIX Manual Index

Section 1  User Commands
Section 2  System Calls
Section 3  Subroutines
Section 4  Devices
Section 5  File Formats
Section 6  Games
Section 7  Miscellaneous
Section 8  System Administration
Section 9  Kernel
Section n  New


-- 
Chris
Registered Linux User 283774 http://counter.li.org
19:17:25 up 2:55, 3 users, load average: 0.44, 0.33, 0.18
Mandrake Linux 10.1 Official, kernel 2.6.8.1-12mdk

The truth you speak has no past and no future.  It is, and that's all it
needs to be.



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] PATH Oops

2005-04-03 Thread mike
Chris wrote:
> On Sunday 03 April 2005 03:38 pm, mike wrote:
> 
>>Adolfo Bello wrote:
>>
>>>On Sun, 2005-04-03 at 21:15 +0100, Anne Wilson wrote:
>>>
>Anne, are you using man:/iptables on the Konqueror url line?  It works
>fine here on my box.

Chris, you're a star!  I had missed the '/'!  Thanks

Anne
>>>
>>>Anne:
>>>
>>>It works here (cooker) without the '/'. Just "man:iptables".
>>>
>>>Adolfo
>>
>>ditto here on 10.0 man:iptables
>>
>>Mike
> 
> 
> Yep, that works also, for some reason I wrote down in my "things to remember 
> book" that the syntax is man:/"manpage name"
> 

Chris,

I tried  man:/ and it does seem kinda handy if all you can remember
is the begining of the manpage you are looking for.

Like   man:/tc  the drop down shows all the manpages begining
with  tc

Thats going into my "things to remember book" also   :-)

Mike



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] PATH Oops

2005-04-03 Thread Anne Wilson
On Sunday 03 Apr 2005 21:02, RickSisler wrote:
> Anne Wilson ([EMAIL PROTECTED]) wrote:
> > On Sunday 03 Apr 2005 19:47, RickSisler wrote:
> > > Mikkel L. Ellertson ([EMAIL PROTECTED]) wrote:
> > > > Anne Wilson wrote:
> > > > >For the comfort of my eyes I wanted to read man pages in konqueror,
> > >
> > > Anne, Mikkel,
> > > Does man iptables work from command-line?
> >
> > Hi, Rick.  I have no problem accessing it from the command line.  It's
> > just for eye comfort that I wanted to do it in konqueror.  At a pinch I
> > could read
>
>   ^^^ ^^^
> I do the same thing too .. 8)
>
> > it in a root console, which would certainly be easier than in a user
> > console, but I don't like to do unnecessary things as root.  Perhaps I
> > got the command wrong in konqueror?
> > Anne
>
> Hi Anne,
> sorry to waste bandwidth if it was too much info ..
> 
No problem, Rick.  I appreciate the attempt to help.

Anne
-- 
Registered Linux User No.293302 (http://counter.li.org/)
Have you visited http://twiki.mdklinuxfaq.org yet?  Mandrake at all levels


pgpxR2a4wmPG8.pgp
Description: PGP signature


Re: [newbie] PATH Oops

2005-04-03 Thread Anne Wilson
On Sunday 03 Apr 2005 21:43, Chris wrote:
> On Sunday 03 April 2005 03:38 pm, mike wrote:
> > Adolfo Bello wrote:
> > > On Sun, 2005-04-03 at 21:15 +0100, Anne Wilson wrote:
> > >>>Anne, are you using man:/iptables on the Konqueror url line?  It works
> > >>> fine here on my box.
> > >>
> > >>Chris, you're a star!  I had missed the '/'!  Thanks
> > >>
> > >>Anne
> > >
> > > Anne:
> > >
> > > It works here (cooker) without the '/'. Just "man:iptables".
> > >
> > > Adolfo
> >
> > ditto here on 10.0 man:iptables
> >
> > Mike
>
> Yep, that works also, for some reason I wrote down in my "things to
> remember book" that the syntax is man:/"manpage name"

That's strange.  man:iptables is what I was trying, without success, whereas 
man:/iptables worked.  I thought that the first version was what I had used 
before.

Anne
-- 
Registered Linux User No.293302 (http://counter.li.org/)
Have you visited http://twiki.mdklinuxfaq.org yet?  Mandrake at all levels


pgp8HcHQjoTEK.pgp
Description: PGP signature


Re: [newbie] PATH Oops

2005-04-03 Thread Cameron MacDonald
Chris wrote:
On Sunday 03 April 2005 03:38 pm, mike wrote:
Adolfo Bello wrote:
On Sun, 2005-04-03 at 21:15 +0100, Anne Wilson wrote:
Anne, are you using man:/iptables on the Konqueror url line?  It works
fine here on my box.
Chris, you're a star!  I had missed the '/'!  Thanks
Anne
Anne:
It works here (cooker) without the '/'. Just "man:iptables".
Adolfo
ditto here on 10.0 man:iptables
Mike
Works for me with either syntax in 10.1, KDE 3.2
Cam
--
Closing the Windows in my life

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] PATH Oops

2005-04-03 Thread Chris
On Sunday 03 April 2005 03:38 pm, mike wrote:
> Adolfo Bello wrote:
> > On Sun, 2005-04-03 at 21:15 +0100, Anne Wilson wrote:
> >>>Anne, are you using man:/iptables on the Konqueror url line?  It works
> >>> fine here on my box.
> >>
> >>Chris, you're a star!  I had missed the '/'!  Thanks
> >>
> >>Anne
> >
> > Anne:
> >
> > It works here (cooker) without the '/'. Just "man:iptables".
> >
> > Adolfo
>
> ditto here on 10.0 man:iptables
>
> Mike

Yep, that works also, for some reason I wrote down in my "things to remember 
book" that the syntax is man:/"manpage name"

-- 
Chris
Registered Linux User 283774 http://counter.li.org
15:42:32 up 18:28, 2 users, load average: 0.71, 0.59, 0.51
Mandrake Linux 10.1 Official, kernel 2.6.8.1-12mdk

The most common given name in the world is Mohammad; the most common
family name in the world is Chang.  Can you imagine the enormous number
of people in the world named Mohammad Chang?
-- Derek Wills



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] PATH Oops

2005-04-03 Thread mike
Adolfo Bello wrote:
> On Sun, 2005-04-03 at 21:15 +0100, Anne Wilson wrote:
> 
>>>Anne, are you using man:/iptables on the Konqueror url line?  It works fine
>>>here on my box.
>>
>>Chris, you're a star!  I had missed the '/'!  Thanks
>>
>>Anne
> 
> 
> Anne:
> 
> It works here (cooker) without the '/'. Just "man:iptables".
> 
> Adolfo
> 

ditto here on 10.0 man:iptables

Mike


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] PATH Oops

2005-04-03 Thread Adolfo Bello
On Sun, 2005-04-03 at 21:15 +0100, Anne Wilson wrote:
> > Anne, are you using man:/iptables on the Konqueror url line?  It works fine
> > here on my box.
> 
> Chris, you're a star!  I had missed the '/'!  Thanks
> 
> Anne

Anne:

It works here (cooker) without the '/'. Just "man:iptables".

Adolfo



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] PATH Oops

2005-04-03 Thread RickSisler
Anne Wilson ([EMAIL PROTECTED]) wrote:
> On Sunday 03 Apr 2005 19:47, RickSisler wrote:
> > Mikkel L. Ellertson ([EMAIL PROTECTED]) wrote:
> > > Anne Wilson wrote:
> > > >For the comfort of my eyes I wanted to read man pages in konqueror,
>
> > Anne, Mikkel,
> > Does man iptables work from command-line?
> >
> Hi, Rick.  I have no problem accessing it from the command line.  It's just
> for eye comfort that I wanted to do it in konqueror.  At a pinch I could read
  ^^^ ^^^
I do the same thing too .. 8)
> it in a root console, which would certainly be easier than in a user console,
> but I don't like to do unnecessary things as root.  Perhaps I got the command
> wrong in konqueror?
> Anne
Hi Anne,
sorry to waste bandwidth if it was too much info .. 
hmm .. I was trying to see if it wasn't working from commandline then help
you diagnose it, or if it was to identify it as KDE or konqueror
problem maybe ..
It works for me also as Chris typed: man:/iptables ..

-- 
RickS
gpg --recv-keys --keyserver www.keyserver.net 0x24AABE61

"There's many a bestseller that could have been prevented
by a good teacher. " - Flannery O'Connor (1925-1964)


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] PATH Oops

2005-04-03 Thread Anne Wilson
On Sunday 03 Apr 2005 20:18, Chris wrote:
> On Sunday 03 April 2005 02:08 pm, Anne Wilson wrote:
> > On Sunday 03 Apr 2005 19:47, RickSisler wrote:
> > > Mikkel L. Ellertson ([EMAIL PROTECTED]) wrote:
> > > > Anne Wilson wrote:
> > > > >For the comfort of my eyes I wanted to read man pages in konqueror,
> > >
> > > Anne, Mikkel,
> > > Does man iptables work from command-line?
> >
> > Hi, Rick.  I have no problem accessing it from the command line.  It's
> > just for eye comfort that I wanted to do it in konqueror.  At a pinch I
> > could read it in a root console, which would certainly be easier than in
> > a user console, but I don't like to do unnecessary things as root. 
> > Perhaps I got the command wrong in konqueror?
> >
> > Anne
>
> Anne, are you using man:/iptables on the Konqueror url line?  It works fine
> here on my box.

Chris, you're a star!  I had missed the '/'!  Thanks

Anne
-- 
Registered Linux User No.293302 (http://counter.li.org/)
Have you visited http://twiki.mdklinuxfaq.org yet?  Mandrake at all levels


pgpcqVputaLdM.pgp
Description: PGP signature


Re: [newbie] PATH Oops

2005-04-03 Thread Chris
On Sunday 03 April 2005 02:08 pm, Anne Wilson wrote:
> On Sunday 03 Apr 2005 19:47, RickSisler wrote:
> > Mikkel L. Ellertson ([EMAIL PROTECTED]) wrote:
> > > Anne Wilson wrote:
> > > >For the comfort of my eyes I wanted to read man pages in konqueror,
> >
> > Anne, Mikkel,
> > Does man iptables work from command-line?
>
> Hi, Rick.  I have no problem accessing it from the command line.  It's just
> for eye comfort that I wanted to do it in konqueror.  At a pinch I could
> read it in a root console, which would certainly be easier than in a user
> console, but I don't like to do unnecessary things as root.  Perhaps I got
> the command wrong in konqueror?
>
> Anne

Anne, are you using man:/iptables on the Konqueror url line?  It works fine 
here on my box.

-- 
Chris
Registered Linux User 283774 http://counter.li.org
14:16:59 up 17:02, 2 users, load average: 0.56, 0.39, 0.38
Mandrake Linux 10.1 Official, kernel 2.6.8.1-12mdk

Original thought is like original sin: both happened before you were born
to people you could not have possibly met.
-- Fran Lebowitz, "Social Studies"



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] PATH Oops

2005-04-03 Thread Mikkel L. Ellertson
Anne Wilson wrote:
On Sunday 03 Apr 2005 19:47, RickSisler wrote:
 

Mikkel L. Ellertson ([EMAIL PROTECTED]) wrote:
   

Anne Wilson wrote:
 

For the comfort of my eyes I wanted to read man pages in konqueror, 
   

 

Anne, Mikkel,
Does man iptables work from command-line?
   

Hi, Rick.  I have no problem accessing it from the command line.  It's just 
for eye comfort that I wanted to do it in konqueror.  At a pinch I could read 
it in a root console, which would certainly be easier than in a user console, 
but I don't like to do unnecessary things as root.  Perhaps I got the command 
wrong in konqueror?

Anne
 

The path searched for man pages is not the same as the one searched for 
programs. You do not have to be root to read the man pages for commands 
that are normally restricted to root. The default man path is controlled 
by a config file in /etc. But if the man command works right from the 
command line, then that is not the problem here.

Mikkel
--
Remember:
Sometimes the dragon wins!


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] PATH Oops

2005-04-03 Thread Anne Wilson
On Sunday 03 Apr 2005 19:47, RickSisler wrote:
> Mikkel L. Ellertson ([EMAIL PROTECTED]) wrote:
> > Anne Wilson wrote:
> > >For the comfort of my eyes I wanted to read man pages in konqueror, 

> Anne, Mikkel,
> Does man iptables work from command-line?
>
Hi, Rick.  I have no problem accessing it from the command line.  It's just 
for eye comfort that I wanted to do it in konqueror.  At a pinch I could read 
it in a root console, which would certainly be easier than in a user console, 
but I don't like to do unnecessary things as root.  Perhaps I got the command 
wrong in konqueror?

Anne
-- 
Registered Linux User No.293302 (http://counter.li.org/)
Have you visited http://twiki.mdklinuxfaq.org yet?  Mandrake at all levels


pgpIKzSv850kS.pgp
Description: PGP signature


Re: [newbie] PATH Oops

2005-04-03 Thread RickSisler
Mikkel L. Ellertson ([EMAIL PROTECTED]) wrote:
> Anne Wilson wrote:
>
> >For the comfort of my eyes I wanted to read man pages in konqueror, but
> >got the error
> >
> >No man page matching to iptables found. You can extend the search path by
> >setting the environment variable MANPATH before starting KDE.
> >
> >I tried to set the variable - probably doing it completely wrong, but I've
> >clearly screwed up $PATH.
> >
> >[EMAIL PROTECTED] anne]# $PATH
> >bash:
> >/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin:
> >No such file or directory
> >
> >I presume there's a text file somewhere that I can edit to clean this up?
> >
> >Anne
> >
> >
> There are a couple of problems here. The first is that PATH and MANPATH
> are not the same. The second is that $PATH is a shell varable that you
> set, or is set for you when you log in. You can defind a shell varable
> in a couple of ways.
>
> VARABLE="some value"
> PATH=$PATH:$HOME/bin
>
> What happens when you use $PATH, $HOME or any of the other shell
> varables in a command line is that the value of the varable is used when
> processing the command. When you type $PATH on the command line, you
> were in effect trying to run the command:
[ snip ]
>
> Now, as far as you not being to read the IP tables man page, I can not
> check on what pakage the man page is part of at the moment, but if noone
> else fills in that part of the answer, then I will get back to you later
> on it.
Anne, Mikkel,
Does man iptables work from command-line?

Mikkel mentioned this a couple weeks ago, may help some:

The directoryies /sbin, /usr/sbin and /usr/local/sbin are not
normaly in a user's path. They are in root's path when you log in as root, or
when you "su -" to root. Normaly, when you do "su" instead of "su -", you
keep the same path. But in Mandrake 10.1, when ever root opens a shell,
the path is set to fixed path by /root/.bashrc. So you may want to
check the .bashrc file in /root to be sure it is correct.


root's path here is the same as yours Anne:
[EMAIL PROTECTED] #> echo $PATH
/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin

$> whereis iptables
iptables: /sbin/iptables /lib/iptables /usr/share/man/man8/iptables.8.bz2

$> rpm -q --whatprovides /usr/share/man/man8/iptables.8.bz2
iptables-1.2.9-7.1.101mdk

I don't have a $MANPATH environment variable here ..
but checked and configuration for manpages is here: /etc/man.config
also ran man -d will show debugging and -w shows where the manpage is located

$> man -dw iptables
Reading config file /etc/man.config
found man directory /usr/share/man
found man directory /usr/X11R6/man
found man directory /usr/local/man
found man directory /usr/kerberos/man
found man directory /usr/man
found manpath map /bin --> /usr/share/man
found manpath map /sbin --> /usr/share/man
found manpath map /usr/bin --> /usr/share/man
found manpath map /usr/sbin --> /usr/share/man
found manpath map /usr/local/bin --> /usr/local/man
found manpath map /usr/local/sbin --> /usr/local/man
found manpath map /usr/X11R6/bin --> /usr/X11R6/man
found manpath map /usr/bin/X11 --> /usr/X11R6/man
found manpath map /usr/bin/mh --> /usr/share/man
found manpath map /usr/kerberos/bin --> /usr/kerberos/man
found manpath map /usr/kerberos/sbin --> /usr/kerberos/man
using /usr/bin/less -isrR as pager
path directory /sbin is in the config file
adding /usr/share/man/en to manpath
adding /usr/share/man to manpath
path directory /usr/sbin is in the config file
path directory /bin is in the config file
path directory /usr/bin is in the config file
path directory /usr/X11R6/bin is in the config file
adding /usr/X11R6/man to manpath
path directory /usr/local/bin is in the config file
path directory /usr/local/sbin is in the config file
path directory /usr/games is not in the config file
but there is a man directory nearby
adding /usr/man to manpath
path directory /usr/lib/jre-1.4.2_05/bin is not in the config file
and we found no man directory nearby
path directory is not in the config file
and we found no man directory nearby
path directory /home/ricks/bin is not in the config file
and we found no man directory nearby
adding mandatory man directories
/usr/share/man/man8/iptables.8.bz2

Some places to look .. hope that helps .. ;)
-- 
RickS
gpg --recv-keys --keyserver www.keyserver.net 0x24AABE61

"Praise does wonders for the sense of hearing." -- Bits
& Pieces


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] PATH Oops

2005-04-03 Thread Mikkel L. Ellertson
Anne Wilson wrote:
For the comfort of my eyes I wanted to read man pages in konqueror, but got 
the error

No man page matching to iptables found. You can extend the search path by 
setting the environment variable MANPATH before starting KDE.

I tried to set the variable - probably doing it completely wrong, but I've 
clearly screwed up $PATH.  

[EMAIL PROTECTED] anne]# $PATH
bash: /sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin: 
No such file or directory

I presume there's a text file somewhere that I can edit to clean this up?
Anne
 

There are a couple of problems here. The first is that PATH and MANPATH 
are not the same. The second is that $PATH is a shell varable that you 
set, or is set for you when you log in. You can defind a shell varable 
in a couple of ways.

VARABLE="some value"
PATH=$PATH:$HOME/bin
What happens when you use $PATH, $HOME or any of the other shell 
varables in a command line is that the value of the varable is used when 
processing the command. When you type $PATH on the command line, you 
were in effect trying to run the command:

/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin:
Bash complained that it could not find that command.
Now, as far as you not being to read the IP tables man page, I can not 
check on what pakage the man page is part of at the moment, but if noone 
else fills in that part of the answer, then I will get back to you later 
on it.

Mikkel
--
Remember:
Sometimes the dragon wins!


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



[newbie] PATH Oops

2005-04-03 Thread Anne Wilson
For the comfort of my eyes I wanted to read man pages in konqueror, but got 
the error

No man page matching to iptables found. You can extend the search path by 
setting the environment variable MANPATH before starting KDE.

I tried to set the variable - probably doing it completely wrong, but I've 
clearly screwed up $PATH.  

[EMAIL PROTECTED] anne]# $PATH
bash: 
/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin: 
No such file or directory

I presume there's a text file somewhere that I can edit to clean this up?

Anne
-- 
Registered Linux User No.293302 (http://counter.li.org/)
Have you visited http://twiki.mdklinuxfaq.org yet?  Mandrake at all levels


pgpduVb2bjiL2.pgp
Description: PGP signature


[newbie] path in mkisofs

2003-10-09 Thread Johan
Hi,
In mkisofs...
the -G option has no problem if the path of the boot.img is directly
specified.
the -b option requires that the boot.img path must be relative to the source
path.
This has given a lot of grief (challenge??).
Kindly demonstrate with a example how this must work.
Thanks
Johan


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] path to synthesis/hdlist?

2003-03-31 Thread Derek Jennings
On Monday 31 Mar 2003 8:48 am, Vahur Lokk wrote:
> Sorry for stupid question,
> I want to set up
> ftp://ftp.sunet.se/pub/Linux/distributions/mandrake/9.1/contrib
> as an urpmi source. Where is the subject?
>
> Wahur


>From http://plf.zarb.org/~nanardon/

urpmi.addmedia contrib 
ftp://ftp.sunet.se/pub/Linux/distributions/mandrake/9.1/contrib/RPMS with 
../../i586/Mandrake/base/hdlist2.cz


derek
-- 
--
www.jennings.homelinux.net

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


[newbie] path to synthesis/hdlist?

2003-03-31 Thread Vahur Lokk
Sorry for stupid question,
I want to set up 
ftp://ftp.sunet.se/pub/Linux/distributions/mandrake/9.1/contrib
as an urpmi source. Where is the subject?

Wahur


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] PATH

2003-01-21 Thread Stephen Kuhn
On Wed, 2003-01-22 at 08:50, Peter Watson wrote:
> I've been following the xine thread and its led me to a new problem.
> 
> My $PATH contains both /usr//bin and /usr/bin. This seems to stop 
> xine-check from finding my xine plugin directory, if I reset the path 
> without /usr//bin, xine-check runs without error.
> 
> I found a thread about this on alt.os.mandrake, but it was way above my 
> head. Can anyone here suggest why I have this apparently incorrect entry 
> in my $PATH variable.
> 
>  I've run "grep PATH *" everwhere I think the PATH might have been set but 
> have not found anything that looks as if its setting /usr//bin.

Your path is going to be set in two places -

1.) System path - /etc/profile
2.) User path - ~/home/usernamegoeshere/.bashrc

Check both for the unscrupulous error...

-- 
Wed, 22 Jan 2003 10:00:00 +1100
 10:00am  up 5 days, 19:43,  5 users,  load average: 0.04, 0.10, 0.13
--
|____  | kuhn media australia|
|   / ,, /| |'-.   | http://kma.0catch.com   |
|  .\__/ || |   |  |=|
|   _ /  `._ \|_|_.-'  | stephen kuhn|
|  | /  \__.`=._) (_   |  email: [EMAIL PROTECTED] |
|  |/ ._/  |"| |  email: [EMAIL PROTECTED]|
|  |'.  `\ | | |icq: 5483808 |
|  ;"""/ / | | | |
|  smk  ) /_/| |.---.| | mobile: 0410-728-389|
|  '  `-`' " " | Berkeley, New South Wales, AU   |
--
 linux user:267497 * RH 8.0 * PC/Mac/Linux/Networking/Consulting
--

I have to think hard to name an interesting man who does not drink.
-- Richard Burton


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] PATH

2003-01-21 Thread Anne Wilson
On Tuesday 21 Jan 2003 9:50 pm, Peter Watson wrote:
> I've been following the xine thread and its led me to a new problem.
>
> My $PATH contains both /usr//bin and /usr/bin. This seems to stop
> xine-check from finding my xine plugin directory, if I reset the path
> without /usr//bin, xine-check runs without error.
>
> I found a thread about this on alt.os.mandrake, but it was way above my
> head. Can anyone here suggest why I have this apparently incorrect entry
> in my $PATH variable.
>
>  I've run "grep PATH *" everwhere I think the PATH might have been set but
> have not found anything that looks as if its setting /usr//bin.

I wonder if it's xine itself that's doing it.  I had the same in my xine-check 
report.  When I finally discovered that the missing file was the  
libdvdcss2-1.2.4-1plf I installed it and the problem simply went away.  
xine-check did not find it after that, and now everything is working fine.

HTH

Anne
-- 
Registered Linux User No.293302



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] PATH

2003-01-16 Thread Stephen Kuhn
On Fri, 2003-01-17 at 00:16, Gil Katz wrote:
> Hi
> where do i add path to the PATH ?
> Gil
> 

You can edit your ~/home/username/.bashrc and do a

export /whateverpath/morepaths:$PATH

and save it...

-- 
Fri Jan 17 00:30:00 EST 2003
 12:30am  up 10:13,  4 users,  load average: 0.31, 0.25, 0.24
--
|____  | kuhn media australia|
|   / ,, /| |'-.   | http://kma.0catch.com   |
|  .\__/ || |   |  |=|
|   _ /  `._ \|_|_.-'  | stephen kuhn|
|  | /  \__.`=._) (_   |  email: [EMAIL PROTECTED] |
|  |/ ._/  |"| |  email: [EMAIL PROTECTED]|
|  |'.  `\ | | |icq: 5483808 |
|  ;"""/ / | | | |
|  smk  ) /_/| |.---.| | mobile: 0410-728-389|
|  '  `-`' " " | Berkeley, New South Wales, AU   |
--
 linux user:267497 * RH 8.0 * PC/Mac/Linux/Networking/Consulting
--

Man who falls in blast furnace is certain to feel overwrought.


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



[newbie] PATH

2003-01-16 Thread Gil Katz
Hi
where do i add path to the PATH ?
Gil

---



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



[newbie] PATH

2003-01-16 Thread Gil Katz
Hi
where do i add path to the PATH ?
Gil


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] PATH for Qt

2002-10-29 Thread Robin Ballantine
On Tuesday 29 October 2002 12:52 am, Erik wrote:
> I downloaded the tar.bz2 file for qt-x11-free-3.0.6, configured,compiled
> and installed it.  Works nicely.
>
> One problem.  The INSTALL file indicated that I needed to create a
> .profile in my user directory and add four lines defining PATH for it's
> main directory, libs directory, etc. and then log out and back in for
> the paths to be loaded.  I followed the instructions...didn't matter
> whether the .profile was in the user home directory or the root home
> directoryit didn't load the PATH as indicated.  As long as I typed
> in the PATH lines individually (enter after each) and the typed in the
> export command at the end (followed by enter), it worked fine.  However,
> each time I log out, reboot, etc, I have to type in the PATH and export
> commands again!
>
> Where can I add these commands so they become 'permanent' (at least
> until I remove them) ??  Is this something that needs to be added to
> /etc/profile.d ??
>
> Thanks for any light you can shed on this.

Erik, I think you will find that you should add those to .bash_profile
in your home directory rather than .profile.

Robin


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



[newbie] PATH for Qt

2002-10-28 Thread Erik
I downloaded the tar.bz2 file for qt-x11-free-3.0.6, configured,compiled
and installed it.  Works nicely.

One problem.  The INSTALL file indicated that I needed to create a
.profile in my user directory and add four lines defining PATH for it's
main directory, libs directory, etc. and then log out and back in for
the paths to be loaded.  I followed the instructions...didn't matter
whether the .profile was in the user home directory or the root home
directoryit didn't load the PATH as indicated.  As long as I typed
in the PATH lines individually (enter after each) and the typed in the
export command at the end (followed by enter), it worked fine.  However,
each time I log out, reboot, etc, I have to type in the PATH and export
commands again!

Where can I add these commands so they become 'permanent' (at least
until I remove them) ??  Is this something that needs to be added to
/etc/profile.d ??  

Thanks for any light you can shed on this.
-- 
Erik

Linux User 288105
=

Bill who? Micro what?




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] Path Variable

2002-09-27 Thread John McQuillen

On Sat, 2002-09-28 at 08:30, Stefano Pogliani wrote:
> I created a file called java.sh in /etc/profile.d/ which contains the 
> following lines:
> 
> JAVA_HOME=/usr/java/j2sdk1.4.0_01
> export JAVA_HOME
> PATH=$JAVA_HOME/bin:$PATH
> export PATH


I decided that I would try to do this using the alternatives system
(which Mandrake already uses for Java).
This is what I came up with (using j2re1.4.0 from SUN).

(as root)...
- copy j2re1.4.0 directory to /usr/lib
- run (one line):
update-alternatives --install /usr/bin/java java
/usr/lib/j2re1.4.0/bin/java 40

Now, Java 1.4.0 is the preferred alternative and I am keeping within the
/etc/alternatives system.

Perhaps Mandrake could look at providing a GUI for managing
/etc/alternatives for 9.1?

btw, if anyone can see a problem with this approach, please let me know.
I've only just set it up, so haven't had a chance to test thoroughly.

Regards,

John.



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] Path Variable

2002-09-27 Thread Derek Jennings

Whoops...I noticed a mistake I made in the symlink example I gave. It should 
be

ln -s /usr/lib/jre-1.4.0_01/bin/java  /usr/bin/java

derek


On Friday 27 Sep 2002 11:30 pm, Stefano Pogliani wrote:
> I created a file called java.sh in /etc/profile.d/ which contains the
> following lines:
>
> JAVA_HOME=/usr/java/j2sdk1.4.0_01
> export JAVA_HOME
> PATH=$JAVA_HOME/bin:$PATH
> export PATH
>
> /stefano
>
> Derek Jennings wrote:
> >Two ways, either edit your ~/.bash_profile (for an individual user), or
> > your /etc/profile (for system wide) to include the path to the java
> > executable in your PATH statement
> >
> >for example
> >PATH=$PATH:$HOME/bin:/usr/lib/jre-1.4.0_01/bin
> >
> >Next time you open a shell the path will be found.
> >
> >
> >The other way is to create a symlink in your /usr/bin directory like this
> >ln -s /usr/lib/jre-1.4.0_01/bin /usr/bin/java
> >
> >HTH
> >
> >derek
> >
> >
> >
> >On Fri, 27 Sep 2002 10:48:07 -0400
> >
> >John Bodden <[EMAIL PROTECTED]> wrote:
> >>I am trying to install LimeWire. Where to I configure the path
> >>variable. LimeWire is telling me that I do not have a Java VM in my
> >>path, evn though I have the J2re installed
> >
> >
> >
> >Want to buy your Pack or Services from MandrakeSoft?
> >Go to http://www.mandrakestore.com




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] Path Variable

2002-09-27 Thread Stefano Pogliani




I created a file called java.sh in /etc/profile.d/ which contains the following
lines:

JAVA_HOME=/usr/java/j2sdk1.4.0_01
export JAVA_HOME
PATH=$JAVA_HOME/bin:$PATH
export PATH

/stefano

Derek Jennings wrote:

  Two ways, either edit your ~/.bash_profile (for an individual user), or your /etc/profile (for system wide) to include the path to the java executable in your PATH statement 

for example
PATH=$PATH:$HOME/bin:/usr/lib/jre-1.4.0_01/bin

Next time you open a shell the path will be found.


The other way is to create a symlink in your /usr/bin directory like this 
ln -s /usr/lib/jre-1.4.0_01/bin /usr/bin/java

HTH

derek



On Fri, 27 Sep 2002 10:48:07 -0400
John Bodden <[EMAIL PROTECTED]> wrote:

  
  
I am trying to install LimeWire. Where to I configure the path 
variable. LimeWire is telling me that I do not have a Java VM in my 
path, evn though I have the J2re installed




  
  
  
  

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
  






Re: [newbie] Path Variable

2002-09-27 Thread Derek Jennings

Two ways, either edit your ~/.bash_profile (for an individual user), or your 
/etc/profile (for system wide) to include the path to the java executable in your PATH 
statement 

for example
PATH=$PATH:$HOME/bin:/usr/lib/jre-1.4.0_01/bin

Next time you open a shell the path will be found.


The other way is to create a symlink in your /usr/bin directory like this 
ln -s /usr/lib/jre-1.4.0_01/bin /usr/bin/java

HTH

derek



On Fri, 27 Sep 2002 10:48:07 -0400
John Bodden <[EMAIL PROTECTED]> wrote:

> I am trying to install LimeWire. Where to I configure the path 
> variable. LimeWire is telling me that I do not have a Java VM in my 
> path, evn though I have the J2re installed
> 
> 
> 



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] Path Variable

2002-09-27 Thread Jason Guidry


try putting the following in the command field of your launcher
properties.

export PATH=/usr/local/j2re1.3.1/bin:$PATH && limewire 


On Fri, 2002-09-27 at 09:48, John Bodden wrote:
> I am trying to install LimeWire. Where to I configure the path 
> variable. LimeWire is telling me that I do not have a Java VM in my 
> path, evn though I have the J2re installed
-- 
jason
gmaestro.org










Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] PATH Statement

2002-03-09 Thread Michael

dfox wrote:
> 
> >
> > This is a multi-part message in MIME format...
> >
> > =_1015668631-29535-331
> > Content-Type: text/plain
> > Content-Transfer-Encoding: 7bit
> >
> > This may have something to do with my inabilities to run Open Office
> > easily: All the Linux books I have read seem to indicate that the PATH
> 
> Open Ofice is usually installed outside PATH, typically in /opt, but
> yes, it may not be in your PATH. There should be a private Open Office
> directory in yyuor home directory, and you can make a private 'bin'
> directory and add that to your PATH. It may already be set up to add
> /home/yourusername/bin as default anyway.
> 
> Usually, the default PATH is set as part of the startup routine, but
> you should have a PATH in your .bashrc if you want to add or remove
> directories to search.
> 
> By the way, each user (or process, actually) has their own copy of
> PATH, and can differ. It's not like Windows or DOS where it's
> system-wide.
> >

Charles, in my setup the last bits of the default PATH are added towards the
bottom of /etc/profile during the startup. To read the default PATH comment out
any additions to it in your .bashrc. Start a new bash shell or type "source
.bashrc" then type "echo $PATH". 

-- 
"I have to convince you, or at least snow you ..."
-- Prof. Romas Aleliunas, CS 435



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] PATH Statement

2002-03-09 Thread Paul

On 09 Mar 2002 19:17:30 +0900 Charles wrote:

>This may have something to do with my inabilities to run Open Office
>easily: All the Linux books I have read seem to indicate that the PATH
>statement should be in my .bashrc file. But none of the .bashrc files on
>my system have a PATH statement in them. Should I add one?

That would not help much in this case.
Paul

--
Only fools and dead men don't change their minds.
Fools won't and dead men can't.
-John H. Patterson

http://nlpagan.net - Registered Linux User 174403
Linux Mandrake 8.0 - Sylpheed 0.7.3



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



[newbie] PATH Statement

2002-03-09 Thread Charles Muller

This may have something to do with my inabilities to run Open Office
easily: All the Linux books I have read seem to indicate that the PATH
statement should be in my .bashrc file. But none of the .bashrc files on
my system have a PATH statement in them. Should I add one?

Regards,

Chuck

-- 



Charles Muller
Toyo Gakuen University

Digital Dictionary of Buddhism and CJK-English Dictionary
www.acmuller.net




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



RE: [newbie] $PATH is wacked

2001-10-18 Thread Jose M. Sanchez

The Path statement is "built up" by the execution of various scripts.



PATH=$PATH:/usr/java/bin:

Would append the :/usr/java/bin: to the path statement variable as it
existed at the start of script execution.

Thus if you only looked at on place for this you would not find it.

The only thing wrong with your path, is that somewhere the existing path
is being appended to itself..

I.E.

PATH=PATH$:/usr/X11R6/bin:/usr/games: in one file

Is followed by

PATH=PATH$:.:PATH$

In another, or something very similar to this...

Look at 

/etc/profile
/etc/.bashrc
/etc/.bash_profile

Etc.

-JMS


|-Original Message-
|From: [EMAIL PROTECTED] 
|[mailto:[EMAIL PROTECTED]] On Behalf Of michael
|Sent: Thursday, October 18, 2001 12:54 PM
|To: [EMAIL PROTECTED]
|Subject: [newbie] $PATH is wacked
|
|
|I haven't modified my $PATH, but something sure has (at 
|least I hope so)
|[michael@michael michael]$ echo $PATH 
|/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/games:/usr/X11R6/
|bin:/usr/games:.:/usr/X11R6/bin:/usr/games:.:/usr/X11R6/bin:/usr/
|games:/usr/X11R6/bin:/usr/games:.:/usr/X11R6/bin:/usr/games:/
|home/michael/bin 
|
|[root@michael CIS55A]# echo $PATH 
|/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin
|
|Very weird. I haven't done anything to anyone's path, but 
|michael's looks over padded and root's looks a bit sparse.
|
|1) what is your root and user path?
|2)where do they live?
|3)how do i change them for more than the current session 
|(ie so when i reboot they won't revert)?
|I recall trying with 8.0 and not being able to get it to 
|stick...
|-- 
|-michael-
|
|




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



[newbie] $PATH is wacked

2001-10-18 Thread michael

I haven't modified my $PATH, but something sure has (at 
least I hope so)
[michael@michael michael]$ echo $PATH
/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/games:/usr/X11R6/
bin:/usr/games:.:/usr/X11R6/bin:/usr/games:.:/usr/X11R6/bin:/usr/
games:/usr/X11R6/bin:/usr/games:.:/usr/X11R6/bin:/usr/games:/
home/michael/bin 

[root@michael CIS55A]# echo $PATH
/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin

Very weird. I haven't done anything to anyone's path, but 
michael's looks over padded and root's looks a bit sparse.

1) what is your root and user path?
2)where do they live?
3)how do i change them for more than the current session 
(ie so when i reboot they won't revert)?
I recall trying with 8.0 and not being able to get it to 
stick...
-- 
-michael-



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



[newbie] Path

2001-08-09 Thread Greg Taylor



I noticed that when logged in to a RedHat7.1 out of 
the box machine, when you enter commands like 'ftprestart' and 'shutdown', it 
doesn't seem to check your path all the way and usually returns "command not 
found". Is there a way to remedy this? I'm sure it's some weird security 
feature, but I really don't like it at all. Thanks.


Re: [newbie] Path and KDESU

2001-07-18 Thread Alan Shoemaker

tazmun wrote:
[snip]
> here..but what does "pwd" stand for again?  And I keep
> hearing about "kdesu"  is this just something your typing
> into the console shell from kde window manager.  I was
> wondering if someone could go a bit more into detail on
> this command and exactly how to use it.  Also what the
> advantage...disadvantage of this might be.
[snip]

Tazmunpwd = pRINT wORKING  dIRECTORY.  kdesu is a GUI 
tool to allow you to run a GUI app as root.  The syntax is:

kdesu [-c] 

advantage is that you don't have to log out as user and 
re-login as root to use certain root-only programs.  
Disadvantage is none.
-- 
Alan




Re: [newbie] Path

2001-05-31 Thread Kelley Terry

Append it to your PATH line in /home/(user)/.bashrc or if you want it in 
root then change your /root/.bashrc file.

-- 
"It said uses Windows 95 or better, so I loaded Linux!"
"In a world without walls and fences, who needs windows and gates?"
Kelley Terry <[EMAIL PROTECTED]>


Magnus Stenemo wrote:

> Hello!
> 
> I want to add /usr/java/jdk1.3.1/bin/   to my PATH
> 
> The shell is bash
> 
> How do I do??
> 
> //Magnus






[newbie] Path

2001-05-31 Thread Magnus Stenemo

Hello!

I want to add /usr/java/jdk1.3.1/bin/   to my PATH

The shell is bash

How do I do??

//Magnus





Re: [newbie] Path

2001-02-09 Thread Mark Weaver

no...you take out yourself.

-- 
Mark

"If you don't share your concepts and ideals, they end up being worthless,"
"Sharing is what makes them powerful."


On Thu, 8 Feb 2001, Victor Parra wrote:

> Date: Thu, 08 Feb 2001 23:29:17 -0800
> From: Victor Parra <[EMAIL PROTECTED]>
> Reply-To: [EMAIL PROTECTED]
> To: [EMAIL PROTECTED]
> Subject: Re: [newbie] Path
>
> plaaassse take out of your list
>
> -michael- wrote:
>
> > On Thursday 08 February 2001 10:15, you wrote:
> > > On Thursday 08 February 2001 12:23 pm, -michael- wrote:
> > > > How do I, "add /usr/bin to my path?"
> > > > -michael-
> > >
> > >typeecho $PATH  to see what your current paths are.
> > >/usr/bin ought'a already be there
> > >
> > > but if it isn't ('bout 1/2 way down the page)
> > >   http://mandrakeuser.org/admin/ashell3.html
> > >
> > >You can also typeexportto see a listing of all your
> > > environment variables, including the path.
> > Thanks Tom. I thought it was there, just wondered after I would compile every
> > KDE module it would say add /usr/bin to your $PATH. But it's there.
>
>
>
>





Re: [newbie] Path

2001-02-08 Thread Victor Parra

plaaassse take out of your list

-michael- wrote:

> On Thursday 08 February 2001 10:15, you wrote:
> > On Thursday 08 February 2001 12:23 pm, -michael- wrote:
> > > How do I, "add /usr/bin to my path?"
> > > -michael-
> >
> >typeecho $PATH  to see what your current paths are.
> >/usr/bin ought'a already be there
> >
> > but if it isn't ('bout 1/2 way down the page)
> >   http://mandrakeuser.org/admin/ashell3.html
> >
> >You can also typeexportto see a listing of all your
> > environment variables, including the path.
> Thanks Tom. I thought it was there, just wondered after I would compile every
> KDE module it would say add /usr/bin to your $PATH. But it's there.







Re: [newbie] Path Solved

2001-02-08 Thread -michael-

On Thursday 08 February 2001 09:23, you wrote:
> How do I, "add /usr/bin to my path?"
> -michael-
Twas already there. 




Re: [newbie] Path

2001-02-08 Thread -michael-

On Thursday 08 February 2001 10:15, you wrote:
> On Thursday 08 February 2001 12:23 pm, -michael- wrote:
> > How do I, "add /usr/bin to my path?"
> > -michael-
>
>typeecho $PATH  to see what your current paths are.
>/usr/bin ought'a already be there
>
> but if it isn't ('bout 1/2 way down the page)
>   http://mandrakeuser.org/admin/ashell3.html
>
>You can also typeexportto see a listing of all your
> environment variables, including the path.
Thanks Tom. I thought it was there, just wondered after I would compile every
KDE module it would say add /usr/bin to your $PATH. But it's there.




[newbie] PATH variable mess

2000-12-21 Thread Henryk M. Kowalski

Does anyone know all the different locations in which the PATH variable is set
in Linux Mandrake? 

I'm running 7.0, 7.1 and 7.2 on different machines.   The same problem shows up
on all.  Here's an example: The PATH variable on this 7.0 machine seems to be a
run-on circular definition:

"/usr/local/bin:/bin:/usr/bin::/usr/X11R6/bin:/usr/games:/home/hmk/bin:
/usr/X11R6/bin:/usr/games:/usr/X11R6/bin:/usr/games:/usr/X11R6/bin:/usr/games"

(It sure seems to like games ;-) )

I have looked in the following locations:

~/.bashrc
~/.bash_profile
/etc/bashrc
/etc/profile

I can't find the cause for this mess.  Does anyone have any info/suggestions?

Thanks,
--hmk




[newbie] Path Inconsistancies Question

2000-10-25 Thread John Rye

I have this frustration - and I assume others also.

In what order and from which init files is the search path setup.

I have found it really frustrating to run some apps from the console
because it 'can't be found' and usually have to use 'locate' first,
and then prefix the full path.

The other thing that gets to me is the difference between the three
user accounts I have set up; as below: Essentially user1 and user2 are
identical in their functions, but they use different GUIs.

Why are there duplicated paths in the user profiles?

It appears to me that something somewhere is appending multiple
times.

I have broken the lines up for readability.

As root:
/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin:/usr/local/jdk1.2.2/bin

As User1:
/usr/local/bin:/bin:/usr/bin:/usr/local/jdk1.2.2/bin:/usr/local/bin:
/usr/X11R6/bin:/home/user1/bin:/usr/local/jdk1.2.2/bin:/usr/local/bin:
/usr/X11R6/bin:/usr/local/jdk1.2.2/bin:/usr/local/bin:/usr/X11R6/bin

As User2:
/usr/local/bin:/bin:/usr/bin:/usr/local/jdk1.2.2/bin:/usr/local/bin:/usr/bin:/sbin:
/usr/X11R6/bin:/home/user2/bin:/usr/local/jdk1.2.2/bin:/usr/local/bin:/usr/bin:/sbin:
/usr/X11R6/bin:/usr/local/jdk1.2.2/bin:/usr/local/bin:/usr/bin:/sbin:/usr/X11R6/bin

It used to be that you set your global search path in /etc/.profile and
extras in each user .profile where appended from/to that set globally.

Am I missing something here?

Cheers
-- 
ICQ# 89345394 Mailto: [EMAIL PROTECTED]
"The number of UNIX installations has grown to 10, with more expected"
(The UNIX Programmer's Manual, 2nd Edition, June 1972.)





Re: [newbie] path

2000-06-10 Thread flupke

On Sat, 10 Jun 2000, ryan geer wrote:

> ive downloaded suns sdk and cant seem to get the path set right. 
> probably because i dont really understand the whole path concept 
> so  if you have a good source of information re: paths or 
> more specifically have installed suns free jdk, could you drop me a 
> line?
> 
> thanks.

You have to modify some environement variables in order to have the sun
jdk running correctly. I have already done it, and I simply followed the
instructions provided in the various README's in the package. But I don't
remember exactly how it worked.
If you want to avoid problems, you can choose the easy solution and simply
install the kaffe package on the mdk CD. It also provides a java
environement, but without the $PATH problems.

HTH
Flupke

-- 
<< There's no place like ~ ! >>




[newbie] path

2000-06-09 Thread ryan geer

ive downloaded suns sdk and cant seem to get the path set right. 
probably because i dont really understand the whole path concept 
so  if you have a good source of information re: paths or 
more specifically have installed suns free jdk, could you drop me a 
line?

thanks.




[newbie] Path updating

2000-04-20 Thread Bruce E. Harris

Hi,

I upgraded to Sun's JDK 1.2.2. It is located in /usr/local/jdk1.2.2/bin, however
the orginal Mandrake JDK is located at /usr/bin/java and I can not make my
system reconize the new location.

I seem to recall a file that hold this info, similar to the old DOS config.sys.
What/where is the Mandrake equalivent? I have tried to update /etc/profile,
and home/.bashrc but no dice


-- 
Best Regards,

Bruce




Re: [newbie] path

2000-04-19 Thread Mike Corbeil

Tommy Kelly wrote:

> > I know this is probably a dumb question, but how do you add a directory to the
> > path  For instance, instead of going to /root/mozilla/ to run ./mozzila,
> > I would like to be able to type ./mozilla in any directory.
>
> To add the directory to your path, add the following to your
> .bashrc file, in your home directory:
>
> PATH="/root/mozilla:$PATH" ; export PATH
>
> Then, at your shell prompt type:
>
> . ~/.bashrc

That's not always a good idea, depending on what's in ~/.bashrc.  If there are only
aliases and other benign defintions, then this isn't a problem; however, some
people use this startup script for things which could potentially cause problems if
resourced, sometimes.  One way around that is to use conditional programming, but
this should be rarely needed for this file.

However, why would a program like mozilla be installed under root's home directory,
instead of one of the system bin directories?  I'm not familiar with mozilla,
except for what I believe is some relationship with netscape; therefore, I'm asking
for myself, but also to help this knowledge or the answer to be understood by other
people new to mozilla.

Is mozilla a separate rpm, or does it come with the netscape RPM(s), or what?
Usually, RPMs aren't installed under any  user's home directory; although,
configuration files and directories often go there, like for the ~/.netscape,
~/.kde, ~/.seyon and other directories.  These are only for individual
configuration, though.

I'm not prepared to deal with mozilla yet and still use netscape 4.05, until
finishing the upgrade of my system, or somewhere along this path, but because of
the odd nature of installing such executables under home directories, this question
may be worthwhile for many newbies.  Of course, I'ld also be learning in advance
(have definitely fair memory).

mike


>
>
> (You only have to do this second step once, and even then only
> in the xterm or session in which you change the .bashrc file.
> Any new xterms or logins will do it automatically.)
>
> You can then run:
>
> mozilla
>
> from anywhere.
>
> Note that I have removed the inital "./" from the command.
> If you do type:
>
> ./mozilla
>
> then your $PATH variable is ignored and you will attempt
> to run the "mozilla" command from directory "./", that is
> your current directory.  And if no executable of that name
> can be found in that directory you'll get something like:
>
> ./mozilla: Command not found.
>
> t






Re: [newbie] path

2000-04-17 Thread Mike Corbeil

David Hugh-Jones wrote:

> I read this and tried to create a symlink from /usr/bin to my Mozilla
> directory. But when I run mozilla I get the message 'run-mozilla.sh: no
> such file or directory'. This happens even if I create symlinks to
> run-mozilla.sh as well. What have I done wrong?

Where is your mozilla executable?  Provide an explicit directory listing.  Go to the
directory where mozilla is and do the following:

pwd > junk 2>&1
ls -l *mozilla*   >> junk 2>&1

Then send the contents of this file.

Also, tell us what user account you're trying to do this from, root or some other
user.

Did you check using rpm?  Don't do this using "run-mozilla.sh".  Use rpm with the
name of the package, minus the .i386.rpm or .{[no]arch}.rpm filename extension,
otherwise you'ld need to add the -p query option.

You might want to include the output from this rpm test.

rpm -qil mozilla*  >> junk 2>&1

Am not sure if you  need to say 2>&1 or 2>>&1 for the commands after the pwd one.
Try 2>&1 and if this ends up obliterating prior text in the file, then start over
with 2>>&1.  I just did a test and the 2>&1 worked across the board.

mike






Re: [newbie] path

2000-04-17 Thread David Hugh-Jones

I read this and tried to create a symlink from /usr/bin to my Mozilla 
directory. But when I run mozilla I get the message 'run-mozilla.sh: no 
such file or directory'. This happens even if I create symlinks to 
run-mozilla.sh as well. What have I done wrong?

Dave

Jan Wilson wrote:
> 
> * rich  [000416 22:04]:
> > I know this is probably a dumb question, but how do you add a directory to the
> > path  For instance, instead of going to /root/mozilla/ to run ./mozzila,
> > I would like to be able to type ./mozilla in any directory.
> 
> If you type ./mozilla you are saying, "run the executable file
> mozilla, which you will find in the current directory." So that
> has nothing directly to do with the path.
> 
> The path you are talking about is the environment variable
> $PATH, which gives a sequence of directories to search if no path
> is given.  That is, you type 'mozilla' rather than './mozilla' or
> '/usr/bin/mozilla' or whatever.  It is usually set in shell
> scripts in /etc/profile, or in the directory /etc/profile.d/ or
> in the user's home directory in a file like .bashrc ...
> 
> One note, though.  Be careful.  Linux will happily let you add a
> world-writeable directory to the beginning of your path.  In that
> case anyone could add a shell script named 'mozilla' into that
> directory and when you type mozilla you will run it.  If it does
> whatever it wants to, and then runs the regular mozilla, you
> probably won't know that someone has hijacked your system.  For
> this reason some recommend using symlinks or typing the full
> path.  They must type faster than I do  ;-)
> 
> -- 
> Jan Wilson   _/*];  [EMAIL PROTECTED]
> Corozal Community College|  |:'  Corozal Junior College
> Corozal Town, Belize |  /'  Central America
> Visit our Corozal site   |_/ http://www.corozal.com
> 




Re: [newbie] path

2000-04-17 Thread Mike Corbeil

Pittman, Merle wrote:

> add the "PATH=/dirpath/Mozzilla" line to your ".kshrc" file or ".bashrc"
> file, depending on what shell you run.

Should not be added to either of those files; it should be added to
.bash_profile, which is only sourced upon initial login.

.bashrc is sourced every time you open a  terminal window and the PATH
generally doesn't need to be sourced every time you open a  terminal window.
It normally only needs to be  set once.

However, if the person having this trouble wants other users to  be able to
run mozilla or mozzilla, how ever it's spelled, then this should be added to
the system-wide file, which is /etc/profile.

The other option is to set it in  root's local .bash_profile file and copy the
change to the /etc/skel/.bash_profile file.  These skel files get copied to
each user's account home directory when ever a new user account is created,
whereas /etc/profile is executed when ever any user  logs in, every time the
user logs in, but not every time a terminal window is opened (as for the
$HOME/.bashrc file).

Nothing will get broken by placing the PATH definition in .bashrc, but the
PATH variable is not an item that changes dynamically or anything of the sort;
therefore, .bash_profile is the more appropriate of the two files for this,
that is, other than for /etc/profile.

If you don't want to place the PATH definition in /etc/profile, but  still
want users to have access to mozilla, then place the definition in root's
.bash_profile file and update the one in the /etc/skel directory.

If you only want some users to have access to mozilla, but not all users, then
you could place the definition in /etc/profile and then add the directory to
PATH while using code to exclude the users you don't want to allow access to
mozilla.

I don't know mozilla; therefore, I don't know the name of the executable.  You
don't, however, want to include the name of the executable in the PATH.  Only
directories are specified in PATH.

The only other  alternative to  modifying  PATH would be to create an alias.
This would leave PATH unchanged and assuming the mozilla executable is
installed in /usr/local/bin, say,  and this directory is not in PATH, the
alias would be

alias mozilla='/usr/local/bin/mozilla'

If mozilla, however, is in /usr/local/bin and this directory isn't in PATH,
then add the directory to your PATH, in the .bash_profile file.

.bash_profile and .bashrc have dot's for the first character of the name, to
cause these to be normally hidden files.  In /etc directory, the files don't
have a preceding dot, albeit the files in /etc/skel do, because these are used
for creating the skeleton files for the home directories of users, when new
user accounts are created.

Hence, in /etc (but not /etc/skel) don't put a dot in front of the names of
bashrc and profile.  I don't  know why /etc/profile was used, instead of
/etc/bash_profile, but it may be for compatibility with ksh, because ksh also
uses profile in /etc, while using .profile in the user home directory and
.kshrc instead of .bashrc.

Check where the mozilla or mozzilla executable is located.  If it's in a
system bin directory, then you can add this directory to PATH.  If mozzilla or
mozilla is under root's home directory, then only make the change to
PATH locally to root, so only root has access to it, that is, if that's where
the moz* executable is supposed to be installed.  If that's not where it's
supposed to be installed, then moz* should be reinstalled correctly.

Whether or not it's installed from an rpm, you'ld need to look on the cdrom to
find out.  If it's in an rpm, then it should be under Mandrake/RPMS.  You can
mount the cdrom and run the find command to find out where the install package
is,

find /cdrom -name '*oz[z]illa*'

or use /mnt/cdrom if you don't have a /cdrom on your configuration.

The *'s in the find command are for wildcard searching, and the z with []
indicates that the second z is optional.  I'm not sure exactly how it's
spelled.

Alternatively, to do case insenstive searching, there may be an option for
find (you'ld need to look at the man page for find to see), you could run find
as

find /cdrom | grep -i "moz"

If you don't have /cdrom, but do have /mnt/cdrom and would like a shortcut,
then create /cdrom as a symbolic link to /mnt/cdrom

ln -s /mnt/cdrom /cdrom

You need to be logged in as root, or to su to root, to create this symbolic
link, because only root has write access in /.

mike





RE: [newbie] path

2000-04-17 Thread Rich Foreman

Mike,

If I just type mozilla, it gives an error..  I am not at the linux box right
now, so I can't give the exact error.

Thanks,

Rich

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Mike Corbeil
Sent: Monday, April 17, 2000 7:14 AM
To: [EMAIL PROTECTED]
Subject: Re: [newbie] path


rich wrote:

> I know this is probably a dumb question, but how do you add a directory to
the
> path  For instance, instead of going to /root/mozilla/ to run
./mozzila,
> I would like to be able to type ./mozilla in any directory.
>

I don't know if your question's been answered, yet, or not, because I'm
ripping
through the many emails I have; however, no, you would not like to do that.
./
always means the present working directory.

What you would like to do is to be able to simply type

mozilla

without the ./ or any / or dot.

Try this.  If mozilla is installed, then this should work.

If this doesn't work, then more direction is needed, but will wait for your
reply.

mike






Re: [newbie] path

2000-04-17 Thread Jan Wilson

* rich <[EMAIL PROTECTED]> [000416 22:04]:
> I know this is probably a dumb question, but how do you add a directory to the
> path  For instance, instead of going to /root/mozilla/ to run ./mozzila,
> I would like to be able to type ./mozilla in any directory.

If you type ./mozilla you are saying, "run the executable file
mozilla, which you will find in the current directory." So that
has nothing directly to do with the path.

The path you are talking about is the environment variable
$PATH, which gives a sequence of directories to search if no path
is given.  That is, you type 'mozilla' rather than './mozilla' or
'/usr/bin/mozilla' or whatever.  It is usually set in shell
scripts in /etc/profile, or in the directory /etc/profile.d/ or
in the user's home directory in a file like .bashrc ...

One note, though.  Be careful.  Linux will happily let you add a
world-writeable directory to the beginning of your path.  In that
case anyone could add a shell script named 'mozilla' into that
directory and when you type mozilla you will run it.  If it does
whatever it wants to, and then runs the regular mozilla, you
probably won't know that someone has hijacked your system.  For
this reason some recommend using symlinks or typing the full
path.  They must type faster than I do  ;-)

-- 
Jan Wilson   _/*];  [EMAIL PROTECTED]
Corozal Community College|  |:'  Corozal Junior College
Corozal Town, Belize |  /'  Central America
Visit our Corozal site   |_/ http://www.corozal.com




RE: [newbie] path

2000-04-17 Thread Pittman, Merle

add the "PATH=/dirpath/Mozzilla" line to your ".kshrc" file or ".bashrc"
file, depending on what shell you run.

> -Original Message-
> From: Mike Corbeil [SMTP:[EMAIL PROTECTED]]
> Sent: Monday, April 17, 2000 9:44 AM
> To:   [EMAIL PROTECTED]
> Subject:  Re: [newbie] path
> 
> rich wrote:
> 
> > I know this is probably a dumb question, but how do you add a directory
> to the
> > path  For instance, instead of going to /root/mozilla/ to run
> ./mozzila,
> > I would like to be able to type ./mozilla in any directory.
> >
> 
> I don't know if your question's been answered, yet, or not, because I'm
> ripping
> through the many emails I have; however, no, you would not like to do
> that.  ./
> always means the present working directory.
> 
> What you would like to do is to be able to simply type
> 
> mozilla
> 
> without the ./ or any / or dot.
> 
> Try this.  If mozilla is installed, then this should work.
> 
> If this doesn't work, then more direction is needed, but will wait for
> your
> reply.
> 
> mike
> 




Re: [newbie] path

2000-04-17 Thread Mike Corbeil

rich wrote:

> I know this is probably a dumb question, but how do you add a directory to the
> path  For instance, instead of going to /root/mozilla/ to run ./mozzila,
> I would like to be able to type ./mozilla in any directory.
>

I don't know if your question's been answered, yet, or not, because I'm ripping
through the many emails I have; however, no, you would not like to do that.  ./
always means the present working directory.

What you would like to do is to be able to simply type

mozilla

without the ./ or any / or dot.

Try this.  If mozilla is installed, then this should work.

If this doesn't work, then more direction is needed, but will wait for your
reply.

mike





Re: [newbie] path

2000-04-16 Thread Ribbo

On Sun, 16 Apr 2000, rich wrote:

> I know this is probably a dumb question, but how do you add a directory to the
> path  For instance, instead of going to /root/mozilla/ to run ./mozzila,
> I would like to be able to type ./mozilla in any directory.
> 

put/add it on your ~/.bashrc file
for example,
alias mozz='/usr/local/share/mozzila/mozzila'

logout and re-login
hope it works, i havent try mozzila yet


-- 
Rib

Matrimony isn't a word, it's a sentence.




[newbie] path

2000-04-16 Thread rich

I know this is probably a dumb question, but how do you add a directory to the
path  For instance, instead of going to /root/mozilla/ to run ./mozzila,
I would like to be able to type ./mozilla in any directory.

Thanks,

Rich