Making output stay on stdout

18 May 2010   0 comments   Linux

Powered by Fusion×

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


Thank you for posting a comment

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
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
Back from China 04 January 2006
Kittenwar a clever way of voting 29 May 2005
List of casts in PostgreSQL 09 May 2005
Running simple SQL commands on the command line 08 January 2005