All Questions
55
questions
0
votes
1
answer
66
views
Where is there a manual page for Command Line Editing shortcuts?
There are times when I would like to respond to an already existing post, here specifically, because I want to figure out the source that these people are using for the answers. The answers in that ...
0
votes
1
answer
144
views
How do I fix "E302: Could not rename swap file" when using neovim as my MANPAGER with a non-default swap directory?
I'd like to use neovim to view man pages. To accomplish this, I have the following set in my .bashrc file:
export MANPAGER='nvim +Man!'
On my MacOS system this gives me no problems. But on my Linux ...
1
vote
1
answer
898
views
Update issue with mandb and makewhatis
When I change a given manpage, apropos and whatis do only reflect these changes when I perform the following steps:
store a copy of the manpage elsewhere and delete it in /usr/local/man/man1
run ...
0
votes
0
answers
44
views
Linux: test expression
How to use test to test a expression like this:
if { [ $month -eq 03 ] || [ $month -eq 10 ]; } && [ $weekday = "So" ] && [ $day -gt 24 ]
I need to test the whole if ...
0
votes
1
answer
186
views
Bringing up all man page sections for a program at once
when I type man qmail I get No manual entry for qmail. I would like to be able to type man qmail and one screen opens up that includes all the man sections for qmail.
Is there a way I can open up ...
0
votes
0
answers
39
views
Is there an archive of man pages sorted by software version?
Is there a published archive of every man page for every (or at least the most common) linux utilities across all the different versions of said utilities?
My use case is I'm trying to figure out when ...
0
votes
0
answers
196
views
rsync - list all options alphabetically?
I'm just starting to get acquainted with rsync... it has hundreds of options, both short (single-dash) and long (double-dash).
The man pages don't list these alphabetically, either under "OPTIONS ...
1
vote
0
answers
55
views
What are these '3cxx' man pages, and how can I remove/exclude them from man invocations?
This all started because I wanted man pages on C++ types/functions. I found a repository called Cppman that was designed to scrape these pages from either cplusplus or cppreference. At this point man ...
4
votes
1
answer
4k
views
What does "wc --files0-from=F" mean in linux command
I read the manual of wc command but could not understand the explanation of this parameter. Please help.
The official explanation is below:
--files0-from=F
read input from the files specified by NUL-...
0
votes
2
answers
1k
views
View man pages via Emacs
I basically want what this question asks for. Unfortunately, its answers don't work.
For example, when I do what its most-upvoted answer says, and enter man echo, Emacs opens up and the mini buffer ...
0
votes
1
answer
33
views
Open a protected file form within man page/less?
I was reading the man page for firewalld.service and I wanted to open up the service.xml from within the man page (which I believe is less).
I know :e would do the job if I had permissions, but ...
2
votes
3
answers
4k
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: ...
15
votes
2
answers
12k
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 ...
0
votes
2
answers
154
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 ...
7
votes
3
answers
2k
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 ...