<< back to sysax.com Product page |
The getusername command can be used to get the username currently running the script.
Exhibit 15.5. Syntax of command for getting Getting username running the script
getusername <user variable>; |
An example is
Exhibit 15.6. Example for using the command for Getting username running the script
getusername ~currentuser; #get the username currently running the script |