[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Suppress a "No such file” message when using the ls command
From: |
Richard Taubo |
Subject: |
Re: Suppress a "No such file” message when using the ls command |
Date: |
Mon, 30 Mar 2020 20:24:16 +0200 |
On 30 Mar 2020, at 20:05, Andreas Kusalananda Kähäri <address@hidden> wrote:
>>
>
> Since you have zsh installed, you may use that from bash:
>
> my_last_file=$(zsh -c 'print -nr -- *.pdf(.Nom[1])’)
Thanks, good to know!
This time I was working from a local machine with zsh installed, but the remote
machine “only” has bash. :-)
Richard Taubo