Questions tagged [manpage]

Man pages are the documentation pages that come preinstalled with almost all substantial Unix and Unix-like operating systems

https://en.wikipedia.org/wiki/Man_page

486 questions
2
votes
1 answer

CPackRPM compresses Man pages and then cannot find them during packaging

While creating a RPM package containing a man page (which installation path matches a list of known man locations), CPack seems to compress it using GZip, but then complains that the original, uncompressed file cannot be found. How should that…
Anton Samsonov
  • 1,380
  • 17
  • 34
2
votes
1 answer

What does it mean "short object count(or zero)?

While reading man page for fread/fwrite(GNU/Linux) functions met phrase: if an error occurs, or the end of file is reached, the return value is a short item count(or zero). Did not find that words in the dictionaries. Could you please shed some…
Bulat M.
  • 680
  • 9
  • 25
2
votes
1 answer

How to open different man page section in VIM (with K shortcut)?

Often times, there are name overloading for man page sections. For example, I tried to lookup getopt(...) with SHIFTK and vim opened GETOPT(1) but actually I wanted GETOPT(3) because I'm writing C-program. Is there a way to specify which man page…
Patrick
  • 4,186
  • 9
  • 32
  • 45
2
votes
1 answer

How to change the default version of gcc man page?

I have installed gcc-4.8 and gcc-6. The default gcc version is gcc-4.8, but I want to change the default gcc version to gcc-6, so I do the following: $ sudo update-alternatives --remove-all gcc $ sudo update-alternatives --install…
Ren
  • 2,852
  • 2
  • 23
  • 45
2
votes
2 answers

`man cc`: no info about -Wall and -g flags (Learn C the Hard Way)

I am on exercise 2 of "Learn C the Hard Way. One of the extra credit challenges is: Read man cc to find out more information on what the flags -Wall and -g do. I am on OSX and used man cc to open the manual page but it doesn't have any info…
sixty4bit
  • 7,422
  • 7
  • 33
  • 57
2
votes
1 answer

When to use fcheck() or fcheck_files() and for what?

In Linux kernel module, while calculating absolute path by file descriptor, fcheck() or fcheck_files() are used. I didn't get much information about these functions. I need to know which function is appropriate for which situation. When these…
Nitinkumar Ambekar
  • 969
  • 20
  • 39
2
votes
2 answers

Colorize man pages (with `less` pager) not working in Cygwin MinTTY

I've tried to copy all sort of color schemes to try and get colors in the man pages -- for example, like what most does by default. But I've never been successful to get something like tmux man-page search highlighting to highlight man pages, even…
2
votes
3 answers

man command output full of ^H in vim

this question seems hard to search answers by google. I executed: man cp > cp.txt vim cp.txt there are many "^H" in the file, it maybe backspace, how to get rid of them?
thinker3
  • 12,771
  • 5
  • 30
  • 36
2
votes
1 answer

Managing Emacs *Man* buffer location?

Emacs behaviour which recently[*] started to irritate me: I edit the file, and need some help M-x man something emacs politely splits frame into two windows and opens manpage there, I see both source and man, great while reading man I find that I…
Mekk
  • 1,441
  • 10
  • 12
2
votes
4 answers

What does it mean "See something(3) or see something-else(5), etc..." in the man of a command in terminal?

I have a simple question I made my self but didn't find any answer and hints. When I type for the man entries of a command, e.g. "man git", I get the following: ... DESCRIPTION ... See gittutorial(7) to get started, then see Everyday…
tonix
  • 6,671
  • 13
  • 75
  • 136
2
votes
0 answers

Manual entries missing in MinGW-MSYS

I installed MinGW with MSYS on my Windows 8.1 computer so I can work in the same conditions at school (we work on Debian) and at home for compiling C programs with GCC, using makefile and the manual. I installed the manual with this command :…
Seeven
  • 969
  • 1
  • 8
  • 24
2
votes
0 answers

Ls (-h) man page wrong on Yosemite?

When i view the man page of ls on Yosemite I read the following: -h When used with the -l option, use unit suffixes: Byte, Kilobyte, Megabyte, Gigabyte, Terabyte and Petabyte in order to reduce the number of digits to three or less…
Youri Thielen
  • 440
  • 4
  • 10
2
votes
1 answer

UNIX man command to find list of man sections

I'm working on a lab that is supposed to help us better navigate the command line on a Linux system, but I'm getting stuck on man pages. We are supposed to use the man command to find a list of the man page sections, adn I can't seem to figure out…
user2932587
2
votes
1 answer

Build help menu for extensive BASH script

For a certain extensive BASH script I want to build a help menu, similar like the one you see when you run mplayer --help for example. Usage: mplayer [options] [url|path/]filename Basic options: (complete list in the man page) -vo
CousinCocaine
  • 591
  • 6
  • 20
2
votes
3 answers

Shell scripts : Use command in awk

This is my code awk '{a[$1":"$5]} END{for(i in a) { split(i,b,":"); split(b[2],c,"["); print b[1],b[2] } }' /var/log/messages The output would be: (display Month and the Process…
YOHO
  • 77
  • 7