Blog Archives
1 2

12 SSH interview Q&As

Q1. What is ssh?
A1. SSH is a secure protocol used for remotely connecting to Linux servers. For example, creating an ssh connection from your local laptop to an ec2 instance …



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



5 curl vs wget interview Q&As

Q1. What are the differences between curl & wget? A1. wget is a tool to download files from servers. It let’s you download files from an HTTP/HTTPS or FTP server. You …



Hidden Unix, Git & SVN config files

You need to use “ls -la” to list the hidden files in your home (i.e ~) directory. These config files are “.bashrc”, “.inputrc”, “.profile”, etc. In computing, a hidden folder or …



sed and awk to write shell scripts for Java developers

Q. How would you go about replacing a piece of a text or a phrase from 20,000+ web templates residing on a Unix file system? Even some candidates with 5+ years …



Shell script interview Q&As for Java developers

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



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 …



Unix – combining two or more files & output only a subset of columns

Unix is a very powerful tool to automate monotonous & manual tasks. Here is a real-life example for data engineers & software engineers. If you are not familiar with Shell scripting …



Unix – Convert csv to psv without removing commas within quotes

Unix is a very powerful tool to automate monotonous & manual tasks. Here is a real-life example for data engineers & software engineers. If you are not familiar with Shell scripting …



Unix – Working with SQL files

Q01 How will you go about to list all the table names used in a number of sql scripts for a given database say MY_DB_1?
A01 Let’s say you have a …



Unix history commands for Java developer productivity

When you are using Linux/Unix command line frequently, using the history effectively can be a major productivity boost. You can accomplish things with less typing. For example, you will be typing …



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 & awk commands in action

This extends sed and awk to write shell scripts for Java developers. sed & awk are very powerful tool for data engineers to transform text files. Here are a few examples. …



1 2

300+ Java Interview FAQs

800+ Java Interview Q&As

Top