Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Shell Script Interview Questions
Questions Answers Views Company eMail

In which variable prompt value is stored?

2 6476

When we login into our account which files are executed?

Chip Quest,

3 7644

whta is the use of "exec" command?

1 5860

what is "umask"?

Wipro,

6 20156

How to modify the PATH variable and make it executable?

Mind Tree,

3 9610

What are the different shells available?

3 7696

How to print some text on to the screen?

2 5587

How to take input values from the user?

4 7902

What are the different methods available to run a shell script?

2 8211

what are special characters and explain how does text varies by the usage of single quotes,double quotes and back quotes?

1 6300

How to include comments in your shell scripts?

3 7052

What is the need of including script interpreter in your shell script?

2 5587

What is "test"? How it is used in shell scripting?

2 6228

How to declare functions in unix shell script?

4 31385

What is the use of "shift" command in passing parameters?

1 7765


Post New Shell Script Questions

Un-Answered Questions { Shell Script }

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.

3057


How to redirect both standard output and standard error to the same location?

1116


What does $@ mean in shell?

972


What is c in shell script?

1028


What language is used in terminal?

943


What is shell geeksforgeeks?

1044


How do I read a .sh file?

1040


How do I debug a shell script?

1032


Write down the syntax of "for " loop

1042


What does echo $0 do?

927


What is a beat in a script?

998


What does the sh command do?

1034


Why is a script important?

990


What is sh in shell script?

967


write a shell script to emulate the Id command of PRIMOS which lists files and directories. It list files first with a header FILES and then directories with a header DIRECTORIES. This command has several options. The main ones are. -file select files only -dir select directories only -reverse sort in reverse order -no_header put no header on the output -brief output the header only -size display the size of each file -help display Id´s syntax and options.

2712