Find the answer to your Linux question:
Results 1 to 2 of 2
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 ...
  1. #1
    Just Joined!
    Join Date
    Jun 2007
    Posts
    8

    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 cassandar in a terminal in bash.

    Thanks for any help please.

    Rich Fox

  2. #2
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    you should use lower case K only. man does not support Upper case K. it has listed all supported options in output .
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

Posting Permissions

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