Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
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).
--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.
In other words (and for future ref), all Unix variants are CASE-SENSITIVE at the cmd line.
Generally though, lowercase is the one to use, at least for cmd names. Cmd options/switches eg -k can be either case, BUT, the lower and uppercase versions will have completely different effects, as shown by the output you got from man.
Again, on average, most options will be lowercase.
Yeah Linux is case sensitive period in basically every aspect. And you will find for some commands (not all of them, but most) that a lowercase option does one thing while an uppercase one does something else. This is why doing a help option first will be helpful so you know what works with a particular command. Another thing to consider too is that Linux does not handle filenames/directoy names the same way Windows does. Like in Windows if a directory contained spaces you could put the spaces say in a cd command and it goes on its merry way. In Linux you can't and it will say the directory does not exist. As a solution I usually put a directory with spaces in double quotes so that way it will work.
Also, there are complete sets of manpages, plus variations, avail on the web as html, so you might find that easier to read, especially for bash, which is just 1 humungous man page and not really usable, imho.
This Linux guide is much more readable: http://rute.2038bug.com/index.html.gz