there were not much difficult questions
- delete files which are 30 days older
- How to check how much space certain process has occupied in memory
- if host is slow, what you will check
- what is shared memory
- what is IPC and its types
- how to run a script on remote host
- there is file with random alphabets on individual lines, calculate frequency of each alphabet (optimal way)
- there is file of 2GB something.gz you have to unzip it but host will not allow files more than 2GB, how will you extract this file in 5 parts
- there is table called teamA, which a colom of team names, write a query to create cricket schedule among these teams
- how to calculate how much space occupied by home directory
- how to run a script on remote server without copying script to that host
- write a script which takes input N, and returns true or false depending on below conditions
N=4
1-2-3+4=0
if any combination of + and - is giving zero then script should return TRUE.
- there is file which has customer records in below form
<Customer ID> <Current Plan> <History plan1> <History Plan 2> .. <History Plan N>
where Plan can be A,B,C
How to get all customers who are using plan C as current plan and in history they have used the same plan sometime back.