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?

Yahoo,

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?

Syntel,

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?

IBM,

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?

Wipro,

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

3882


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

2786


wats the deinitions for shell utility and filter?

1046


Explain how you Automate your application using Shell scripting.

1230


what is info area how many types?

1625






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

1109


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.

1741


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

2315


write a shell script to check the failed jobs?

3232


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.

1270


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

1721


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

1155


shell script for reverse the string

284


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

2690


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.

1052