Blog Archives

14 Unix 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 line with ctrl+v and ctrl+M

Q2 How will you search for a property named “inbox”

Read more ›

Shell script interview Q&As for Java developers

Q1 How will you go about reading a CSV file as shown below? A1 Q2 How will you read and then write to another file? A2 Q3 How will you read the file and then write to another file with CSV data in different order? … Read more ›...

Top 10 Linux interview Q&As

Many production systems run on Linux systems, especially the Cloud infrastructure (i.e. AWS & GCP). Even Android uses the Linux kernel under the hood. So, it really pays to have a good knowledge of Linux. Q1. How do you check for open ports in Linux? A1. … Read more ›...

Java Interview FAQs

800+ Java Interview Q&As