Show applications in terminal
The main Applications directory is in the root directory, so you need to type

cd /Applications
ls -1


to access it (the -1 option to ls will ensure that the applications are listed in a single column only).