How to get package version in one command line in bash
How to get package version in one command line in bash I’m trying to get the installed version of systemd in the following command, but it returns all lines contain the keyword "systemd". # dpkg -l | grep " systemd " ii gnome-logs 42.0-1 amd64 viewer for the systemd journal ii libsystemd0:amd64 249.11-0ubuntu3.12 amd64 systemd …