4 ms·
> For example typing… set-location ~ > On PowerShell in Linux and… cd ~ > on Windows both send you to whatever your Home directory is. Is not it vi
by app4soft 4y ago
> For example typing…
set-location ~
> On PowerShell in Linux and…
cd ~
> on Windows both send you to whatever your Home directory is.
Is not it vice versa?
I mean, on Linux it is `cd ~` and on Windows `set-location ~`, no?
- rom-antics 4y agoThe point of that section was that those commands work the same everywhere. You can type both cd and Set-Location on both Linux and Windows and it will work.
- app4soft 4y agoIt written bad and is confusing reader, especially those who are not aware of how home . As for me, it would be better to clarify as next: > Under Linux and Windows both commands `cd ~` and `set-location ~` in PowerShell send you to whatever your Home directory is.
- majkinetor 4y agoNo. You can use both in pwsh on any OS.