Saturday, September 25, 2010

pipe a program into less

Programmer Question

Hello,



I'm taking the dive into setting up and learning git and at the same time learning bash. I'm trying to do something simple as view the help section of



$ git config



unfortunately, when I type that the output of the help goes off the screen. Doing some googling I found less to be the program I want to use to scroll.



I tried



$ git config | less



with no success. Any ideas? Thanks!



Find the answer here

No comments:

Post a Comment

LinkWithin

Related Posts with Thumbnails