
systemctl --user enable 'foo*'
bash 명령줄에서 실행하면 성공하지만 동일한 줄을 쉘 스크립트에 넣고 실행하면 bash script
결과가 생성됩니다.
Invalid unit name "foo_*" was escaped as "foo_\x2a" (maybe you should use systemd-escape?)
Failed to enable unit: Unit file foo_\x2a.service does not exist.
내 systemctl
버전은 입니다 239
. 이 문제의 변형을 본 적이 있지만 일반적으로 Windows Return/Enter 문제를 중심으로 발생합니다(예) 별표 대신.