How Do I Create a Pl File in Linux?
Contents How Do I Run a Pl Script in Unix? 3 Answers Find the Interpreter/Executors Path. in This Case Its /Usr/Bin/Perl or /Usr/Bin/Env Perl. Add It to the...
Contents
How do I run a PL script in Unix?
3 Answers
- Find the interpreter/executors path. In this case its /usr/bin/perl or /usr/bin/env perl.
- Add it to the first line of the file as #!/usr/bin/perl .
- Give execute permission to the file chmod +x example.pl.
Must Read
How install PL file in Kali Linux?
pl extension is generally used for Perl scripts. Ensure the file is executable ( chmod +x vmware-install.pl ) then run ./vmware-install.pl or sudo vmware-install.pl if you are not in a privileged shell. If there is a properly written she-bang line it will run the script. If not, try sudo perl vmware-install.pl .