Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: Ritchie Logan on January 29, 2002, 03:09:31 AM

Title: disappearing man command
Post by: Ritchie Logan on January 29, 2002, 03:09:31 AM
I've just noticed that my SME5 has no man command.

If (for example) I try to do

[root@e-smith share]# man ifconfig
bash: man: command not found

Doing a whereis for the file yields the following results:

[root@e-smith /bin]# whereis man
man: /usr/local/man /usr/share/man

No great tragedy, as everything is set up the way I want, but it's just niggling me.

This was a fresh install I did at the end of October, and I've upgraded all the blades as necessary.

Any ideas ???

Thanks

Ritchie
Title: Re: disappearing man command
Post by: Damien Curtain on January 29, 2002, 03:22:02 AM
Ritchie Logan wrote:
>
> I've just noticed that my SME5 has no man command.

Yeah its not installed with the base OS. This is a huge shame, I cant understand the logic of not installing such a usefull piece of software. I noticed also on the 5.1 betas that it appears slocate isnt installed either. These are mandatory tools IMO.

> If (for example) I try to do
>
> [root@e-smith share]# man ifconfig
> bash: man: command not found
>
> Doing a whereis for the file yields the following results:
>
> [root@e-smith /bin]# whereis man
> man: /usr/local/man /usr/share/man
>
> No great tragedy, as everything is set up the way I want, but
> it's just niggling me.
>
> This was a fresh install I did at the end of October, and
> I've upgraded all the blades as necessary.
>
> Any ideas ???

Install man off the CD if it has it, or find the relevant rpm etc...

You can always run it manually though

cd /usr/share/man && (echo ".ll 8.5i"; echo ".pl 1100i"; \
gzip -dc '/usr/share/man/man8/ifconfig.8.gz'; \
echo; echo ".pl \n(nlu+10") | gtbl | nroff -mandoc | less

Much easier as man ifconfig though....
--
 Damien
Title: Re: disappearing man command
Post by: Rob Hillis on January 29, 2002, 03:32:21 AM
Damien Curtain wrote:
> > I've just noticed that my SME5 has no man command.
> Yeah its not installed with the base OS. This is a huge
> shame, I cant understand the logic of not installing such a
> usefull piece of software. I noticed also on the 5.1 betas
> that it appears slocate isnt installed either. These are
> mandatory tools IMO.

It's supposedly because the SME server isn't designed for it to be necessary to use the command line, so they've removed a lot of these commands.

I don't necessarily agree with this.  The *first* thing I do when I install SMEv5+ is to install man and slocate.  Even in an ideal world, it's likely you'll need to go for the command line once in a while, and man in particular is vital for remembering command line syntax.
Title: Re: disappearing man command
Post by: Ritchie Logan on January 29, 2002, 04:12:00 AM
Rob Hillis wrote:

> I don't necessarily agree with this.  The *first* thing I do
> when I install SMEv5+ is to install man and slocate.  Even in
> an ideal world, it's likely you'll need to go for the command
> line once in a while, and man in particular is vital for
> remembering command line syntax.

It would be nice if this were installed by default.... however I guess we wouldn't be in here doing this kind of thing if everything was supplied out of the box!

Rob... any chance you could post some instructions on installing the missing commands. I'm not very experienced with linux.

TIA

Ritchie
Title: Re: disappearing man command
Post by: Rob Hillis on January 29, 2002, 05:11:24 AM
Ritchie Logan wrote:
> Rob... any chance you could post some instructions on
> installing the missing commands. I'm not very experienced
> with linux.

It's pretty easy.  I'll assume you know how to get a shell prompt and how to mount your SME CDROM.

Go to the RPMS directory (e-smith/RPMS, I believe) and simply type RPM -Uvh man* slocate*

That's it...
Title: Re: disappearing man command
Post by: Ritchie Logan on January 29, 2002, 08:22:28 PM
> Go to the RPMS directory (e-smith/RPMS, I believe) and simply
> type RPM -Uvh man* slocate*
>
> That's it...

doh..... ah well, at least I learned something today.

Many thanks my man command is now singing and dancing.

Ritchie
Title: Re: disappearing man command
Post by: Jeff Dean on January 30, 2002, 08:52:27 AM
After those two, I always add emacs too, and mtx if I have an autoloader tape drive.  I hacked the backup script to handle my autoloader for a week-long backup on separate tapes.

jd
Title: Re: disappearing man command
Post by: ralph on June 17, 2002, 02:25:24 AM
Hi Jeff,
being about to use an autoloader as well but not too being familiar with shellstuff - could you hand it over if suitable for a adic faststor ?

thanks,

:-) Ralph