guy's basic principals first please. crawling, walking then running please!
Remember single instructions first, learn how it works, understanding what u are trying to do...from asking the question till getting the answer u need to understand what u are doing!
It needs to make sence, okay.
The same with giving commands, u need to know what must or should be your intended result, the question, the answer, the command or instruction, and how to get it.
It must be able to repeatedly give the same or similar results.
Please note that different OS'ses and versions of software can give different results on the same command!
U do need to know and remember this.
When u understand the single instruction or command, then try combining or stringing commands.
Here again remember commands can, may or may not interfere with each other and also react differently on different OS'ses and, or other versions of software or combinations there off (including other machines on the network may, when on or off, in or out, sometimes both, alter or give different results on the local machine you are working on).
Burnt my fingers many times.
NB: Try on one pc with a single OS in a fixed setup to be able to do or get concice or repededly the same results or outcome, before going to the next step.
With these simple steps u will be able to do anything on every type of system, new, old, even in another language than your own. Because U understand what U want and need to do.
Yes i can give the command to u ... but will u be able to give it over to another to use, or use it elswere?
Try to eliminate to many variables.
Be precise!
Enjoy what u are trying to do....happy hunting ;-)
Might be worthwhile to use option -d Don't wait for process to terminate (non-interactive). You will still get an error code for a fail and a process ID if it starts – Shaun Vermaak – 2015-10-25T17:09:16.680