Skip to main content

All Questions

Tagged with
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: ...
Sod Almighty's user avatar
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 ...
Chris Poole's user avatar
  • 1,859