[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] bash, full filename
- Subject: [ale] bash, full filename
- From: esoteric at 3times25.net (Geoffrey)
- Date: Sat Nov 29 18:47:37 2003
- In-reply-to: <[email protected]>
- References: <[email protected]>
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