Terminal use of Perl

EmilioM

New Member
Joined
Dec 2, 2022
Messages
4
Reaction score
0
Credits
37
I have the following information that I need to write in a Terminal

perl twpolmake.pl twpol.txt > twpol.txt.new
twadmin -m P -c tw.cfg -p tw.pol -S site.key twpol.txt.new

and my question is:
Do I have to write the first line and press enter and then write the second one and press enter or is only one line to be written like

perl twpolmake.pl twpol.txt > twpol.txt.new twadmin -m P -c tw.cfg -p tw.pol -S site.key twpol.txt.new
 


If the command doesn't work as a single line, you can try adding '&&' between the two commands. Like:

Code:
perl twpolmake.pl twpol.txt > twpol.txt.new && twadmin -m P -c tw.cfg -p tw.pol -S site.key twpol.txt.new
 

Members online


Top