list applications installed in linux code example
Example 1: linux list application installation
Use this command on ubuntu:
> sudo dpkg --listfiles [appname]
Example 2: seeing all the installed apps i terminal
for app in /usr/share/applications/*.desktop; do echo "${app:24:-8}"; done