!["cat" 명령의 Windows 버전을 구하시겠습니까? [폐쇄]](https://linux55.com/image/216405/%22cat%22%20%EB%AA%85%EB%A0%B9%EC%9D%98%20Windows%20%EB%B2%84%EC%A0%84%EC%9D%84%20%EA%B5%AC%ED%95%98%EC%8B%9C%EA%B2%A0%EC%8A%B5%EB%8B%88%EA%B9%8C%3F%20%5B%ED%8F%90%EC%87%84%5D.png)
이 스크립트의 Windows 버전을 원합니다.
cat name-of-APK.apk | openssl dgst -binary -sha256 | openssl base64 | tr '+/' '-_' | tr -d '='
어떻게 얻을 수 있나요?
답변1
PowerShell에는 -command가 있는 것 같지만 아래와 같이 cat
해당 명령의 별칭일 뿐입니다 (Get-Content
type
원천). 따라서 Windows 스크립트를 작성해야 한다면 PowerShell 스크립트를 배우는 것이 좋습니다.
Windows에서 *NIX 명령과 도구를 사용하려면 Cygwin을 선택하세요. Windows에서 직접 bash 셸을 실행할 수도 있습니다. 지침은 인터넷에서 찾을 수 있습니다.
답변2
실제로 cat
PowerShell( Cmd 의 별칭 Get-Content
) 또는 type
Cmd에서 사용할 수 있습니다.