problem navigating man files with in bash


Results 1 to 2 of 2

Thread: problem navigating man files with in bash

  1. #1
    Join Date
    Jun 2007
    Posts
    3

    problem navigating man files with in bash

    Hi, I am slavishly trying to follow a linux book (Prep Kit General Linux 1).
    I have just started and am attempting to navigate the man pages.
    I have attempted to enter 'man -K password' hoping to see a page with a list of pages querying if I wish to view them.
    When I do this I get an error message:

    richard@richard-desktop:~$ man -K password
    man: invalid option -- K
    usage: man [-c|-f|-k|-w|-tZT device] [-i|-I] [-adlhu7V] [-Mpath] [-Ppager]
    [-Cfile] [-Slist] [-msystem] [-pstring] [-Llocale] [-eextension]
    [section] page ...
    -a, --all find all matching manual pages.
    -d, --debug emit debugging messages.
    -e, --extension limit search to extension type `extension'.
    -f, --whatis equivalent to whatis.
    -k, --apropos equivalent to apropos.
    -w, --where, --location print physical location of man page(s).
    -W, --where-cat,
    --location-cat print physical location of cat file(s).
    -l, --local-file interpret `page' argument(s) as local filename(s).
    -u, --update force a cache consistency check.
    -i, --ignore-case look for pages case-insensitively (default).
    -I, --match-case look for pages case-sensitively.
    -r, --prompt string provide the `less' pager with a prompt
    -c, --catman used by catman to reformat out of date cat pages.
    -7, --ascii display ASCII translation of certain latin1 chars.
    -E, --encoding encoding use the selected nroff device and display in pager.
    -t, --troff use groff to format pages.
    -T, --troff-device device use groff with selected device.
    -H, --html use lynx or argument to display html output.
    -Z, --ditroff use groff and force it to produce ditroff.
    -X, --gxditview use groff and display through gditview (X11):
    -X = -TX75, -X100 = -TX100, -X100-12 = -TX100-12.
    -D, --default reset all options to their default values.
    -C, --config-file file use this user configuration file.
    -M, --manpath path set search path for manual pages to `path'.
    -P, --pager pager use program `pager' to display output.
    -S, --sections list use colon separated section list.
    -m, --systems system search for man pages from other unix system(s).
    -L, --locale locale define the locale for this particular man search.
    -p, --preprocessor string string indicates which preprocessors to run.
    e - [n]eqn p - pic t - tbl
    g - grap r - refer v - vgrind
    -V, --version show version.

    I have succesfully used the similar command with lower case 'k', but using the upper case gives me this.

    I am using linux mint cassandra in a terminal in bash.

    Thanks for any help please.

    Rich Fox

  2. #2
    Join Date
    Apr 2001
    Location
    SF Bay Area, CA
    Posts
    14,936
    Quote Originally Posted by RPF1968
    I have succesfully used the similar command with lower case 'k', but using the upper case gives me this.
    Um... you're right?

    Are you maybe thinking that uppercase and lowercase should be equivalent? They are not equivalent; almost everything in Linux is case-sensitive. That includes filenames, command options, command names (which are just filenames), many command arguments (e.g. find won't accept -EXEC, but it will accept -exec), etc. You get an error with an uppercase K because uppercase K is different from lowercase k. There is a lowercase-k option; there is not an uppercase K option.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •