
$tmux
tmux 세션의 인스턴스를 실행하고 열고 명령을 실행하려고 하면 ls
다음 오류가 발생합니다.
∆ ls
Command 'ls' is available in the following places
* /bin/ls
* /usr/bin/ls
The command could not be located because '/usr/bin:/bin' is not included in the PATH environment variable.
ls: command not found
답변1
tmux 호출 전후에 PATH를 확인하세요.
echo $PATH
그렇다면 당신의 ~/.bash_profile
현재를 초월하는 뭔가가 있을 것입니다 $PATH
.