Skip to content

Instantly share code, notes, and snippets.

@neumachen
Created January 19, 2018 16:41
Show Gist options
  • Select an option

  • Save neumachen/892a0388714e4901c8d119f843e39904 to your computer and use it in GitHub Desktop.

Select an option

Save neumachen/892a0388714e4901c8d119f843e39904 to your computer and use it in GitHub Desktop.
A command to skip the first line when using AWK
brew services list | awk '{if(NR > 1) print $1}' | xargs brew services stop
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment