Raspberry Pi_Kor_10.7.1 “which” 명령 – 실행파일의 path name 확인

10.7 프로그램 실행 관련 명령

10.7.1 “which” 명령 – 실행파일의 path name 확인

“which” 명령은 시스템에서 특정 명령을 실행할 때 실제로 어떤 프로그램이 사용되는지를 알려준다. 실제로 시스템에는 여러 가지 프로그램이 여러 곳에 설치되어 있어서 실제로 어떤 위치에 있는 프로그램이 사용되는지 판단하기 어려울 때가 많다. 이럴 때 사용하는 것이 “which” 명령이다.

Raspberry Pi_Eng_10.7.1 “which” Command – Check Path Name of Executable File

10.7 Commands Related to Program Execution

10.7.1 “which” Command – Check Path Name of Executable File

The “which” command tells you what program is actually being used when executing certain command on the system. In fact, many programs are installed in many places in the system, so it is often difficult to judge which program is actually used. The “which” command is used in this case.