Project Description:
Need someone to write 4 linux shell scripts for me this is the first one if you can do this send the script to me if it looks good ill give you the other 3 scripts.
Script 1
Ask for a username, and find all files in the username’s home directory that have been
modified 5 or more days ago. Copy these files to /tmp/username, where username is
replaced by the provided username. Then produce a compressed tar archive of these
files which is saved to the username’s home folder. The script should validate that this
user’s home folder exists, and act accordingly.