How to export mac applications’ names into TXT file

mdfind -onlyin /Applications kMDItemKind="Application" > ~/Desktop/apps.txt

and

mdfind -onlyin ~/Applications kMDItemKind="Application" > ~/Desktop/apps.txt
ls -R ~/Library/Fonts | grep ttf

Posting daily about Python, Nuclear Physicist PhD

Posting daily about Python, Nuclear Physicist PhD