./a.out input.txt output.txt symlink.txt
File Reversed Symlink Created : YES Symlink Verified : YES Directory Created File Created : YES Task 2.3.1 (Directory Permissions) : rwx --- --- Task 2.3.2 (File Permissions) : rw- --- --- Task 2.3.2 (Symlink Permissions) : rwx rwx rwx Task 2.4 DONE
. ├── a.out ├── Assignment │ └── output.txt ├── input.txt ├── main.c ├── README.md └── symlink.txt -> Assignment/output.txt
Given a file, you need to reverse the contents of that file and invert the case of each English character in the file and store the result in a new file within a new directory named “Assignment”. The file and directory thus created, can only be read/written by the user who created it.
Create a symlink to the above created file in “Assignment/.."”(Directory where the original file is present).
Verify the creation of the symlink.
Verify the creation of the new file and new directory created in the above part of question.
Check permissions for the three files mentioned in the above point.
Check if the file created is reversed and case-inverted version of the input file.