Answer:
mkdir homeworks // make a new directory called homeworks.
touch homework_instructions.txt //create a file called homework_instruction
sudo -i // login as root user with password.
chmod u+rwx homework_instructions.txt // allow user access all permissions
chmod go-wx homework_instructions.txt // remove write and execute permissions for group and others if present
chmod go+r homework_instructions.txt // adds read permission to group and others if absent.
grep POINTS homework_instructions.txt | ls -n
Explanation:
The Linux commands above first create a directory and create and save the homework_instructions.txt file in it. The sudo or su command is used to login as a root user to the system to access administrative privileges.
The user permission is configured to read, write and execute the text file while the group and others are only configured to read the file.