Blog Archives

01: 14 Unix must-know interview Q&As

Q1 How do you remove the Control-M characters from a file? A1 Using the sed command that replaces Control-M with nothing

Note: The ^M is typed on the command…

03: Shell script interview Q&As for Java developers

Q1 How will you go about reading a CSV file as shown below?


SSH Login without password so that tasks can be automated via shell scripts


If “openssh-server” & “openssh-client” are not installed in say “hostA”, then install them in “hostA” using “apt-get” with “sudo” for actions with root user privileges.

Setting up passwordless connection

The aim is to connect from “hostA” as “userA” to “hostB” as “userB” without being prompted to enter the password for userB@hostB.…

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

Unix Sed commands for Java developers

sed (stream editor) is one of the powerful workhorse commands in UNIX. Recently I had to use it with “Git” and “Maven” to find text “SNAPSHOT” in all pom.xml files, and manually update them with a realease version like 1.0.2 without the suffix “SNAPSHOT”. Here is the command that I ran.…

Unix shell script to upload & download data between HDFS and edge node

In BigData projects relating to HDFS or AWS S3, it is common to have scripts that transfer or download data from HDFS to the local file system on an edge…

Unix tutorial with MobaXterm

Many industrial Java applications are developed om a WIN32 platfor, but run on a target platform, which is Unix based. If you are a beginner to Unix, and would like…

800+ Java & Big Data Interview Q&As

200+ Java & Big Data Tutorials