Skip to content

Instantly share code, notes, and snippets.

@eaglerockdude
Created May 9, 2018 00:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save eaglerockdude/10925ea871091a20cbb4f0b52cbf6ea7 to your computer and use it in GitHub Desktop.
Save eaglerockdude/10925ea871091a20cbb4f0b52cbf6ea7 to your computer and use it in GitHub Desktop.
echo $PATH | tr ":" "\n" | nl
makes it easier to read
@eaglerockdude
Copy link
Author

echo $PATH | tr ":" "\n" | nl

@eaglerockdude
Copy link
Author

'tr' command translates any ":" to a new line, and "nl" numbers the lines...all piped up!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment