Move pages under tldr, lint run.sh, update docs

This commit is contained in:
2024-02-21 13:58:43 +02:00
parent 3d653cc7e6
commit 2c475fa62d
4806 changed files with 36 additions and 35 deletions

38
tldr/windows/set-location Normal file
View File

@@ -0,0 +1,38 @@
---
syntax: markdown
tags: [tldr, windows]
source: https://github.com/tldr-pages/tldr.git
---
# Set-Location
> Display the current working directory or move to a different directory.
> This command can only be used through PowerShell.
> More information: <https://learn.microsoft.com/powershell/module/microsoft.powershell.management/set-location>.
- Go to the specified directory:
`Set-Location {{path o\directory}}`
- Go to a specific directory in a different drive:
`Set-Location {{C}}:{{path o\directory}}`
- Go and display the location of specified directory:
`Set-Location {{path o\directory}} -PassThru`
- Go up to the parent of the current directory:
`Set-Location ..`
- Go to the home directory of the current user:
`Set-Location ~`
- Go back/forward to the previously chosen directory:
`Set-Location {{-|+}}`
- Go to root of current drive:
`Set-Location \`