4 ms·
>a missing $ in a shell script moved everything to the file i I've always had anxiety when running a shell script, this is a perfect example of why
by artursapek 6y ago
>a missing $ in a shell script moved everything to the file i
I've always had anxiety when running a shell script, this is a perfect example of why
- noisy_boy 6y agoI always wrap the actual cp/mv/rm etc in echo first before actually running it e.g. running echo "mv $src i" first would have immediately highlighted the problem visually.