0
votes
0answers
20 views

[Solved]man crashes on OS X after upgrading bash and its manpages

Bash on OS X is always so old that I finally decided to compile a never(4.3.18) one and simply override and replace the old one. Here are the configure flags I used: ./configure --prefix=/ ...
2
votes
4answers
150 views

How to divide the output of one command by the output of another?

I would like to know the server load divided by the amount of CPU cores in order to judge which servers are overloaded. I can get the amount of CPU cores with: $ grep -c processor /proc/cpuinfo 2 I ...
1
vote
1answer
27 views

Forwardticks in example command in `man emerge`: local misconfiguration or typo?

In Manpage of EMERGE it is stated: To find files that need to be updated in /etc, type find /etc -iname ´._cfg????_´* Taking a closer look at it (copy-pasted from terminal -- not from the online ...
0
votes
1answer
53 views

Better help for bash?

I needed to know syntax for for loop in bash in a certain range of numbers. I typed help for but it didn't have this information. Then I learnt from some online article that the syntax is for i in ...
4
votes
1answer
47 views

Where is the description of man sections' contents?

I have read in many places that section 1 is about User Commands , section 2 about kernel API , section 3 about C library ...so on and so forth. My question is this: How do you get to the short ...
15
votes
1answer
511 views

How does “man” restore the screen when I quit the program?

If I open a man page of a program like cat or ls, it prints (may not be the appropriate word) the contents of the man page and when I press q, it shows the screen just like before invoking the man ...
4
votes
2answers
1k views

Can I create a man page for a script? [duplicate]

Possible Duplicate: How can I add man page entries for my own power tools? Most (if not all) Linux commands have their man pages that describe their usage options etc. Can I create similar ...
6
votes
1answer
240 views

Call man in bash shell for command under cursor

In zsh I can do Esc h for any command, get man page for this command, quit from the man pager and get my command back with all arguments. For example in my shell is entered: zsh# tar -czvf docs.tgz ...
4
votes
2answers
431 views

'man' page is too narrow (not taking advantage of terminal size)

I'm making my first 'man' page and I'm using groff to do it. However, when I "compile" it and view it, it only takes up a certain amount of columns in my terminal. I've tried viewing other man pages ...
14
votes
2answers
1k views

Can I get individual man pages for the bash builtin commands? [duplicate]

Is there anywhere you can download a manpage for every builtin commands? I know you can just use help or man bash and search to find info about it, but I want them separated, so I can just do man ...
2
votes
0answers
77 views

What are the difference between man1, man2, man3… folders? [duplicate]

Possible Duplicate: What do the numbers in a man page mean? What are the differences between manX pages? Why are they separated?