Post #1427891
2026-03-23 14:34 UTC
@kagan Without seeing the script itself, two thoughts:
Make sure the script starts with a #! line, since that tells the OS what kind of script it is.
Since you mentioned being able to touch a file, write to a log file to see exactly where it is hanging:
#!/bin/bash
echo 0 >> mylogfile
(first line of code here)
echo 1 >> mylogfile
(second line of code here)
echo 2 >> mylogfile
(third line of code here)
...
Replies (1)
-
@andrew@mastodon.furrow.me 2026-03-23 14:56
@surefire @kagan if adding the shebang doesn’t fix it, can you try running it on another distro?