5
I have a vmware-install.pl file that I need to execute. I double click it but Linux will open it in a text editor for editing.
How to execute this file? Can it be done from GUI?
In file's properties says "allow executing file as program".
I have Fedora 18.
Update:
I managed to open the console and navigated to my folder.
I have poked:
chmod +x vmware-install.pl
vmware-install.pl
the last line says:
vmware-install.pl command not found...
but 'ls' lists the file there....
1It says: usr/bin/perl: bad interpreter: no such file or directory. – Ultralisk – 2014-09-04T10:13:44.470
Make sure that the first line in the file is
#!/usr/bin/perl
and not#!usr/bin/perl
-- in case you edited the file accidentally. – slhck – 2014-09-04T10:16:48.570no. I didn't touch the file – Ultralisk – 2014-09-04T10:17:59.557
I checked inside the file. the first line is: #!/usr/bin/perl -w – Ultralisk – 2014-09-04T10:19:20.073
Accepted. Continued here: http://superuser.com/questions/807162/perl-not-found
– Ultralisk – 2014-09-04T10:32:38.463