Shell Script Interview Questions
Questions Answers Views Company eMail

Why do we write bin bash in shell scripts?

539

What is shift command in shell script?

514

What is the first line in a shell script?

545

What is inside a seashell?

625

Is shell scripting useful?

585

What is sed in shell script?

560

What is the first line of a shell script called?

565

How does shell scripting work?

598

Can shell script run on windows?

554

Why do we use shell scripting?

536

What are the different types of shell scripting?

524

What shell is bin sh?

521

What is bourne shell scripting?

522

What are scripts in psychology?

581

How do scripts work?

598


Post New Shell Script Questions

Un-Answered Questions { Shell Script }

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

2961


determine the output of the following command: echo ${new:-variable}

533


Write a command sequence to find the count of each word?

524


What is $1 in shell scripting?

577


Explain about login shell?

622






When should shell programming/scripting not be used?

577


What does path stand for?

625


Calculate a real number calculation directly from the terminal and not any shell script.

645


What does it mean by #!/Bin/sh or #!/Bin/bash at the beginning of every script?

552


Why should we use shell scripts?

579


What are the different variables present in linux shell?

599


What is shell application?

558


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.

2590


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

2319


What are the advantages of shell scripting?

573