Skip to content

Commit a38d38d

Browse files
authored
Fix command markup to prevent localization errors (#11290)
1 parent 00b0f30 commit a38d38d

File tree

1 file changed

+17
-17
lines changed

1 file changed

+17
-17
lines changed

reference/docs-conceptual/learn/shell/using-aliases.md

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
description: This article describe how to use aliases in PowerShell.
3-
ms.date: 06/10/2024
3+
ms.date: 07/23/2024
44
title: Using aliases
55
---
66
# Using aliases
@@ -68,25 +68,25 @@ Set-Alias -Name cmpo -Value Compare-Object
6868

6969
## Compatibility aliases in Windows
7070

71-
PowerShell has several aliases that allow **UNIX** and **cmd.exe** users to use familiar commands in
71+
PowerShell has several aliases that allow **UNIX** and `cmd.exe` users to use familiar commands in
7272
Windows. The following table show common commands, the related PowerShell cmdlet, and the PowerShell
7373
alias:
7474

75-
| cmd.exe command | UNIX command | PowerShell cmdlet | PowerShell alias |
76-
| ------------------------------------- | ------------ | ----------------- | ----------------------------------------- |
77-
| **cd**, **chdir** | **cd** | `Set-Location` | `sl`, `cd`, `chdir` |
78-
| **cls** | **clear** | `Clear-Host` | `cls` `clear` |
79-
| **copy** | **cp** | `Copy-Item` | `cpi`, `cp`, `copy` |
80-
| **del**, **erase**, **rd**, **rmdir** | **rm** | `Remove-Item` | `ri`, `del`, `erase`, `rd`, `rm`, `rmdir` |
81-
| **dir** | **ls** | `Get-ChildItem` | `gci`, `dir`, `ls` |
82-
| **echo** | **echo** | `Write-Output` | `write` `echo` |
83-
| **md** | **mkdir** | `New-Item` | `ni` |
84-
| **move** | **mv** | `Move-Item` | `mi`, `move`, `mi` |
85-
| **popd** | **popd** | `Pop-Location` | `popd` |
86-
| | **pwd** | `Get-Location` | `gl`, `pwd` |
87-
| **pushd** | **pushd** | `Push-Location` | `pushd` |
88-
| **ren** | **mv** | `Rename-Item` | `rni`, `ren` |
89-
| **type** | **cat** | `Get-Content` | `gc`, `cat`, `type` |
75+
| Windows Command Shell | UNIX command | PowerShell cmdlet | PowerShell alias |
76+
| ----------------------------- | ------------ | ----------------- | ----------------------------------------- |
77+
| `cd`, `chdir` | `cd` | `Set-Location` | `sl`, `cd`, `chdir` |
78+
| `cls` | `clear` | `Clear-Host` | `cls` `clear` |
79+
| `copy` | `cp` | `Copy-Item` | `cpi`, `cp`, `copy` |
80+
| `del`, `erase`, `rd`, `rmdir` | `rm` | `Remove-Item` | `ri`, `del`, `erase`, `rd`, `rm`, `rmdir` |
81+
| `dir` | `ls` | `Get-ChildItem` | `gci`, `dir`, `ls` |
82+
| `echo` | `echo` | `Write-Output` | `write` `echo` |
83+
| `md` | `mkdir` | `New-Item` | `ni` |
84+
| `move` | `mv` | `Move-Item` | `mi`, `move`, `mi` |
85+
| `popd` | `popd` | `Pop-Location` | `popd` |
86+
| | `pwd` | `Get-Location` | `gl`, `pwd` |
87+
| `pushd` | `pushd` | `Push-Location` | `pushd` |
88+
| `ren` | `mv` | `Rename-Item` | `rni`, `ren` |
89+
| `type` | `cat` | `Get-Content` | `gc`, `cat`, `type` |
9090

9191
> [!NOTE]
9292
> The aliases in this table are Windows-specific. Some aliases aren't available on other platforms.

0 commit comments

Comments
 (0)