Script Help
I'm trying to write a script to start multiple tomcat instances on a web server. Each app directory is owned by a separate user, for segregation. In order to start each properly, I need to be able to write something to read the owner of the folder, so I can sudo as that user to start/stop it properly. The issue is, I cna't find an easy way to read the owner of the folder, in the script.
|