• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

less command

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;
Find-Package pscx | Install-Package -Force
From TCC, create an alias for less;
alias less=`powershell -command less`
You can use less in a pipe, or give a filename as a paramater;
type test.txt | less
less test.txt
For help on less;
less --help
Top Bottom