Skip to content

Instantly share code, notes, and snippets.

@SXHRYU
Created August 15, 2023 18:13
Show Gist options
  • Select an option

  • Save SXHRYU/2b41497991e6bb777532f9fb19db4584 to your computer and use it in GitHub Desktop.

Select an option

Save SXHRYU/2b41497991e6bb777532f9fb19db4584 to your computer and use it in GitHub Desktop.
pipe stderr to grep.
command 2>&1 >/dev/null | grep "line"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment