List of UNIX Shell Programming Shell Scripting Interview Questions Answers
List of UNIX Shell Programming Shell Scripting Interview Questions Answers
1. In shell scripting How to identify that the previous command was run successfully?
6. How many users have logged in and logged out in last five or 10 minutes
7. How do you search the string for vowel's occurrence and number of occurrences of
each vowel?
14. What are the steps to take files from UNIX server to windows?
15. How to find see the file which is created today’s date with time after 10 a.m. to 5
p.m.?
1. In shell scripting How to identify that the previous command was run successfully?
6. how many users have logged in and logged out in last five or 10 minutes
7. How do you search the string for vowel's occurrence and number of occurrences of each
vowel
14. What are the steps to take files from UNIX server to windows?
15. How to find see the file which is created today’s date with time after 10 a.m to 5 p.m?
16. What is the basic difference u find between a shell script and Perl? I mean the advantages of
one over
17. What is use of "cut" command? Give some examples. Can we use "awk" or "sed?"
18. How Connect to a Database in Shell Programming? Please tell me Step by Step?
20. Write a shell script to identify the given string is palindrome or not?
21. What is the difference between writing code in shell and editor?
26. If you have a string "one two three", which shell command would you use to extract the
strings?
27. What is the difference between a shell variable that is exported and the one that is not
exported?
28. How will you list only the empty lines in a file (using grep)?
31. What are the different kinds of loops available in shell script?