Shell Script Interview Questions
Questions Answers Views Company eMail

how is the oppurtunities for unix in the software

1 3265

How u convert string "hi pravin how are you?" to "Hi Pravin How Are You?"

Cap Gemini,

12 17713

wats the she bang statment with syntax?

3 5801

How shell works?

1 4272

Write a shell program to test whether a given number is even or odd?

8 59469

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.

Cap Gemini, Wipro,

1855

Write a shell script in Linux to shift all characters in a file forward by five characters. (Thus “a” becomes “f’”).

Ignou, Tripura Info,

2 7534

How to know that your remote server is ruing smoothly or not in unix?

1 4260

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.

1709

How many prompts are available in a UNIX system?

1 6876

How to replace following lines, catch (DAOException e) { objLogger.error(this.getClass () + "addUpdateIssues() " + e); throw new BOException(5122); } catch (BOException e) { objLogger.error(this.getClass () + "addUpdateIssues() " + e); throw e; } catch (Exception e) { objLogger.error(this.getClass () + "addUpdateIssues() " + e); throw new BOException(5122); } Needs to be changed in to, catch (DAOException e) { AppException.handleException (null, null, e, null, null, null, "BOException", this.getClass() + "addUpdateIssues() ", null, null, null, null, null, null, null, null, 5122); } catch (BOException e) { AppException.handleException (null, null, null, e, null, null, "BOException", this.getClass() + "addUpdateIssues() ", null, null, null, null, null, null, null, null, 0); } catch (Exception e) { AppException.handleException (null, null, null, null, null, e, "BOException", this.getClass() + "addUpdateIssues() ", null, null, null, null, null, null, null, null, 5122); }

Wipro,

1856

Please anyone suggest atleast 2 good training institutes in Hyderabad, INDIA where i can learn unix shell scripting.

1 4044

Where cron file kept?

Tech Mahindra,

2 6006

In a single command how do you run the previous command in the command prompt.

5 7213

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

1872


Post New Shell Script Questions

Un-Answered Questions { Shell Script }

I have to write Shells (Linux + Unix)for publishing packages and reports. Is it possible ? What are the differents executable programs ineed to call ?

1684


Explain about the exit command?

570


Is bash a shell script?

603


How do we delete all blank lines in a file?

577


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

3605






What does $0 mean in shell script?

560


What is the best scripting language?

565


Is shell script a programming language?

571


shell script for reverse the string

919


Write a shell script that adds two numbers if provided as the command line argument and if the two numbers are not entered throws an error message.

801


What is a shell script? Can you name some of its advantages?

525


How do I stop script errors?

575


What are different types of shell?

495


What language is shell scripting?

581


What is mac default shell?

614