Answer the question
In order to leave comments, you need to log in
How to output text?
There is a code:
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner input = new Scanner(System.in);
String text;
switch(input.nextLine()) {
case "$ help":
System.out.println("test");
break;
case "$ echo":
System.out.println("Test2");
break;
}
}
}
$ echo "hello world"
Answer the question
In order to leave comments, you need to log in
Hello!
If I understand you correctly, then you want to create a console application and pass command line arguments to it. So that, for example, when typing help, help is displayed, etc. To do this, you can usually use either - jcommander.org
As for the output, escape the quotesSystem.out.print("\"Hello\"");
Normal iron is on Mikrotik.
If you want good hardware, get your money ready
https://routerboard.com/RB2011UiAS-2HnD-IN
https://routerboard.com/RB951G-2HnD
Where is the bad hardware?
Mikrotik is weak. Alas. here recently began srach why the router on gigbit ports 200 megabit presses. all this is sad. besides there is no antivirus and other goodies. it is worth looking towards ZyXEL ZyWALL 110 www.insotel.ru/model.php?id=21021 . suitable solution. but goodies come as a separate subscription for 30 pieces per year.
and why if not a secret with kerio you dump? I tested 9.2.1. 64 bit kernel. began to work faster. before the purchase, they promised to start making their own routers and routers.
there is also a photogate www.fortimall.ru/FG-60D . but the anb have bookmarks on them. If you don't mind, you can take a look.
virtual machines have https://opnsense.org/ and Sophos UTM v9 hardware appliance
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question