Shell Script Interview Questions
Questions Answers Views Company eMail

What are the three main forms of enabling debugging in a shell script?

Wipro, ADC,

6 8256

what is the difference between writing code in shell and editor?

1 6132

What is the basic difference you find between a shell script and perl?


3 15340

What is use of "cut" command?

3 6795

what is this line in the shell script do ?#!/bin/ksh

5 10281

How Connect to a Database in Shell Programming?


4 20373

write a shell script to identify the given string is palindrome or not?

CTS, HP, Wipro, IBM, InfoEst,

16 66499

What is INODE?

2 4547

What is the difference between a 'thread' and a 'process'?

3 4262

What are the Different types of shells?

5 5654

What does $# stand for?


3 6310

If you have a string "one two three", which shell command would you use to extract the strings?

5 8776

What is the difference between a shell variable that is exported and the one that is not exported?

6 7042

What is MUTEX?

1 4051

How do you schedule a command to run at 4:00 every morning?


5 10419

Post New Shell Script Questions

Un-Answered Questions { Shell Script }

c program the catches the ctrl-c(SIGINT) Signal for the first time and prints a output rather and exit on pressing Ctrl-C again


how to print the matrix form of 2-d, 3-d arrays in unix c shell scripts ?


wats the deinitions for shell utility and filter?


Explain how you Automate your application using Shell scripting.


what is info area how many types?


what is tickets $ what low,medium,high priorite pls define time also


on “sed” command EmpData(Sample Database) 1122|j.b. saxena |g.m. |account |12/12/52|6000 2233|n.k. gupta |d.g.m |sales |31/12/40|9000 4545|anil agarwal |director |account |06/07/47|7500 5656|lalit choudhury |executive|marketing|07/09/50|5000 1265|chanchal singhvi|g.m. |admin |12/09/63|6000 0110|shyam saksena |chairman |marketing|12/12/43|8000 5566|jai sharma |director |account |23/12/89|7000 7733|jayant |d.g.m |sales |29/02/70|6000 1. From the above database substitute the delimiter of first 3 lines with “ : “ 2. From the above database substitute the delimiter with “ : ” 3. Insert the string “ XYZ Employees” in the first line. 4. Store the lines pertaining to the directors, d.g.m and g.m into three separate files. 5. Using address store first 4 lines into a file Empupdate. 6. Find the pattern “account” in the database and replaces that with “accounts”. 7. Select those lines which do not have a pattern “g.m”. 8. Insert a blank line after every line in the database.


madhar chod unix ke 10 commands dhang se likh nahi sakta hai


write a shell script to check the failed jobs?


Hello all, This is my assignment on shell scripting, can anyone help me regarding this ? Create a shell script which connects to the database In second shell script include the first script for the DB connection Create a table (PRADEEP_DATA) with 2 columns (name, value) In Third shell script include the first script for the DB connection And insert/delete the values from the Table, by accepting input from the user This functionality should be a menu driven Program: 1) Insert to the database a. Name b. value 2)Delete from the database a.Name b.value Exception handling needs to be taken care.


Please give me example of " at command , contrab command " how to use


is this growing field and what is average package in this?


shell script for reverse the string


c program which behaves like a shell(command interpreter). it has its own prompt say "NewShell$".any normal shell command is executed from your shell by starting a child process to execute a system program corrosponding to the command


Devise a script that takes file name as arguement(which must present in the current directory)and locates from your home directory tree all thpath names of its links.Then mail the list to self.