mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
Update powershell-beginners-guide.md to add alias for Clear-Host (#7912)
This commit is contained in:
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
|
||||||
|
|||||||
Reference in New Issue
Block a user