Thanks for helping!
I did not create this file, jcb created that file. I tried to download it but it took me to another page and did nothing.
First time I copied and pasted using my win10 comp, pasted into padre. No luck.
Second time using my Ubuntu comp, I copied and pasted into bluefish, again same results.
Tried your suggestion, the following is from my Ubuntu terminal.
~$ dos2unix /home/cougarxr7/Perl/blueports.pl
dos2unix: converting file /home/cougarxr7/Perl/blueports.pl to Unix format...
~$ /home/cougarxr7/Perl/blueports.pl
bash: /home/cougarxr7/Perl/blueports.pl: Permission denied
The file is named blueports to let me know I used Bluefish.
Not sure what you mean with, "windows line ending"?
| [reply] |
"Not sure what you mean with, "windows line ending"?"
See Newline. when you've used dos2unix you need to set the permissions on the new file, adding execute as required. chmod +x blueports.pl. You'd also benefit from an introduction to the command prompt.
| [reply] [d/l] |
That file now runs! After applying "chmod +x blueports.pl"!
Thank you guys, and yes I will use searches when someone post something I never heard of!
| [reply] |