Hello, I'm trying to run a bashscript from screen, but it does not work correctly, the file is never started with screen, command gets inserted into the .sh file.
What am I doing wrong?
Bash:
#!/bin/bash
while true
do
./file > ./logs/output.log
done;
What am I doing wrong?