How to configure jenkins to run under different user other then tomcat6 account. I configured it to run a bash script using: sudo -u ubuntu /opt/script NOTE: inside the script debug it using whoami and env I had problems with […]
Bash to run after linux installation
Bash script to run post installation of CentOS or RedHat. #/bin/bash # post installation script # # #set -x echo “. Post installation script” # # /etc/hosts # echo “. /etc/hosts” # # nozeroconf # echo “. removendo suporte a […]
windows shortcut commands
Some very helpfull shortcut commands for Microsoft Windows XP,2003 Windows Environment Commands %ALLUSERSPROFILE% -Open the All User’s Profile %HomeDrive% -Opens your home drive e.g. C: %UserProfile% -Opens you User’s Profile %temp% Opens -temporary file Folder %systemroot% -Opens Windows folder Tip: […]