• Exercise 1
    1. Create a directory 'test'
    2. Without changing directories, (ie, from your home dir), create a file in the 'test' directory, 'file1' (empty file).
    3. Change into 'test'. Create a file, 'file2', with the contents 'Hello worllld'.
    4. Using input redirection, spell check 'file2' and output the mistakes to 'file2.typos'.
    5. Copy 'file2' to 'file2.copy'. Change the contents of 'file2.copy' to 'Hello world'.
    6. Spell check 'file2.copy'
    7. If there are no mistakes, rename ( mv ) 'file2.copy' to 'file3'. Spell check 'file3' and put the results in 'file3.typos'.
    8. Change permissions of typo files to read for owner, nothing for anyone else (-|r--|---|---)
    9. Change the owner of 'file1', 'file2', 'file3' to yourself (your username)
    10. Change the group of the typo files to yourself (your username)
    11. Add a few more lines to 'file3' with info about yourself, such as Name, DOB, hobbies, job, etc
    12. (Give yourself write permissions on file3.typos) Spell check 'file3' again, outputting to 'file3.typos'. Use tee, so you can see if you made any mistakes. If you did, go back to the previous step!
    13. Without leaving the 'test' directory, copy file3 to your home directory and name it 'file100'. Do this with a *relative* pathname.
    14. Repeat the previous step, using an *absolute* pathname, and name it 'file101'.
    15. Change back to your home directory
    16. Run 'diff file100 file101' and see if there is any output (there shouldn't be!!!)
    17. Read the man page for diff