Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Dereferencing a symlink...or that alike...



meino.cramer@xxxxxx writes:

> suppose I have the following symlink in my $HOME
>
>     etcetera -> /etc
>
> . Is there a way to get back "/etc" only (not the contents
> of /etc/. nor "etcetera") when doing a 'ls' or such?

$ readlink etcetera
/etc

Bye,
Tassilo



Messages sorted by: Reverse Date, Date, Thread, Author