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

learn more… | top users | synonyms

1
vote
2answers
195 views

What do square brackets in bash case statement mean?

http://ss64.com/bash/case.html SHOWS case word in [ [(] pattern [| pattern]...) command-list ;;]... esac What are square brackets indicating? Other websites omit them (i.e. no [[(] etc.) ...
3
votes
1answer
24 views

How to create Info documentation?

How can I add man page entries for my own power tools? got me thinking: How would one create an Info page?
5
votes
2answers
251 views

How do I look up exit codes for applications?

I'm having difficulty locating a comprehensive up-to-date list of error codes from Bash. e.g.: $ udevadm info /dev/sdx; echo Exit code $? Unknown device, --name=, --path=, or absolute path in /dev/ ...
0
votes
0answers
18 views

Find out which arguments an application supports

I have iOS Simulator.app on Mac. Is there a way to find out what arguments can be passed to the app through the command line?
0
votes
3answers
321 views

In the command tar –cvjf foo.tbz a b c, what are a, b, and c?

I know these aren't extra flags to be passed to the tar command, aren't they just files names to be added to the archive?
2
votes
1answer
41 views

Where is using @ before a date string for seconds since the epoch documented?

GNU date and touch commands (and presumably others) use @date to define a date string as seconds since the epoch. For example: $ TZ=UTC date -d@10 Thu Jan 1 00:00:10 UTC 1970 I was answering a ...
1
vote
2answers
83 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
227 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
26 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
214 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
169 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
54 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
484 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
112 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
44 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
55 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
37 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
577 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
331 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
508 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 ...
3
votes
3answers
1k 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
177 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
422 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?
16
votes
3answers
667 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
63 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
106 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
840 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
1k 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
123 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
88 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
334 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
70 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
55 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
2k 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
524 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
239 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
626 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
357 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
114 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
165 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
95 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
46 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
54 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
373 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
160 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
131 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
211 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
315 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
252 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 ...