'man' is a command for accessing documentation on Linux and other Unix and Unix-like systems.

learn more… | top users | synonyms

0
votes
3answers
73 views

What does `grep -1` do?

I'm trying to make sense of the following shell command, to get a list of packages that can be updated: dpkg --get-selections | xargs apt-cache policy {} | grep -1 Installed | sed -r 's/(:|Installed: ...
1
vote
2answers
127 views

What does “sw” option mean in /etc/fstab?

In my Ubuntu 14.04 /etc/fstab, I have following line: UUID=e4YGg1-2bHU-Ylum-3FwK-MK3s-1Fjf-ZvQEh2 none swap sw 0 0 Which seems pretty current for swap. I can't ...
1
vote
1answer
24 views

What is the difference between $man and man on a mac

On a terminal, the commands $man and man seem to do slightly different things. For example $man open vs. man open. It looks like $man is the same as man except it prints the output directly instead ...
22
votes
3answers
11k views

Where are man pages stored in Ubuntu?

I hope my question isn't too trivial, but I've never actually needed to know this before. In which directory can I find the files of the man pages, i.e. the read-only text file opened when you type ...
15
votes
6answers
1k views

How to jump to a particular flag in a Unix manpage?

When reading a Unix manpage in the terminal, how can I jump easily to the description of a particular flag? For instance, I need to know the meaning of the -o flag for mount. I run man mount and want ...
0
votes
2answers
42 views

MANPATH not set on Scientic Linux 5.5

On a Scientific Linux 5.5 installation the $MANPATH is not set. I've got environment modules installed, this might cause an overwriting of the $MANPATH, but I'm not sure about that. So my main ...
1
vote
1answer
41 views

Man pages are outdated

Background: I recently learned about the mv -t flag option in bash, but when I checked the man pages on my computer, there was no mention of it. The man pages were dated 9 July 2002. I ssh-ed into ...
0
votes
2answers
77 views

How to parse man pages in Windows?

Here is a raw man page. Is there a way I can parse it under Windows to make it more readable?
10
votes
2answers
1k views

Searching for a specific option in a man page

I often find myself man'ing a command just to learn about one specific option. Most of the time I can search to the option just fine, unless it's something like ffmpeg or gcc where I have to step ...
1
vote
2answers
209 views

Documentation on “BSD General Commands”

I cringe to ask this question, but for many commands on OS-X and probably other POSIX systems, it's difficult for me to find needed documentation on the built-in commands. For example, if I want to ...
0
votes
1answer
50 views

show man pages in terminal without a pager

man defaults to using a pager. For short pages, I want to just echo them to the terminal without paging. I'm on OS X. Things I've tried: man -t man #produces PostScript output man ...
29
votes
2answers
20k views

How do I search for a word or a phrase in the Linux 'man' command and cycle through the found solutions?

When looking for a certain word or phrase in the man page of Linux command, one can type '/' followed by the word or phrase to search for it. What I'd like to be able to do is to search for the next ...
15
votes
4answers
2k views

What are the license(s) of the Linux man pages?

What is the license on the Linux man pages? GPL, Public Domain, etc? The Wikipedia page about the man doesn't appear to have any info about the licensing status of the man pages.
1
vote
2answers
29 views

How to read the man page for git revert?

When I do a man git revert, I get the man page for git: NAME git - the stupid content tracker SYNOPSIS git [--version] [--help] [-C <path>] [-c <name>=<value>] ...
1
vote
2answers
1k views

Cygwin: man no longer works

I have cygwin installed in the default folder (C:\cygwin) on Windows 7 Pro. Up until a few months ago (not sure how long), man pages worked fine. Then came an update, and now man anything displays ...
13
votes
4answers
2k views

bash: colorized man page

Where do I have to take a look at in the system to colorize the man pages? The man pages are viewed with less, so I tried adding the following lines to my .bashrc to change the colors: (Which works ...
1
vote
8answers
346 views

How can I get file information in 'less' like with 'man'?

When I view a file in Linux with the 'less' command, I often only get a ":" prompt in the bottom left corner. There's no clue about how long the file will be, or at which location I am currently. When ...
2
votes
2answers
81 views

Linux “man” pages appear as gibberish in CentOS

On my CentOS 6 box, all the man pages and some tools that support --help show gibberish. For example, if I type: man man I get this: ^HZ[wã¸~ǯÀjZÊèvg:=3ÌlËm’¾­¤ÞÎl<;HHBL´Z}òãSe{l?´)B¡ê«¯ ...
1
vote
0answers
291 views

How to install manpages on FreeNAS 9.3?

I'm having enourmous trouble installing manpages on FreeNAS 9.3 (based on FreeBSD 9.2-RELEASE-p15). I tried: installing pc-sysinstall from ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.2-...
2
votes
0answers
191 views

Man command freezes computer for ~30 seconds

Every time I run man to access a manual page my entire computer freezes for about 30 seconds. My MANPATH is "/Library/init/zsh/man:/opt/local/share/man:/usr/share/man:/usr/local/share/man:/usr/X11/man:...
0
votes
1answer
24 views

What is the most effective way to fix content in older linux manpages like traceroute?

Today I was reading through the manpage for traceroute when I came across this passage: "There is a couple of additional options, intended for an advanced usage (another trace methods etc.):" I ...
3
votes
4answers
674 views

man page command: man 3 vs. man

I'm wondering what's the difference between "man 3 command" vs "man command"? I read in wiki (http://en.wikipedia.org/wiki/Man_page) that man 3 is used in Linux in section 3 of the man pages. And ...
1
vote
1answer
2k views

How can I install C++ man pages manually?

Sadly, yum install libstdc++-docs doesn't work for me: No package libstdc++-docs available. So, I can only install it myself. I've found the C++ man pages here, how can I install it? I guess ...
1
vote
3answers
72 views

Access man page for package?

After installing the gcc-arm-none-eabi package on Ubuntu, I can't find the tools or the manpage even though it appears the documentation is available: $ find /usr/ -iname gcc* /usr/bin/gcc ... /usr/...
0
votes
1answer
24 views

What does it mean in the man page of shutdown that Requests that the system be halted after it has been brought down?

Today when I was reading the man page of shutdown, it made me confused a lot. Take -H as example. I just could not understand the "after it has been brought down". What does it specify exactly? What ...
0
votes
3answers
177 views

Open man page using nano

I want to open man pages in another text editor, in this case "nano". Does anyone know how I can achieve this please?
2
votes
2answers
4k views

where's the man pages for sizeof function in c lib?

How come there's no man pages for sizeof c function ? $ man 3 sizeof No manual entry for sizeof in section 3 $ man sizeof No manual entry for sizeof I see man pages for other c functions if I do ...
2
votes
1answer
527 views

Colored man pages but git --help is not in ZSH

I have colored man pages according to: alias man="TERMINFO=~/.terminfo/ LESS=C TERM=mostlike PAGER=less man" so man less looks like but git blame --help is uncolored
3
votes
2answers
3k views

Debian - bash is default shell, but “man sh” gives dash

On Debian squeeze. Running ps -p $$ shows bash is my current shell, ls -l $(which sh) shows sh is a symlink to bash. So why, when I run man sh, do I get the man page for dash? Is this just a bug in ...
2
votes
0answers
37 views

What does the number quoted in parentheses mean in man page of some command? [duplicate]

In the Mac OS X Mavericks terminal, inside frisk man page, there is: SEE ALSO cfdisk(8), sfdisk(8), mkfs(8), parted(8), partprobe(8), kpartx(8) Does it mean see also the eighth cfdisk or ...
1
vote
0answers
39 views

man --html - Not showing tables?

I recently discovered man --html, and am quite giddy with joy at being able to navigate the docs locally in a browser at a whim. However, it seems like certain objects, such as tables, are not ...
1
vote
2answers
53 views

How to list installed man pages and search in many mans?

I am frustrated that to use man I need to know the exact name of the topic, and usually I need to search on Internet before I can open the man page. How to list installed man pages? How to search for ...
0
votes
1answer
183 views

No manual entry for make

I'm trying to read man pages for make on my server and they are not there. Man pages for other linux commands and built-ins, however, are there. Does anyone know why this is and how to fix? Thanks. ...
1
vote
1answer
469 views

How do I see aptitude “Search patterns”? (~n, ~i, ~U,..)

While opening man aptitude I see this in many places: (see the section “Search Patterns” in the aptitude reference manual). How do I open this reference manual? I want to find patterns like ~i (...
0
votes
1answer
25 views

Search if program is installed for a particular purpose (Linux)

So, I am using Ubuntu 12.04.4 and I wonder if there is a program for opening PDF-files installed. I find that evince is installed in the system (by googling), and I stop to think if this can be done ...
2
votes
2answers
90 views

Search which man sections contain a given entry

On Linux (or any other OS that uses the man tool), there are typically several sections of the manual. Often, a given entry (such as echo or printf) exists in multiple sections, but not all of them. ...
2
votes
2answers
120 views

web-based interactive MAN pages [closed]

So, there was this website where you type a unix command and it would break the command into its arguments explaining what does what. I suppose it was based on MAN, but I'm not sure. I lost the ...
1
vote
1answer
78 views

What does man [-acdfFhkKtwW] mean?

I am fairly new to using the OSX terminal, so before I move forward, I want to get good at finding information out for myself. So, I was reading about the manpages about manpages, and I saw that I ...
1
vote
1answer
2k views

Apropos on Arch returns “Nothing Appropriate,” no makewhatis command

I've been having a problem with apropos on both my Arch linux install and my ArchBang install. When I run the apropos or the whatis command, it returns "nothing appropriate" for anything I enter, ...
1
vote
1answer
224 views

man pages don't line wrap correctly

Sometimes running man outputs badly line-wrapped text. If I run man, quit, then resize the terminal window and run man again, it formats it according to the new window width. But if I run man, resize ...
7
votes
3answers
4k views

man pages for git Bash on windows 7

I am using Git bash on Windows 7. It provides me with a way to use most of the commands that I used to use on the bash shell on my Ubuntu machine. But the man and the info commands do not work. Is ...
-1
votes
1answer
457 views

what are the types of error messages that dd outputs? [duplicate]

What are the error messages that dd outputs? I tried to look at manual, but it does not say anything about it. Or I do not know how to look at manuals (man). Edit: OK. I'll make it simple: what error ...
0
votes
1answer
277 views

Using Debian linux command 'whereis' to show files without man pages

From the 'whereis' man pages on my Debian/GNU Linux I see: -u Search for unusual entries. A file is said to be unusual if it does not have one entry of each requested ...
0
votes
1answer
392 views

\[\033[0;33m\] color code is showing up as plain text in man pages

I'm seeing the string \[\033[0;33m\] show up at the begging of several lines in my man pages. \[\033[0;33m\] is a shell color coding string that corresponds to yellow. So, for some reason instead of ...
2
votes
1answer
441 views

How do you change the background color of man pages?

Specifically, on OSX, in zsh. I'd like it when say... man man The background color is a darkish-yellow and the foreground is a charcoal gray/black. In this way I'm sure I'm looking at a man page ...
0
votes
2answers
283 views

How can I restore the man page for ls (/usr/share/man/man1/ls.1.gz)?

I was messing around with the man page files whereupon I accidentally deleted ls.1.gz, which describes the man page for ls. Is there somewhere where I can download a copy of this file which I can ...
1
vote
1answer
184 views

non-root man pages with Linux-Ubuntu

I'm working on a Linux-Ubuntu server as non-root user. I created a small application and because I'm not a privileged user I'm going to install it under $HOME/bin directory (this directory is in the $...
1
vote
0answers
1k views

cannot find man pages in osx (manpath issue)

I have OSX 10.8.3 and my man pages are not showing up. I have had this problem when I was on 10.6, but not I want to fix it. The reason why I cannot find man pages is because it is set to "/usr/local/...
2
votes
3answers
479 views

How do I find info about “sticky bits” from within Linux without having to use Google?

When I type: $ man -k sticky I get: sticky: nothing appropriate Surely there is information within the Linux OS somewhere (without having to go to Google) about sticky bits - what they are, how ...
0
votes
1answer
73 views

Fedora 17 LXDE missing man 2 and man 3 C functions

everyone. I am using Fedora 17, and I need to refer to some C functions, but man 2 malloc or man 3 malloc ( malloc for example ) are not working. Also man (function) is not working too. Any clues? I ...