Update powershell-beginners-guide.md to add alias for Clear-Host
(#7912)
This commit is contained in:
parent
0e19042848
commit
4f134fc197
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue