Update powershell-beginners-guide.md to add alias for Clear-Host (#7912)

This commit is contained in:
Andre van den Berg
2018-10-26 09:29:24 -07:00
committed by Aditya Patwardhan
parent 0e19042848
commit 4f134fc197
@@ -87,6 +87,7 @@ CommandType Name
Alias cd -> Set-Location Alias cd -> Set-Location
Alias cls -> Clear-Host Alias cls -> Clear-Host
Alias clear -> Clear-Host
Alias copy -> Copy-Item Alias copy -> Copy-Item
Alias dir -> Get-ChildItem Alias dir -> Get-ChildItem
Alias gc -> Get-Content 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: Now try it:
```powershell ```powershell