Blog Archives
1 2 3

Bash script interview Q&As – 01: variables & arrays

A Bash script is a plain text file which contains a series of commands. It allows you to perform a series of actions. Bash scripting is an essential skill for …



Bash script interview Q&As – 02: variable or parameter expansion

This extends Bash script interview Q&As – variables & arrays Q01 How will you concatenate strings in Bash? A01 In Bash, when variables or strings are written one after another, …



Bash script interview Q&As – 03: conditional expressions

Q01 What is a conditional expression in bash? A01 A conditional in Bash scripting is made up of two things: a conditional statement and one or more conditional operators. if …



Bash script interview Q&As – 04: conditionals, command, &>, and $?

Q01 Can you explain the below code? temp.sh:



Bash script interview Q&As – 05: IFS & Read a file line by line

Q01 What is an IFS in Bash? A01 IFS is a special variable in Bash which is used to control the field separator for line parsing. By default, IFS is …



Bash script interview Q&As – 06: Running bash scripts, dot command & path components

Q01 How will you run a Bash script? A01 Bash scripts, like scripts written in other programming languages, can be run in a wide variety of ways. Permission to run …



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 …



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+ …



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 …



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 …



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 …



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 …



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



1 2 3

300+ Big Data Interview Questions - FAQs

300+ Java Interview Questions - FAQs

Tutorials on Java & Big Data