Manuals or other information for system users detailing software features and functionality.

learn more… | top users | synonyms

1
vote
2answers
53 views

man pages: meaning of '2' in STAT(2)? [duplicate]

What's the significance of the number, like the 2 in STAT(2), seen in man pages? For example, man 2 stat yields a man page with STAT(2) at the top and a description that begins, The stat() ...
1
vote
1answer
27 views

Understand `compgen` builtin command

From help compgen: $ help compgen compgen: compgen [-abcdefgjksuv] [-o option] [-A action] [-G globpat] [-W wordlist] [-F function] [-C command] [-X filterpat] [-P prefix] [-S suffix] [word] ...
2
votes
1answer
22 views

Force installation of doc packages

I often find myself missing documentation when I happen to be offline. For this reason, I would like to force aptitude to install the corresponding doc packages whenever I install a package. Is there ...
1
vote
3answers
110 views

How to install/make the kernel section 9 manpages which document its functions and data structures?

The kernel sources contain functions and data structures which are documented, for instance in panic.c: /** * panic - halt the system * @fmt: The text string to print * * Display a message, ...
3
votes
3answers
157 views

Interactive command usage reference: do you generally have that on Unix?

The question of why some commands rely on manpages whereas others rely on something like the --help flag for providing command usage reference is not new. There is usually a difference in scope ...
3
votes
1answer
50 views

Is there a man section or other doc repository for data structure definitions?

For the millionth time or so I had to look in /usr/include/foo.h to find the members of a struct foo or foo_t or whatever. There's a man section for library and kernel calls, some of which include ...
2
votes
1answer
187 views

Where is the documentation for net.ipv4.conf.all.log_martians?

Where is the documentation for net.ipv4.conf.all.log_martians sysctl setting? There are man pages for various other TCP/IP/UDP (man 7 tcp, man 7 upd, man 7 ip) settings, but I cant find the ...
3
votes
1answer
104 views

Reading Ubuntu installed magazines

I installed a digital edition of a magazine from the Ubuntu Software Center. But how do I read it? Is there an accessory tool to access it?
1
vote
0answers
35 views

Learning to use ksh88 in HP-UX [closed]

I am just a plain Linux user who played some distros since 2-3 years. Now, in the company I work there's an HP-UX server. And when I get connected to it I really felt myself like a grandma seeing ...
4
votes
1answer
45 views

POSIX usage standards for requiring at least one optional arg

So, I'm writing a CLI for an API, and I ran into a point where one of the commands support has two optional arguments, id and fields I want to know how to show that these arguments are optional, BUT, ...
0
votes
2answers
32 views

Where can I view a changelog for the sort command

I need to find sort's version when the -V flag was introduced. But I am finding myself some hard time finding the changelog for this command. Where can I view it?
2
votes
1answer
19 views

Correct way to document variable length options in man pages

Sometimes I see usage information like some_utility [arg [arg [...]]] or some_utility [arg[, arg[...]]] that indicates that you can pass more than one of the same argument. I've also seen it ...
10
votes
2answers
294 views

How to document my custom bash functions and aliases?

Problem: I have multiple bash functions and aliases. I can't remember all of them off the top of my head, so I usually end up opening my .bash_functions and .bash_aliases files to find what I need. ...
3
votes
1answer
172 views

Where do I find ioctl EVIOCGRAB documented?

I want to use the ioctl EVIOCGRAB function in a C based program, and from googling around I have found various bits of example source code that use the function, but I am struggling to find explicit ...
3
votes
3answers
434 views

if/then/else man page

I would like to know if there is any man page documenting the construction of the most basic script commands like if/then/else, while, for each, and all the relative switches, like -eq, -e, -ge, and ...
2
votes
3answers
625 views

Where is “showing the output of the 'ls' command vertically” documented?

I found out it's possible to show the output of the ls command vertically using the -1 switch: $ ls -1 But couldn't find it in the manual of ls. Is it a secret option?
0
votes
2answers
121 views

Where are netstat's -t and -u flags documented?

I use the following command to find open ports on my servers: $ netstat -ntulp I've probably found that on some random website over the years. However, I cannot find where -t or -u are documented. ...
0
votes
2answers
223 views

How do I get the list of exit codes (and/or return codes) and meaning for a command/utility?

Is there a way I can do what stated in the title from the terminal commands, or will I have to look into the codes?
14
votes
3answers
524 views

Documentation: Architecture of Linux Session

I'm looking for a good overview documentation describing the the stack of daemons and services involved in a modern Linux session. Although having read various documentation about dbus, and systemd ...
1
vote
1answer
62 views

Why there is no Linux Handbook?

Look e.g. onto the BSD's family: FreeBSD Handbook: http://www.freebsd.org/doc/en/books/developers-handbook/debugging.html OpenBSD FAQ, nearby FreeBSD's Handbook: ...
6
votes
1answer
80 views

List of error messages available for a command in Unix

Is it possible to find out what error messages a command includes? For example I want to see the list of error messages that mkfs.ext3 command will print in different error situations. Shall I look ...
2
votes
2answers
433 views

where does lspci gather its information from?

In kernel.org's documentation on proc I found "[The latest version of this document is available online". There I says: "… lspci is a synonym for cat /proc/pci". Which isn't the ...
2
votes
1answer
661 views

Where are the CentOS 6.4 documents?

I'm only able to find up to version 5 on CentOS.com: http://www.centos.org/docs/ Even though CentOS 6 was released back in mid-2011..
1
vote
3answers
114 views

Is there any manual about C in Linux? If any, what is it?

While I find that we can read some manuals about Library calls (C library functions) & acsii in Linux. But I still do not find any manual about C precedence order so far. So you can recommend ...
5
votes
1answer
86 views

Where would I start looking for documentation on the graphical mode of the Linux console?

I'm writing my own display server as an educational exercise. Where in the Linux kernel tree would I look for documentation on the console's graphical mode? Basically, as I understand it, Xorg takes ...
1
vote
2answers
240 views

Is the Unix Programmers Manual relevant for Linux?

I've been looking for an all around Linux Programmers manual but there isn't one... So that leads me to ask if the Unix Programmers Manual is relevant for Linux? The manual is here: ...
2
votes
3answers
68 views

Is there html documentation finder/searcher, like info utility for info files?

Many packages have their documentation in html. Is there some sort of man or info utility to find locally installed html documentation and work with it? I mean, I need a program which would ...
2
votes
0answers
53 views

Linux kernel API changes/additions

I'm trying to find a webpage or docs or XYZ that will allow me to see all the API changes/additions/removals between two kernel versions. I found http://kernelnewbies.org/LinuxChanges, but I'm not ...
11
votes
2answers
1k views

Does `kill -p` really work?

In the man page of kill it is written as following SYNOPSIS kill [ -s signal | -p ] [ -a ] [ -- ] pid ... kill -l [ signal ] -p Specify that kill should only print the process id ...
2
votes
2answers
408 views

What does the `who` command result `root :0` mean?

The return value of command who will always include root :0 in X Window pts. I guess it actually means the GNOME login. Am I right? Another question is where to get this knowledge, as I don't see it ...
0
votes
1answer
176 views

command --help vs man command [duplicate]

What is the difference between invoking the help using a --help key compared to invoking a "man command"? When should I choose one over another.
2
votes
2answers
429 views

Where can I find some good documentation for bash printf?

man printf, info printf and printf --help are all pretty useless to me; I want an explanation of the FORMAT options. For example, I could use: printf '%s\n' foo bar and get output: foo bar From ...
0
votes
1answer
292 views

ip function exit code

I use use ip by system("ip link set eth0 up") in a C program. I know that system returns -1 if it fails and returns what the called function returns(exit). E.g., if eth0 is not exist on the system, it ...
1
vote
1answer
97 views

Where can I find the user documentation for my old Freenas 0.7?

Every document links seem to have been replaced with the notice (to force me) to upgrade. I know that I am supposed to upgrade but I would like to get hands on the old FreenNAS 0.7 Khasadar user ...
1
vote
1answer
139 views

Looking for /procfs documentation, describing values and units of measurement

Surprisingly, comprehensive documentation for /procfs is hard to find. For my specific question, I am looking at: cat /proc/1/statm (let's use pid=1 because it seems to be always there). I just ran ...
3
votes
2answers
88 views

Reference documentation for cgroups (control groups) settings

I'm looking for some reference documentation to explain what each of the settings are, for each control group. For example, there's cpuset.cpus, I think setting this to 0 means use all CPUs, setting ...
0
votes
1answer
44 views

User policy for a *nix system

I would like to create a document that specifies the policies that rule the use of a *nix system from the user perspective, something like TOS (Terms Of Service) / Privacy Policy you find these days ...
2
votes
3answers
53 views

How to match name exactly with Bash's `help` builtin?

It seems the Bash built-in help command help does some really strange globbing: help read shows the documentation for read, readarray and readonly. help rea? shows only the documentation for read. ...
12
votes
2answers
353 views

How updated and relevant is “The Linux Documentation Project”?

I have been advised by many senior Unix/Linux Administrators to go through "The Linux Documentation Project" on the site www.tldp.org. Its undoubtedly a very rich site, but I saw many tutorials (as ...
5
votes
2answers
148 views

Is there a readme reader like man?

man is the quick interface to online reference manuals. These are usually stored in /usr/share/man/manN/blah.gz, or similar. Most debian packages also come with a README.debian, which is stored in ...
0
votes
1answer
123 views

Where can I find historical documentation for bash?

Are there any sources for documentation for old versions of some GNU software, in this case particularly bash? I have a embedded system that is running bash 3.00.16, and I'm trying to do some shell ...
3
votes
6answers
204 views

Extracting help message from script itself

I want that my help message be extracted from the script itself. #!/bin/bash # # foo - do things # Author: John Doe <jhon@doe> # ---------------------------------------------- # SYNOPSIS # ...
11
votes
3answers
300 views

Where to find explanation of kernel processes?

I want to know about kernel processes, like [migration], [kswapd], etc. Where are kernel processes like these documented?
4
votes
1answer
229 views

unixODBC documentation / manpage?

Just wondering if there is any official documentation for unixODBC, e.g. how the configuration files have to look like and what parameters they expect? (I am using only a shell, no GUI) Even ...
3
votes
1answer
2k views

Where are the command-line options to perl documented?

On StackExchange I came across a command that looked like this: perl -pe ... Curious what the -pe options meant, I did man perl. This is the synopsis of that man page: perl [ -sTtuUWX ] [ ...
1
vote
1answer
178 views

How do I localize man pages for chinese?

Doing the prerequisite google search didn't turn up anything: I'm looking for a way to install and use localized chinese versions of the man pages (assuming there is some localized package somewhere). ...
4
votes
2answers
373 views

Viewing Debian documentation offline

How do I read various manuals, guides and howtos, which are usually in the form of deb packages with names ending in -doc and installed in /usr/share/doc directory?
2
votes
2answers
941 views

List of available command options?

I'm currently setting up my first web server without a control panel and so far things are going pretty good! I was just wondering if anyone could direct me to somewhere that explains all of the ...
4
votes
1answer
366 views

Writing command synopsis in standard man format

I am writing a script and in the usage() function I want to specify the usage. My script uses either option1 or option2 or both. One of them is mandatory. Is there a standard way to write it up?
2
votes
1answer
393 views

What is the significance of the “1” in ls(1)? [duplicate]

Possible Duplicate: What do the numbers in a man page mean? I see functions referred to with numbers in the parenthesis in documentation. What does this mean? It takes one argument? ...