Correctly record the command used for each command (2 points each)
20 pts
Total
20 pts
Instructions
Perform each of the tasks described below and record the command(s) used to complete each task in a text file.
In your home directory, create a file named "linktest".
Create a subdirectory named "lab4" under your home directory.
Create a hard link from the file named "linktest" to a file named "newlink" in your "lab4" directory.
Use the "ls -i" command to determine the inode numbers for "linktest" and "newlink".
Delete the file named "linktest" from your home directory. Does "newlink" still exist?
Create a file called "testit" in your home directory.
Change the permissions on the "testit" file so that it is executable by any user on the system using the standard method.
Change the permissions for testit again so that the owner of the file can read and execute it, but no one else has permission to read, write, or execute it using the standard method.
Change the permissions on the testit file again so that the user has write and execute and everyone else has only read using the octal method.
Change the permissions for the testit file one last time so that everyone (user, group, and other) has only read permission using the octal method.