Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

less command

Aug
1,929
70
In reference to "less" program...

Here's how to use the PowerShell Community Extension less command from TCC.

First, you need PowerShell, and the PowerShell Community Extensions, installed on your system.

To install the PowerShell Community Extensions, from the PowerShell prompt;
Code:
Find-Package pscx | Install-Package -Force

From TCC, create an alias for less;
Code:
alias less=`powershell -command less`

You can use less in a pipe, or give a filename as a paramater;
Code:
type test.txt | less
less test.txt

For help on less;
Code:
less --help

Joe
 
Back
Top