Interview Questions Answers
Shell scripting basics
  
11. How do you search for a string inside a given file?
        grep string filename

12. How do you search for a string inside a directory?
        grep string *

13. How do you search for a string in a directory with the subdirectories recursed?
        grep -r string *

14. What's the conditional statement in shell scripting?
        if {condition} then … fi

15. How do you do number comparison in shell scripts?
        -eq, -ne, -lt, -le, -gt, -ge

Pervious6-10    Next16-20
College Project Ideas Jobs for Freshers
city night life Alphonso Mangos
bollywood movie quiz Sample Aptitude Questions
Aishwarya Rai quiz Sania Mirza Quiz