All Questions
2
questions
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: ...
0
votes
2
answers
791
views
`man bash | grep ulimit` returns nothing
I know that the builtin command ulimit is listed in the bash man page.
Grepping for it doesn't return anything though. Why?
grep and man both work fine, man bash | grep strings returns several ...