Issue
I have an easy script sh with this trivial content:
#!/usr/bin/bash
echo "Example sh"
When I execute the script with ./sample.sh I see correctly the echo value, but in the same folder script I see others file without extension named as d2utmpJvd8r6 for example, with the same content of sample.sh. How can avoid this situation?
thanks
Solution
I solved. The file was opening by another process, and when I try to manipulate it via the command dos2unix the system create a tmp file.
Answered By - Jonio Answer Checked By - Candace Johnson (WPSolving Volunteer)