Re:The apt command: Combining apt-get and apt-cache and adds...
by iam-TJ on Saturday March 05, 2016 @01:35PM
(#11230388)
Search uses regular expressions so generally no need for grep unless you need more complex filters; --names-only has the -n short-form:
More generally apt-get and apt-cache are designed to be backward-compatible for use in scripts whereas apt is not[0]:
[0] http://manpages.ubuntu.com/manpages/xenial/en/man8/apt.8.htm...
[ Parent
| on HN ]
Re:The apt command: Combining apt-get and apt-cache and adds...
by matt_wulfeck on Sunday March 06, 2016 @01:02AM
(#11232677)
Great tip thank you!