私が使用するときmore
、最も一般的にhelp
はを介して、特別なことを行う特定のキーがあります(コマンドをq終了する、下にスクロールするなど)。more
Enter
PowerShell自体にこれらのキーのヘルプを取得する方法はありますか、それともGoogleで検索する必要がありますか?
私が使用するときmore
、最も一般的にhelp
はを介して、特別なことを行う特定のキーがあります(コマンドをq終了する、下にスクロールするなど)。more
Enter
PowerShell自体にこれらのキーのヘルプを取得する方法はありますか、それともGoogleで検索する必要がありますか?
more
Powerhsellでは、次の定義を持つ単なる関数です。
param([string[]]$paths)
$OutputEncoding = [System.Console]::OutputEncoding
if($paths)
{
foreach ($file in $paths)
{
Get-Content $file | more.com
}
}
else
{
$input | more.com
}
したがって、コマンドラインで、次のテキストを使用してヘルプを実行および表示できるはずですmore.com /?
。これは、探しているものです。
If extended features are enabled, the following commands
are accepted at the -- More -- prompt:
P n Display next n lines
S n Skip next n lines
F Display next file
Q Quit
= Show line number
? Show help line
<space> Display next page
<ret> Display next line