Originally Posted by Ni3ls I get the error No such file or directory, while the files are there. Code: #!/bin/bash screen -S test /exectest.sh Both placed in same folder as from where I run the command Code: bash startexectest.sh Have you tried to execute it with 'sh'? Where did you place exectest.sh? In / (root) or home directory (~/exectest.sh)? Edit: if startexectest.sh and exectest.sh are in the same directory then you remove \ from your start script.
#!/bin/bash screen -S test /exectest.sh
bash startexectest.sh
Last edited by Mitch; 2nd September 2015 at 15:35.
Forum Rules