Tag Info

Hot answers tagged

42

The help command when is used with -m option can display information about builtin commands in pseudo-manpage format. For example: help -m cd | less will display information about cd command in a format almost exactly like in a manual page. Starting from this command you can wrap man command in one function in your .bashrc file as follow: man () { ...


30

Just hit /, and type your search pattern. Patterns can be regular expressions, for example, you could search for the word "option" by typing /[Oo]ption Or find all of the long arguments with /(--)[a-Z] To cancel the search, hit Ctrl+C. Some useful quantification operators are: ? for zero or one of the preceding expression * for zero or more ...


26

About UNIX(7) To answer your question of "UNIX(7)", this is standard convention of saying "The man page for UNIX in section 7 (miscellaneous)". To open a page like init(8), you would use this command: man 8 init. man regex vs man 7 regex To answer your question of the 'subtle differences' between man regex and man 7 regex: man by default opens the ...


25

Using the man program Looking at the manpage of man, man man There is the -H option, or its equivalent --html which will generate the HTML for the manual and open them in the browser. This option will cause groff to produce HTML output, and will display that output in a web browser. The choice of browser is determined by the optional browser ...


23

Man pages are the UNIX traditional way of distributing documentation about programs. The term "man page" itself is short for "manual page", as they correspond to the pages of the printed manual; the man pages "sections" (1 for commands, 2 for system calls, etc.) correspond to sections in the full UNIX manual. Support is still there if you want to print a ...


18

With the help of Gmanedit you are able to create manpages with a graphical GUI. Gtk+ Manpages Editor is an editor for man pages that runs on X with GTK+. Gmanedit is an application which allows you to edit manual pages (man) on Linux/Unix systems. It is like most common HTML editors but more easy. You need to know manpages format. ...


16

When inside of the document viewer through the man command, press h or H in order to view the man's help. From man's help screen: JUMPING g < ESC-< * Go to first line in file (or line N). G > ESC-> * Go to last line in file (or line N). p % * Go to beginning of file (or N percent into file). Another ...


11

The section numbers man will show the manpage from any section, man 7 will show the manpage from section 7. So, here 7 refers to the section of the particular command for which you are looking for the manual page. A section, if provided, will direct man to look only in that section of the manual. The sections See the following table for ...


8

Install the package named language-pack-<two letter language code> e.g. sudo apt-get install language-pack-es for Spanish Install the package named manpages-<two letter language code> e.g. apt-get install manpages-es for Spanish man pages. Set your LANG environment variable to <language>_<country>.<encoding>, e.g. ...


8

The authoritative reference is the Debian policy manual: http://www.debian.org/doc/debian-policy/ Quoting the manual: The Recommends field should list packages that would be found together with this one in all but unusual installations. Suggests: This is used to declare that one package may be more useful with one or more others. Using this field tells ...


8

You can install libstdc++6-4.5-doc to get the manuals for the GNU c++ library, and then man std_basic_string tells you about the contents of that class. You may ask: how should I know to look in that particular manpage? Well, what you want is the -k (keyword) argument to man: mbp@joy% man -k c_str .... std_basic_streambuf (3cxx) - (unknown subject) ...


7

For the man command, as you say, use /YOUR_SEARCH to find the first occurance of YOUR_SEARCH and then n to get to the next one. Use N to move to the previous occurrence. For the info command, type s to search, then enter your search term or regex. It will bring you to the first occurrence. To move to the next match, type }, to move to the previous ...


7

To see the most MACHO man page ever created use man man which will show you the man help for men! To see all the man pages available in Ubuntu use man -k . NOTE - man -k * will also work but man -k . is not the same as man -k * They both show all manuals BUT * will show some additional things or nothing depending if you run * inside an empty directory or ...


7

Info is the default format for documentation inside the GNU project, man is the much older traditional format for UNIX. Info uses Texinfo as its source format, which is a bunch of macros for TeX, and that makes it much easier to also create "good-looking" printed versions or PDFs. Generally, manpages are more about 1 specific topic (a command, a config ...


7

This bash command will dump HTML files for every man page on the system. You'll need to install the groff package first, then cd to an empty directory and run: for f in `ls -1 /usr/share/man/man*`; do n=`echo $f | sed s/[.].*[.]gz//`; man -Thtml $n > $n.html ; done This will cycle through all of the files in the /usr/share/man directory, strip off the ...


7

You can install manual pages about using a POSIX system for development as, sudo apt-get install manpages-posix-dev It will provide man pages for shell builtins. $ type cd cd is a shell builtin Now try, $ man cd CD(P) POSIX Programmer's Manual CD(P) NAME cd - change the working directory SYNOPSIS cd ...


7

First run: man apt-get Now, when you are inside manual page of apt-get, type / followed by the word/phrase to search for it and Enter. For example: if you are interested about install, type /install followed by Enter. if you are interested about --no-install-recommends, type /--no-install-recommends followed by Enter. After, you can use N and Shift+N ...


6

POSIX stipulates a number of commands are available (see the Shell & Utilities volume) and that they work in a certain way. Here are those commands: admin alias ar asa at awk basename batch bc bg break c99 cal cat cd cflow chgrp chmod chown cksum cmp colon comm command compress continue cp crontab csplit ctags cut cxref date dd delta df diff dirname ...


6

See the manual page for the man command. Ie. man man The table below shows the section numbers of the manual followed by the types of pages they contain. 1 Executable programs or shell commands 2 System calls (functions provided by the kernel) 3 Library calls (functions within program libraries) 4 Special files (usually found in /dev) 5 File ...


6

To search within the text of your manual pages, and not just their headings, use man -K. You can search for simple search strings (e.g. man -K "example text"), or use the --regex option to use regular expressions in your search. It will give you the first matching manual page; press q to close it and you will be presented with the option of reading the next ...


5

The references in square brackets on the git man page seem to be referencing footnotes from the same page rather than being references to other man page. From the bottom of the git man page: NOTES 1. Everyday Git file:///usr/share/doc/git-doc/everyday.html


5

The normal ways to do this have been suggested (see @geppettvs-dconstanzo's answer). This leaves numerous unnatural, wrong, and bad ways. So I'll deal with a couple of those. First, you don't have to read the man pages from a terminal (even though it will make you a better person). You can read them in html, for instance. You can generate the ...


5

How to use Chrome browser in kiosk-mode Use it like this: google-chrome --kiosk http://example.com chromium-browser --kiosk http://example.com tested with Ubuntu 12.04, google-chrome-stable 30.0.1599.66-1 and chromium-browser 28.0.1500.71-0ubuntu1.12.04. But only if there is no other instance of the browser running. So close all browser windows and then ...


5

Gman From the Ubuntu man page, Gman is a "GTK+ based front-end for man, a good replacement for xman." Gman provides a simple index of the man pages installed on your local system and offers several options for viewing the man pages. The default option is to have gman open the pages in xterm, but this can be modified to suit your taste. The other viewing ...


5

According to Ubuntu Manpage Repository, panel-test-applets displays installed applets in a dialog box and does nothing else. Q1. Why do I have man pages of commands that don't exist? panel-test-applets is not a command but a program that is installed and run with gnome-panel which provides the panels for the the GNOME Desktop. Q2. Maybe the ...


4

It's not man nodejs, but man 1 node. And it will be there by default. It will be installed for you with the regular installation method (e.g. sudo make install) as the tools/install.py called from the Makefile will take care of it: if 'freebsd' in sys.platform or 'openbsd' in sys.platform: action(['doc/node.1'], 'man/man1/') else: ...


4

First, find out which section your man page belongs to. If its a command, it probably belongs to section 1. You can read the manpage for the man command to see a description of the different sections and their corresponding numbers. Copy your man page to /usr/local/share/man/man1/ (change 1 to your section number if need be). You can also install it to ...


4

They have. It is man bash or man builtins. Bash is the software so it has the manual where its commands are explained. We shouldn't have a manual for every command we can give in a software. E.g ftp has some same commands like bash(e.g cd ) or same command like a binary (ls), that would be very bad to make a manual for all of these. And I didn't talked about ...


4

There is man bash-builtins they are also documented in man bash The reason they don't have manpages like man help is likely because of possible confusion with other shell's builtins or a command by the same name. I generally find this to be adequate. Both the manpages above are rather long and hard to navigate. help <command>


4

To get info for the ls command, for example, and keep it on screen after you quit, this might work: env TERM=vt220 info ls I don't think it will work as an alias, but you could make your own script called info and put it earlier in your $PATH than /usr/bin/info. env TERM=vt220 /usr/bin/info "$1"



Only top voted, non community-wiki answers of a minimum length are eligible