Can I get the absolute path to the current script in Korn Shell?
        Posted  
        
            by Brabster
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Brabster
        
        
        
        Published on 2009-04-17T11:51:07Z
        Indexed on 
            2010/04/25
            6:03 UTC
        
        
        Read the original article
        Hit count: 327
        
Is it possible to find out the full path to the script that is currently executing in Korn shell?
i.e. if my script is in /opt/scripts/myscript.ksh, can I programmatically inside that script discover '/opt/scripts/myscript.ksh'?
Thanks,
© Stack Overflow or respective owner