I want a custom command named something like "ServerStart" or something which is a combination of two commands, one after the other.
- The first command would be
cd .Server - The second being
java -Xmx7168M -Xms7168M -jar server.jar
How do I do this so this becomes one Terminal command?
/usr/bin/, you can create a folder namedbin(or whatever) in your home folder, then add it yourPATHby appending the lineexport PATH="$HOME/bin:$PATH"to your.bashrcfile. – edwin Jul 15 '14 at 01:36