On Fri, 18 Nov 2016, Rich Shepard wrote: > On Fri, 18 Nov 2016, Paul Heinlein wrote: > >> You're still seeing only the symlinks. At some point, you'll hit real >> files. What does >> ls -l /bin/*awk* >> show? > > Finally reached bottom: > > $ ls -l /bin/*awk* > lrwxrwxrwx 1 root root 4 Mar 9 2014 /bin/awk -> gawk* > lrwxrwxrwx 1 root root 10 Mar 9 2014 /bin/gawk -> gawk-4.1.0* > -rwxr-xr-x 1 root root 580036 Jul 30 2013 /bin/gawk-4.1.0* > > Could have been simpler, no?
The realpath utility is good for that: [heinlein@hub ~]$ realpath /bin/sh /usr/bin/bash -- Paul Heinlein <> [email protected] <> http://www.madboa.com/ _______________________________________________ PLUG mailing list [email protected] http://lists.pdxlinux.org/mailman/listinfo/plug
