curl https://packages.microsoft.com/config/rhel/7/prod.repo > /etc/yum.repos.d/microsoft.repo
yum -y install powershell
# pwsh
PowerShell 7.0.3
Copyright (c) Microsoft Corporation. All rights reserved.
https://aka.ms/powershell
Type 'help' to get help.
PS /root>
PS /root> New-Item -Path test.txt
Directory: /home/sigongweb
Mode LastWriteTime Length Name
---- ------------- ------ ----
----- 8/25/2020 9:40 AM 0 test.tx
끝