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


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 keywords:
Connecting with psycopg2 without a username and password 24 February 2011
List of casts in PostgreSQL 09 May 2005
Javascript tip: nifty use of the console.log function in Firebug 07 November 2010
Kittenwar a clever way of voting 29 May 2005
Redirect stderr into becoming dots in Bash 02 September 2006
Running simple SQL commands on the command line 08 January 2005
Back from China 04 January 2006