Command Line Tips & Tricks
| is Awesome
It's worth bringing up again, because it's such a simple program but has the potential for infinite possibilities.
The Unix philosophy is to do one thing and do it well, the
| hinges on this by redirecting the output of a program as the input of another.
This means, anything can be used by anything... :boom:
Forget npx, try this:
This hack makes anything in your
node_modules/.bin directory accessible to you as a runnable program based on your relative path. Meaning.. if you
npm install you can run them without using NPX or pathing to the bin directory every time.
This is a fantastic idea: https://tldr.sh/
For a person that got the whole "RTFM" thing in the past... this makes life a whole lot easier.
The Book of Secret Knowledge
This repository is not meant to contain everything but only good quality stuff.
There's A LOT of good quality stuff here for sure, checkout the one liners and shell-functions for example... but I might as well just share the entire thing. Here is a link to The Book of Secret Knowledge