From 4f134fc1978c21f93d8e0b565bffce91843ef9ce Mon Sep 17 00:00:00 2001 From: Andre van den Berg Date: Fri, 26 Oct 2018 18:29:24 +0200 Subject: [PATCH] Update powershell-beginners-guide.md to add alias for `Clear-Host` (#7912) --- docs/learning-powershell/powershell-beginners-guide.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/learning-powershell/powershell-beginners-guide.md b/docs/learning-powershell/powershell-beginners-guide.md index 695e4eabc7..a8346617c8 100644 --- a/docs/learning-powershell/powershell-beginners-guide.md +++ b/docs/learning-powershell/powershell-beginners-guide.md @@ -87,6 +87,7 @@ CommandType Name Alias cd -> Set-Location Alias cls -> Clear-Host +Alias clear -> Clear-Host Alias copy -> Copy-Item Alias dir -> Get-ChildItem Alias gc -> Get-Content @@ -96,7 +97,7 @@ Alias type -> Get-Content … ``` -As you can see `cls` is an alias of `Clear-Host`. +As you can see `cls` or `clear` is an alias of `Clear-Host`. Now try it: ```powershell