Re: find limit output to file

2014-02-13 Thread Bruno Wolff III
On Thu, Feb 13, 2014 at 07:47:21 -0500, Tom Horsley wrote: On Thu, 13 Feb 2014 12:13:27 + Frank Murphy wrote: So I can then run yum whatprovides How about go ahead and use the full paths and use rpm -q -f as the query? Note that -qf (as used in his original example) is the same as -q

Re: find limit output to file

2014-02-13 Thread Simon G.
2014-02-13 13:13 GMT+01:00 Frank Murphy : > If I run: > find /usr/lib/systemd /etc/systemd -name '*.service' > service-files > > How can I limit output to just foo.service, not full paths. $find /usr/lib/systemd /etc/systemd -name '*.service' -printf '%f\n' > service-files -- users mailing list

Re: find limit output to file

2014-02-13 Thread Frank Murphy
On Thu, 13 Feb 2014 07:47:21 -0500 Tom Horsley wrote: > On Thu, 13 Feb 2014 12:13:27 + > Frank Murphy wrote: > > > So I can then run > > yum whatprovides > > How about go ahead and use the full paths and use rpm -q -f > as the query? Was worried about dupe.service names ___ Regards Frank

Re: find limit output to file

2014-02-13 Thread Tom Horsley
On Thu, 13 Feb 2014 12:13:27 + Frank Murphy wrote: > So I can then run > yum whatprovides How about go ahead and use the full paths and use rpm -q -f as the query? -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.o