Maybe it's dumbest question in the world, but I seriously have problems with it and could use help. I am trying to run perl script on linux. It's a simple text editing script, nothing fancy. I googled for it and I found that I had to chmod +x
it and then just run myscript.pl
in the console. Since it's supposed to modify a text file I did myscript.pl > myfile.txt
after chmoding it
But it doesn't work. I get: bash: perl myscript.pl: command not found