Post History
If the program was installed with your package manager, the package manager should be able to tell you that. For example: $ pacman --query bash bash 5.2.026-2 If you don't know the package n...
Answer
#3: History hidden
If the program was installed with your package manager, the package manager should be able to tell you that. For example: ``` $ pacman --query bash bash 5.2.026-2 ``` ------ If you don't know the package name, you need to first figure out the full path of your command, for example: ``` $ which mbsync /usr/bin/mbsync ``` With this you can ask the package manager what package owns that file. For example: ``` $ pacman --query --owns /usr/bin/mbsync /usr/bin/mbsync is owned by isync 1.4.4-4 ``` Pacman is nice enough that it already tells me the version, but if it didn't, I would now do `pacman --query isync` to get it.