Shell Script Interview Questions
Questions Answers Views Company eMail

What are the different kinds of loops available in shell script?

3 8153

How do you read arguments in a shell program - $1, $2 ..?

4 9399

How would you replace the n character in a file with some xyz?

7 11987

When you login to a c shell, which script would be run first?

2 5734

How would you print just the 25th line in a file using smallest shell script?

4 12327

How will you list only the empty lines in a file (using grep)?

ANZ,

4 12679

How to customise the existing shell?

1 3998

What is the difference between a variable and value?

Sun Microsystems,

7 44122

How to customise the other shell?

Quest,

2 4975

What are environment variables?

2 6366

What are the advantages of bash over all other shells?

1 13441

How to change our default shell?

5 9391

How to create environment variables?What are the conditions for creating variables?

Infosys, Wipro,

1 5969

How to make userdefined variables to available for all other shells?

4 6288

What is Path variable?What is its use?

1 4869


Post New Shell Script Questions

Un-Answered Questions { Shell Script }

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

736


Is shell script a programming language?

740


What is inside a seashell?

866


How important is shell scripting?

760


What is the default ubuntu terminal?

820


Explain how you Automate your application using Shell scripting.

2064


Is shell and terminal the same?

797


What is in a script?

743


I have 2 files and I want to print the records which are common to both.

921


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.

1028


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

3203


Where is bash history?

682


Determine the output of the following command: name=shubham && echo ‘my name is $name’.

751


What is the best shell scripting language?

762


What is a shell made of?

738