The above commands are tedious to type all the time. It is possible to create small executable script files that will simplify managing the server
I have written a script that can do all of the above, and more. It has five options: start, stop, hup, pid, info.
To get a copy of this
cd ~/cgs4854/server
  cp ~downeyt/cs/public/scripts/server .
  chmod 700 server
To execute this command, just change to your server directory and type ./ followed by the script name and the option. For example
./server  start
  ./server  stop
  ./server  hup
  ./server  pid
  ./server  info