Making output stay on stdout

18 May 2010   0 comments   Linux

Mind That Age!

This blog post is 8 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:
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
Javascript tip: nifty use of the console.log function in Firebug 07 November 2010
Redirect stderr into becoming dots in Bash 02 September 2006
Related by Text:
Be very careful with your add_header in Nginx! You might make your site insecure 11 February 2018
jQuery and Highslide JS 08 January 2008
I'm back! has been renewed 05 June 2005
Anti-McCain propaganda videos 12 August 2008
I'm Prolog 01 May 2007