Create .bat and .sh batch and shell for quick command line
These are example of the code that we can play around with. Let's say I need to to run php using a command line but everytime that I close to cmd (command Prompt) it just cleans again... you have to go to different directory. So this is why it's usefull to create a batch cmd line. Just copy paste the code below then just adjust the code.
@echo off REM D: REM cd xamppphp REM php d:xampphtdocsconsumerapplicationlanguagesourcesgenerate.php REM c:
And this is for linux, after login... the code below is of me to get quick svn update
#!/bin/bash cd /srv/www/htdocs/ sudo svn update