Python Jupyter notebook에서 shell command에 반복문 (for loop) 사용하는 법
How to remove carriage return from a variable in shell script
https://stackoverflow.com/questions/15520339/how-to-remove-carriage-return-from-a-variable-in-shell-script
echo $testVar | tr -d '\r'
cat myscript | tr -d '\r'
'Tech > 리눅스' 카테고리의 다른 글
Slurm (0) | 2024.03.06 |
---|---|
SSH 접속 (0) | 2024.03.05 |
Failed to initialize NVML: Driver/library version mismatch (0) | 2023.11.05 |
Visual Studio Code Error: The Editor Could not be opened (0) | 2023.09.27 |