3 ms·
As a follow-up to that: It might seem basic but understanding pipes (the '|' symbol) is very useful! The pipe symbol 'sends' the output of one command to anoth
by aarongough 17y ago
As a follow-up to that: It might seem basic but understanding pipes (the '|' symbol) is very useful!
The pipe symbol 'sends' the output of one command to another. Examples:
tail -n 500 log/production.log | less (display the last 500 lines of your production logs one page at a time)
cat config/routes.rb | wc (count the number of words and lines in a config file)