Every time I need to start or stop Tomcat, I am navigating to:
and once I am in the folder I enter:
And to stop the server, I navigate to the same directory and enter:
I was wondering if there was a way in Linux to alias the above described process, so that from any location in the filesystem, I can simply type in something like
StopTomcat to perform the Startup and Shutdown of the web-server?