Nice, a default system does not have apt-file, I don't think. I like to see all the methods laid out like this. Here is the Debian page about apt-file, I think it is nice:
https://wiki.debian.org/apt-file
As far as binaries already installed, and you need to check for the exact name, I used to always use the which command, but then someone told me about type. I do not know the pros and cons of each.
Both show the location of zramctl@swampdog
Back to your commamds above, thanks for the egrep tip, I like it! awk is quite handy also, but I always need to look up usage to remind myself how to use it.
I like to learn efficient ways of doing things, but, yes, as always, to each their own.
https://wiki.debian.org/apt-file
As far as binaries already installed, and you need to check for the exact name, I used to always use the which command, but then someone told me about type. I do not know the pros and cons of each.
Both show the location of zramctl
Code:
$ type zramctl$ which zramctl
Back to your commamds above, thanks for the egrep tip, I like it! awk is quite handy also, but I always need to look up usage to remind myself how to use it.
I like to learn efficient ways of doing things, but, yes, as always, to each their own.
Statistics: Posted by breaker — Wed Dec 04, 2024 8:42 pm