Unix remoting interview Q&A for Java developers

Q1 How will you delete files that are older than 7 days in a remote unix server?
A1 By ssh ing to the remote host server

Q2 How will you copy files from a remote server to a local server?
A2 By scp ing (i.e. secured copying) to the remote host server

Q3 What commands do you use to verify connectivity to remote host, service, etc?
A3 ping, telnet, wget, etc.

Q4 How will execute a unix script on a remote Unix host?
A4 ssh

Q5 How will you identify the ports that are already in use?
A5 netstat


300+ Java Interview FAQs

Tutorials on Java & Big Data