2014-02-13 13:13 GMT+01:00 Frank Murphy <frankl...@gmail.com>:
> 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
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org

Reply via email to