Re: basic bash help

  • From: "Radoulov, Dimitre" <cichomitiko@xxxxxxxxx>
  • To: mdemenko@xxxxxxxxx
  • Date: Fri, 27 May 2011 21:58:38 +0200

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

Other related posts: