I pipe stderr from grep to /dev/null a lot because I do this sort of thing a lot. Is there a shortcut?

`grep myString * 2>/dev/null`
Follow

@fluffy

`cmd 2>&-` might work, but I don't think it has the same semantics. (Close the fd vs redirecting it into the void.)

Sign in to participate in the conversation
Qoto Mastodon

QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.