On 6/2/21 9:54 AM, Francisco Tissera wrote:
Hello everyone,
I'd like to thank both Ed and Poc for their input.
Ed, adding the -q option makes it... Too quiet, LOL!
Poc, what you suggested, is really useful, thanks, since you wrote
that any output can be customized to what I like.
How ever, I have another question:
Is there a way to make that grep permanent? or would I have to type
the command including grep every time?
Thanks again.
Best regards.
Francisco.
Hi Francsisco,
1. I would defiine an own Shell script piping the dnf output to grep
2. Or define an own alias or a bash function in your ~/.bashrc file or
similar which pipes the bash output to grep or
simillar, if you are using another shell
Regards
Joachim Backes
On 6/1/21 12:06 PM, Patrick O'Callaghan wrote:
On Tue, 2021-06-01 at 09:32 -0400, Francisco Tissera wrote:
Hello everyone,
I am currently using Fedora_linux 34, and I'd like to know, since I
have
been using this OS for over a month and a half, and I find DNF's
output
a bit... too much, if I could modify it somehow.
I'd like to modify how it outputs the installation of software.
For example, when the dnf install package name command is issued,
the
dependency check was done.
Can that line of output be suppressed in any way?
If not, that's fine, I'll get used to it, but still, it would be cool
if
it could.
Any help would be apriciated.
Anything that writes to standard output (or even standard error) can be
filtered on whatever criteria you like, typically using grep, e.g.:
$ sudo dnf update|grep -v "Last metadata"
Dependencies resolved.
Nothing to do.
Complete!
poc
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct:
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives:
https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it:
https://pagure.io/fedora-infrastructure
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct:
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives:
https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it:
https://pagure.io/fedora-infrastructure
--
Fedora release 34 (Thirty Four)
Kernel-5.12.8-300.fc34.x86_64
Joachim Backes <joachim.backes@xxxxxxxxxxxxxx>
https://www-user.rhrk.uni-kl.de/~backes/
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure