$ sudo dpkg -l > /home/user/MyDocs/.documents/installedpkgs $ leafpad /home/user/MyDocs/.documents/installedpkgs
$ sudo apt-cache search keyword