How to remove Application from Mac using terminal


I want to remove my custom install applications from my mac book air but it is not displayed in my finder/applications so I am using the terminal command line.
what is the terminal command to remove it...

  1. Open Terminal
  2. Go to Applications by entering:
    cd /Application
  3. sudo rm -r application_name hit enter
  4. Type your system password hit enter