Q:
Terminal running .sh error: ***.sh: 2: set: Illegal option-
A:
solution: Remove trailing \r character that causes this error!
command:
sed -i 's/\r$//' filename
Read More:
- How to Solve hadoop3.x.x sh start-dfs.sh Startup Error
- [Solved] Vscode1.71.0 terminal error: `sed: illegal option — r`
- ./get_datasets.sh Error: permission denied [How to Solve]
- Mac error: SH: Vue cli service: command not found
- file_name.sh: 3: Syntax error: “(“ unexpected [How to Solve]
- [Solved] Virtualenvwrapper.sh error: There was a problem running the initialization hooks.
- Mac Error: sh: vue-cli-service: command not found
- start-all.sh Execute error: Stopping journal nodes [slave2 slave1 master]…
- How to Solve bootstrap.sh error during the construction of fabric environment
- [Solved] SHELL Run Error: “-BASH: ./TEST.SH: /BIN/BASH^M: BAD INTERPRETER: NO SUCH FILE OR DIRECTORY”
- [Solved] error converting to execution character set illegal byte sequence
- [Solved] jetson nano Error: Illegal instruction(core dumped)
- Error: (1, 1) java: Illegal character:’\ufeff’ [How to Solve]
- TensorRT model quantization error: Error Code 1: Cuda Runtime (an illegal memory access was encountered)
- [Solved] Springboot WARNING: All illegal access operations will be denied in a future release
- [Solved] Illegal access: this web application instance has been stopped already
- FTP 500 Illegal PORT command. ftp: bind: Address already in use [How to Solve]
- Implement base64_decode in GO language to solve the problem of illegal characters
- [Solved] mongoose Error: Error: `useCreateIndex` is an invalid option.
- GCC error: unrecognized command line option ‘-no-pie’