Making output stay on stdout

18 May 2010   0 comments   Linux

Mind that age!

This blog post is 10 years old! Most likely, its content is outdated. Especially if it's technical.

This is fairly obvious stuff I guess but it has troubled me for a long time. Some programs on Linux don't spit out their results to stdout. Instead they start a little program similar to less. So what is a console nerd to do?

Pipe it cat! I don't know why I've never thought of this before:

$ psql -l | cat


Your email will never ever be published

Related posts

New IssueTrackerProduct release 13 May 2010
Review: Django 1.1 Testing and Debugging 20 May 2010
Related by Keyword:
How I performance test PostgreSQL locally on macOS 10 December 2018
Best EXPLAIN ANALYZE benchmark script 19 April 2018
Show size of every PostgreSQL database you have 07 February 2018
Conditional aggregation in Django 2.0 12 January 2018
Connecting with psycopg2 without a username and password 24 February 2011