[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ale] bash, full filename



David Corbin wrote:
> How can I take a filename (which may or may not be relative) and
> convert it to be a fully qualified filename, in bash?

type vi |awk '{print $NF}'

This will only work if it's in your path.  If not, you're going to have 
to use locate or find.

-- 
Until later, Geoffrey	esoteric at 3times25.net

Building secure systems inspite of Microsoft