UbuntuThis forum is for the discussion of Ubuntu Linux.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
"Man" pages are a handy help when one knows the name of the tool. However, in my old age I often forget the exact name of the tool. It should be possible to list all man pages and sift it trough a "grep" filter and thus find the exact name of the tool that one is trying to recall. For instance, when the partitions have been created with their file systems, reiserfstune is a handy tool that I use to set label (volume) names for the partitions with reiser FS. There is a similar tool for ext3 FS, but what is its name? I remember that it, too, has "tune" in its name. I also know that both of these tools have a "man" page.
My problem is that I do not know of a way to list in CLI names of commands which have "man" pages, so I could then filter the list trough grep.
It surely must be possible and easy. In Konqueror, an entry man:/<start of a name> shows the list of commands with man pages in a drop down list. Since it is done in GUI, it should be possible in CLI.
Actually, with Konqueror I can find the command name for ext3 files, which is "tune2fs", but I would like to know a way to search for it in CLI.
does exactly what I want. Generally it would be better if before answering a question the question was read more thoroughly - I've deliberately did state that the command I was looking for is tune2fs (for ext2/ext3 file systems), so that actually I was not looking for the command, but for a way of finding a command with CLI when only a part of a command is known (or recalled).
Thanks for jolting my memory, Nylex - apropos is indeed the answer.
Apropos and man -k outputs look the same to me now, but if I remember correctly, there can be cases where their outputs differ (the other shows more or less than the other). It can just be me, but I have a picture they're not 100% the same.
Generally it would be better if before answering a question the question was read more thoroughly - I've deliberately did state that the command I was looking for is tune2fs (for ext2/ext3 file systems)
That part wasn't there when I read your post the first time and I *did* read the entire thing.
Well, Nylex, we are not going to argue about you reading it all in the first place. Let me just say, that I wrote it once and did not edit it afterwards, so whatever is in my post, it has been there since the first posting. May I suggest that you did not pay attention to what you read?
Anyway, your suggestion was very valuable and I gratefully acknowledge that with a big THANK YOU!