Re: basic bash help

From: Radoulov, Dimitre <cichomitiko_at_gmail.com>
Date: Fri, 27 May 2011 21:58:38 +0200
Message-ID: <4DE0026E.5030608_at_gmail.com>



On 27/05/2011 21:53, Radoulov, Dimitre wrote:
> On 27/05/2011 21:49, Maxim Demenko wrote:
>> On linux it can be done relatively simple this way:
>>
>> >cat whatami
>> #!/bin/bash
>> echo $(readlink -f $0)
>> >./whatami
>> /home/oracle/whatami
>>
>
> ... assuming readlink is available :)
>

Oops, sorry!
I just missed the first line (On linux ... ).

Regards
Dimitre

--
http://www.freelists.org/webpage/oracle-l
Received on Fri May 27 2011 - 14:58:38 CDT

Original text of this message