Tôi muốn thực thi một kịch bản shell:
-rwxr-x--x 1 root root 17234 Jun 6 18:31 create_mgw_3shelf_6xIPNI1P.sh
Tôi đã cố gắng làm một thủ tục tiêu chuẩn, nhưng tôi đã gặp lỗi này:
./create_mgw_3shelf_6xIPNI1P.sh
localhost 389 -l /opt/fews/sessions/AMGWM19/log/2013-06-06-143637_CLA-0
DEBUG cd/etc/opt/ldapfiles/ldif_in ;
./create_mgw_3shelf_6xIPNI1P.sh
localhost 389 -l /opt/fews/sessions/AMGWM19/log/2013-06-06-143637_CLA-0
**ERROR sh: ./create_mgw_3shelf_6xIPNI1P.sh: /bin/bash^M: bad interpreter: No such file or directory**
Nó có nghĩa là gì? Tôi đã làm điều này như là rootngười dùng trong rootnhóm.
Có nghĩa là tập tin không có quyền chính xác cho rootngười dùng?
dos2unixchương trình.