which of the following commands will display a list of all installed packages code example
Example: how to check installed packages in linux command
dpkg-query --list | grep -i nano
ii nano 2.9.3-2 amd64 small, friendly text editor inspired by Pico