My scrapbook about anything which I learned or want to remember, Sometime about tech tips, thoughts and rambling. If you find anything useful don't forget to give thumbs-up :)

Breaking

Sunday, August 23, 2015

Linux Shell Script Scenario - 2




- Write a shell script to list the all server Users with details whether they are valid user or not and of they are valid user what is the home directory for them.



- Write a script that validates if there exist files that start with a pattern in a given directory. This should work like search as in Windows. 

- Write a script which will check for a given file in every 60 seconds in a given directory, if find, send us a mail else keep running. We do not want to set this script in crontab.


For more scenario -  CLICK HERE





No comments:

Post a Comment

Disclaimer

The postings on this site are my own and don't necessarily represent IBM's or other companies positions, strategies or opinions. All content provided on this blog is for informational purposes and knowledge sharing only.
The owner of this blog makes no representations as to the accuracy or completeness of any information on this site or found by following any link on this site. The owner will not be liable for any errors or omissions in this information nor for the availability of this information. The owner will not be liable for any losses, injuries, or damages from the display or use of his information.