Shell Script Interview Questions
Questions Answers Views Company eMail

What is meant by dos operating system?

570

What does path stand for?

631

What is scripting autism?

696

What does echo mean in scripting?

579

What is a batch file used for?

555

What is bash command used for?

577

What does it mean to debug a script?

567

What is a file basename?

585

What is an sh file?

551

What are filters explain sort with all the options available?

928

What does sh mean?

614

What is @echo off?

556

How do I run a bin bash script?

565

What is the purpose of scripting?

571

How do I run a .sh file?

609


Post New Shell Script Questions

Un-Answered Questions { Shell Script }

What is shell geeksforgeeks?

586


Differentiate between ‘ and ” quotes.

606


What is path in shell script?

633


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.

2602


How will you copy a file from one machine to other?

543






What is path variable bash?

566


Is shell a scripting language?

566


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

1870


What is $1 in shell scripting?

585


What are the zombie processes?

563


How to get the first line from a file using just the terminal?

592


Why do we use shell scripting?

545


I want to connect to a remote server and execute some commands, how can I achieve this?

568


How do we delete all blank lines in a file?

569


Is shell scripting easy to learn?

561