Write a separate script for each 1. Create User Accounts (Probably best run in VM) Take a filename as a parameter Contains usernames 1 per line Create a user account for each user Set a default password for the user Ask for the password from the user during the run 2. Batch Renaming Directory full of files Rename all of the files with a prefix given as a script parameter i.e. ./rename.sh Image Rename files with a number image01 image02 ... 3. Archiver Takes a directory as a script parameter Zip any file that hasn't been modified in over a week Use the find command and –mtime argument Name the new zip with the current date 4. Systeminfo Script Menu that asks which information the user would like to see User selects a choice ------------------ Menu: ------------------ 1. OS Info 2. Hostname 3. Network info 4. IP Address only 5. Users logged in 6. Disk Usage 7. Process list 8. Exit Enter your choice [ 1 - 8 ] Useful commands uname hostname netstat / ss ifconfig / ip who df
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here