need help with LINUX scripts

profilechris1234

Script #1

Create a shell script that searches all of your users home directories documents for words like bomb, kill, <your name>, quit, steal.  Have the script report to the screen the following information:  Username: smith, Line with bad word found: I want to kill, and Path and file name: /home/smith/letter.doc.  After you run the script the first time users files that  have used words with legitimate uses (kill the process) will no longer be flagged by your script.

 

Script #2

Create a shell script program that create a single group from all users in other specified groups.  

    • 9 years ago
    • 15
    Answer(0)
    Bids(0)