Attempting to run find command gives "Permission denied"
You need to be root to access certain system directories. Prepend your command with sudo:



sudo find / -iname *.app &gt; ~/applications.txt


This will give a prompt for your password:

Password:


Enter your password (the characters will not be shown), then press Enter. The find command will then be run as root and have access to the directories.