Making output stay on stdout

18 May 2010   0 comments   Linux

Mind That Age!

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

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
Follow @peterbe on Twitter


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
Related by Keyword:
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
Related by Text:
CPU info 02 March 2004
Why didn't I know about machma?! 07 June 2017
hastebinit - quickly paste snippets into 11 October 2012
A neat trick to zip a git repo with a version number 01 September 2017
He must really hate C 17 March 2004