Nemo's bash challenge for the day

andrew at bishop.dropbear.id.au andrew at bishop.dropbear.id.au
Fri Mar 29 15:26:15 EST 2002


On Fri, 29 Mar 2002, Michael Still wrote:

> On Fri, 29 Mar 2002, David Price wrote:
[...]
> > I have a /bin/readlink which does some of what you want.  It looks
> > like it's in package "debianutils", so I'm not sure if it's available
> > on the majority of systems.  Also, it doesn't do exactly the same,
> > since it recursively follows symlinks - but I would guess that would
> > usually be what is wanted.
>
> My redhat 6.1 sparc box lacks it, my redhat 7.1 intel box does have it.

[The scene: A redhat 7.2 box somewhere far, far away]

[onceler at lerkim onceler]$  rpm -qf `which readlink`
tetex-1.0.7-38.2

Go figure.

Andrew





More information about the linux mailing list