I am a newbie in scripting Perl program. Currently, I have a project that build an application using Perl but I don't have much experiences. So, could you all here please help me on this.
My tool/application: Can ssh to a server then issuing commands to get log files and verify them.
- ssh to a server address: firstname.lastname@example.org , pass: 123456
- issue "date"
- get outputs and push them into a variable @tmp. outputs like "Thu Oct 10 02:16:39 CDT 2019"
- then i will have a logic to verify them.
For now, I tried to find some guides on the Internet, but still confusing...
- Using which function to connect to a server, issuing commands and get output?
- How to build an application?
Also, please help to show me some links or video related.
Thank you very much!