Exercise #1 Consider using a text editor of your choice, edit the file and write in the answers to the following questions. Use the "man" command to reference any of the named commands. When asked how to do something, write out the command you would use to do it: 1. Command to change your password? 2. Command to return to your home directory? 3. 'cp' commands to do the following: a) Copy the file 'foo' as 'bar': b) Make a copy of the directory 'dir1' and _all its contents_ as 'dir2': c) Copy all the files _in the current directory_ to the directory '~/.trash/': d) Copy a directory "foo" to "bar" preserving all the meta-information about the files: 4. How would you use "scp" to copy the directory "foo" to the home directory of "user" on the machine "host.indstate.edu"? 5. How would you rename the file "foo" to "bar"? 6. "ls" command to list ALL the contents of a directory in long format, sorted in reverse by last modification time? 7. How would you use "mkdir", in a single invocation, to make the sub-directory path "a/b/c" _in your home directory_? 8. "chmod" commands to do the following (assume filename is 'foo'): a) Make a file readable only by the owner and with no permissions for anyone else: b) Make sure that a file is readable by everyone, but w/o modifying the other permissions, whatever they may be: c) Make the file readable and writable by the user, readable by the group and no permissions for other: d) Make the file fully accessible by the user, no permissions for the group and readable by other: