All users on buntu systems have a special startup script file stored in their home directories that is read every time they log in to the system using a so-called nonlogin or interactive shell. All commands listed there are run as if they were literally typed in at the command prompt. This file is called
.bashrc (bash stands for bash shell which is the default shell used on all buntu systems and rc stands for resource configuration). Open that file using the nano text editor like this:
$ nano ~/.bashrc
Move the cursor to the very bottom and place your commands there (not exactly sure what you are using them for):
java -jar abc.jar
q/l32/q -p 8712
ctrl + O to save the file and
ctrl + X to exit. Now, the next time you boot up your computer, all these commands are going to be run automatically for you.
Your first question:
How do I run these bash files individually?
You need to make them executable:
$ chmod a+x [FILE]
Then, run them from the command like by just specifying their names. For example, I've got the following script (actually, there are a million ways to run executable files at the command line):
echo "Hello World!"
Now, I need to make it executable:
$ chmod a+x script.sh
And now I can run it:
$ bash ./script.sh