Re: Script help

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

 



On Fri, 2008-09-19 at 14:08 -0700, Dennis Kaptain wrote:
> 
> 
> > > Can anyone rattle this off of the top of their head?
> > 
> > `ls -t myfile*.txt | head -1` might work for you.
> > 
> > > 
> 
> ls -t by itself may give you more than one filename per line. 
> Use ls -t1
> that will assure you get only one file name output from head.


Thank you. I've tested and added your suggestion.

James

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux