help-bash
[Top][All Lists]
Advanced

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

ls head and gv


From: David Niklas
Subject: ls head and gv
Date: Fri, 28 Jul 2023 23:11:44 -0400

I used this command:
alias lgv="gv "$(ls -c *.pdf | head -n1)" &"

What I expected was the latest pdf document to be brought up in gv and gv
goes to the background.
What happens is that a semi-random pdf document is loaded into gv and gv
goes into the background.

Any ideas?

Thanks,
David



reply via email to

[Prev in Thread] Current Thread [Next in Thread]