-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
Description
Get-Command where
CommandType Name Version Source
----------- ---- ------- ------
Alias where -> Where-Object
Get-Command Get-Command
CommandType Name Version Source
----------- ---- ------- ------
Cmdlet Get-Command 7.3.9.500 Microsoft.PowerShell.C…
-
PowerShell의
Where-Object:Where-Object는 PowerShell 스크립트 언어에서 사용되는 것으로, 객체의 필터링 및 선택에 사용됩니다. 주로 PowerShell 스크립트나 명령어에서 데이터를 필터링하거나 선택하는 데 활용됩니다.
-
리눅스의
where명령어:- 리눅스나 유닉스 계열의 운영체제에서
where명령어는 특정 디렉토리 내에서 파일을 검색하는데 사용됩니다.where명령어를 사용하면 특정 파일이나 명령어의 경로를 찾을 수 있습니다.
- 리눅스나 유닉스 계열의 운영체제에서
따라서 이 두 명령어는 서로 다른 용도와 동작을 가지고 있습니다. PowerShell의 Where-Object는 데이터 필터링에 사용되며, 리눅스의 where 명령어는 파일 검색에 사용됩니다.